Articdive
|
105f2fdc7e
|
Use minestom-data to generate our enums.
|
2021-06-03 12:11:42 +02:00 |
|
TheMode
|
c105fcc339
|
Wait 20 ticks before removing player from the tablist
|
2021-05-31 21:01:28 +02:00 |
|
TheMode
|
6764d040c3
|
Fix FakePlayer not being removed from the tablist
|
2021-05-31 20:49:33 +02:00 |
|
TheMode
|
b8d1966ce4
|
Update client/server packets id
|
2021-05-31 20:09:08 +02:00 |
|
TheMode
|
6858690cc1
|
Use a static method to create the destroy entity packet
|
2021-05-31 18:53:57 +02:00 |
|
TheMode
|
b3692f4f3f
|
Delete outdated packets
|
2021-05-31 18:36:43 +02:00 |
|
TheMode
|
17fc62632d
|
Update most packets
|
2021-05-31 18:29:44 +02:00 |
|
TheMode
|
98ccde56fb
|
Add tickFrozen entity metadata
|
2021-05-31 18:05:01 +02:00 |
|
TheMode
|
e62a837bf0
|
Added custom block drag support
|
2021-05-29 00:58:40 +02:00 |
|
TheMode
|
ba892ced05
|
Added BlockHandler#handleContact
|
2021-05-29 00:55:24 +02:00 |
|
TheMode
|
41f769b8b2
|
Rename #getBlockId to #getId
|
2021-05-28 14:35:55 +02:00 |
|
Articdive
|
a95a89932e
|
Remove CustomBlock and fix some compiler errors.
|
2021-05-24 22:51:34 +02:00 |
|
Articdive
|
7d47f46261
|
PFBlockDescription & PFBlockObject
|
2021-05-24 13:52:19 +02:00 |
|
Arne Dalhuisen
|
1da372eb3b
|
Deprecation notice for callItemUpdateStateEvent(allowFood, hand)
|
2021-05-23 20:36:51 +02:00 |
|
Arne Dalhuisen
|
e3c41a254d
|
Added callItemUpdateStateEvent(allowFood, hand) overload, getEatingHand is now @Nullable
|
2021-05-23 20:19:46 +02:00 |
|
Arne Dalhuisen
|
8b79945992
|
Fixed eating particles when eating was cancelled by client
|
2021-05-23 16:46:29 +02:00 |
|
TheMode
|
333825c032
|
Cleanup...
|
2021-05-23 00:28:31 +02:00 |
|
TheMode
|
0a9fa31804
|
Merge pull request #275 from Minestom/respect-client-chat-settings
Respect client chat settings
|
2021-05-17 16:21:08 +02:00 |
|
TheMode
|
9e2d8bc408
|
Fix view being reset after velocity application
|
2021-05-16 23:57:42 +02:00 |
|
TheMode
|
c4b3e40225
|
Merge pull request #282 from Bloepiloepi/equipment-improvements
Equipment improvements
|
2021-05-16 11:55:04 +02:00 |
|
TheMode
|
b67e438ddc
|
Merge pull request #291 from Kebab11noel/fix/player-sync
Fix player sync
|
2021-05-15 21:25:45 +02:00 |
|
Németh Noel
|
3081ffbb00
|
Include the check
|
2021-05-15 21:11:48 +02:00 |
|
Németh Noel
|
e3d31f113a
|
Don't send scheduled sync to the player it self
|
2021-05-15 21:07:42 +02:00 |
|
TheMode
|
3bd389fb57
|
Merge pull request #149 from Minestom/authlib-removal
Stop using authlib
|
2021-05-15 07:53:35 +02:00 |
|
R0bbyYT
|
cd988f1271
|
Reset flying with elytra when the player is on the ground
|
2021-05-14 19:02:22 +02:00 |
|
R0bbyYT
|
34d428be10
|
Start with the elytra implementation
|
2021-05-14 18:35:09 +02:00 |
|
Arne Dalhuisen
|
00278881ee
|
Revert "Made EntityEquipEvent cancellable"
This reverts commit d72fb72e
|
2021-05-11 20:11:56 +02:00 |
|
Arne Dalhuisen
|
d72fb72e74
|
Made EntityEquipEvent cancellable
|
2021-05-11 17:05:16 +02:00 |
|
Arne Dalhuisen
|
ed010ff110
|
Renamed armorItem to equippedItem in EntityEquipEvent
|
2021-05-11 14:48:52 +02:00 |
|
Arne Dalhuisen
|
77ef5f7d42
|
Made EntityEquipEvent, replacing ArmorEquipEvent
|
2021-05-11 14:45:14 +02:00 |
|
Arne Dalhuisen
|
92d97c624f
|
Added isHand and isArmor to EquipmentSlot
|
2021-05-11 14:12:19 +02:00 |
|
Arne Dalhuisen
|
29b0f5448d
|
Moved EquipmentSlot out of equipment packet
|
2021-05-11 14:10:45 +02:00 |
|
TheMode
|
db8219d5ee
|
Remove unnecessary condition
|
2021-05-10 01:08:51 +02:00 |
|
TheMode
|
7deeb66089
|
Reintroduce updateChunks boolean
|
2021-05-10 00:51:35 +02:00 |
|
Németh Noel
|
b75a034b2d
|
Reintroduced two phase chunk sending
|
2021-05-07 02:24:28 +02:00 |
|
Németh Noel
|
de7241ef6c
|
Re-enable chunk unloading, corrected packet order
|
2021-05-07 00:54:38 +02:00 |
|
Kieran Wallbanks
|
2404f19fe2
|
Avoid NPEs when obtaining chat message type from player
|
2021-05-06 16:12:46 +01:00 |
|
Németh Noel
|
d360904f77
|
Fix different spawn pos check
|
2021-05-05 23:55:01 +02:00 |
|
Kieran Wallbanks
|
a9d2f4e8ca
|
Respect client chat settings
|
2021-05-05 18:21:38 +01:00 |
|
Németh Noel
|
2f1ada9a9f
|
Merge remote-tracking branch 'upstream/master' into position-cleanup
|
2021-05-05 18:26:57 +02:00 |
|
Németh Noel
|
3eb4981990
|
Removed redundant initial value
|
2021-05-05 18:25:20 +02:00 |
|
Németh Noel
|
7881cea36c
|
Wait for client settings
|
2021-05-05 18:11:24 +02:00 |
|
Németh Noel
|
bea622db0b
|
Only load spawning chunk before spawning the player
|
2021-05-05 17:48:57 +02:00 |
|
Kieran Wallbanks
|
009f7cb1da
|
Remove lazy initialisation of username component
|
2021-05-05 16:18:11 +01:00 |
|
Kieran Wallbanks
|
462397d102
|
Remove Named and Identified interfaces
|
2021-05-05 16:18:11 +01:00 |
|
Kieran Wallbanks
|
a16c8d3273
|
Use Component in NamedAndIdentified
|
2021-05-05 16:18:10 +01:00 |
|
Kieran Wallbanks
|
8d192fcb9c
|
Add NamedAndIdentified interface
|
2021-05-05 16:18:10 +01:00 |
|
TheMode
|
916650b4c8
|
Fix ghost item on respawn
|
2021-05-05 05:43:41 +02:00 |
|
Németh Noel
|
78937a6b0b
|
Updated javadoc
|
2021-05-05 00:48:29 +02:00 |
|
Kieran Wallbanks
|
2fdfce703d
|
Fix javadoc errors
|
2021-05-04 15:46:34 +01:00 |
|
TheMode
|
4ef101d5fe
|
Merge pull request #269 from Kebab11noel/position-cleanup
Position cleanup
|
2021-05-04 01:30:27 +02:00 |
|
TheMode
|
26224d6373
|
Fix build
|
2021-05-04 01:24:16 +02:00 |
|
TheMode
|
44c777395b
|
Merge remote-tracking branch 'Kebab11noel/position-cleanup' into position-cleanup
|
2021-05-04 01:21:03 +02:00 |
|
Németh Noel
|
1b059c5981
|
Inverted and renamed method parameter
|
2021-05-04 01:19:33 +02:00 |
|
TheMode
|
ef47e7e5b2
|
Merge remote-tracking branch 'Kebab11noel/position-cleanup' into position-cleanup
|
2021-05-04 00:59:26 +02:00 |
|
TheMode
|
748e3d7b39
|
Player#refreshVisibleEntities cleanup
|
2021-05-03 01:58:17 +02:00 |
|
Németh Noel
|
818251331f
|
Made #sendPositionUpdate(boolean) protected
|
2021-05-02 00:05:48 +02:00 |
|
TheMode
|
3f7e36ab8c
|
Merge remote-tracking branch 'Kebab11noel/position-cleanup' into position-cleanup
|
2021-05-01 04:38:51 +02:00 |
|
Németh Noel
|
f4c55dd4b2
|
Fixed javadoc
|
2021-05-01 04:38:28 +02:00 |
|
Németh Noel
|
78dc2b32cd
|
Removed isNettyClient field
|
2021-05-01 04:38:04 +02:00 |
|
Németh Noel
|
3abef8c9a7
|
Fix position update
|
2021-05-01 04:27:21 +02:00 |
|
TheMode
|
7a6763f73f
|
Merge remote-tracking branch 'Kebab11noel/position-cleanup' into position-cleanup
|
2021-05-01 04:06:38 +02:00 |
|
Németh Noel
|
dbd0c302d5
|
Fix player unable to move
|
2021-05-01 04:00:25 +02:00 |
|
TheMode
|
679baba570
|
Merge branch 'master' into position-cleanup
|
2021-05-01 03:49:24 +02:00 |
|
TheMode
|
3fa64d6b24
|
Fix entity synchronization on join
|
2021-05-01 03:46:13 +02:00 |
|
Németh Noel
|
66f1c8847d
|
Extracted position sending from Entity#tick and improved checks, also removed duplicate code from Player#update
|
2021-05-01 02:21:11 +02:00 |
|
Németh Noel
|
998d0d6f5c
|
Renamed method
|
2021-05-01 00:51:10 +02:00 |
|
Németh Noel
|
5e55c0199d
|
Moved cloning back into methods
|
2021-05-01 00:34:04 +02:00 |
|
Németh Noel
|
ea368876af
|
Merged Entity#sendSynchronization and Player#updatePlayerPosition to #sendTeleportPacket and increased scheduled sync delay
|
2021-05-01 00:05:49 +02:00 |
|
Németh Noel
|
fa8a499321
|
Merged individual position values to position fields
|
2021-04-30 23:01:43 +02:00 |
|
TheMode
|
79d936936e
|
Merge branch 'master' into acquirable
|
2021-04-26 16:15:42 +02:00 |
|
TheMode
|
b27e1fcf94
|
Added beta annotations
|
2021-04-26 14:53:47 +02:00 |
|
TheMode
|
c3f1b9159c
|
Unchecked cast for acquirable getter
|
2021-04-26 12:52:02 +02:00 |
|
TheMode
|
fd17a63f7c
|
Remove debug code
|
2021-04-25 09:50:48 +02:00 |
|
TheMode
|
4eaa15477b
|
Potentially fix cursor ghost item when opening a new inventory
|
2021-04-24 19:14:19 +02:00 |
|
TheMode
|
845a8608db
|
Simplify Acquirable, support for all objects
|
2021-04-24 18:14:12 +02:00 |
|
TheMode
|
26bd0dd43c
|
Added Acquired
|
2021-04-24 17:41:33 +02:00 |
|
TheMode
|
0462c8f9a7
|
Cleanup
|
2021-04-24 15:15:23 +02:00 |
|
TheMode
|
db2550f9ab
|
Merge branch 'master' into acquirable
|
2021-04-24 15:03:39 +02:00 |
|
TheMode
|
7d4e04bc66
|
Prevent potion effect filter when the list is empty
|
2021-04-24 15:03:27 +02:00 |
|
TheMode
|
99920a77ba
|
Use stream instead of a collection for current thread entities
|
2021-04-24 14:59:43 +02:00 |
|
TheMode
|
cf38103621
|
Merge branch 'master' into acquirable
|
2021-04-23 23:50:14 +02:00 |
|
TheMode
|
a671de1e01
|
Change addViewer0/removeViewer0 access to protected
|
2021-04-23 21:06:47 +02:00 |
|
TheMode
|
3035b3257d
|
Rename #getBatchThread
|
2021-04-23 13:49:27 +02:00 |
|
TheMode
|
cad488bb5d
|
Override Player#getAcquirable
|
2021-04-23 11:51:14 +02:00 |
|
TheMode
|
c24cc07b7c
|
Improve efficiency of entity chunk update
|
2021-04-23 10:17:42 +02:00 |
|
TheMode
|
9a5af9514e
|
The acquirable api is now only for entities
|
2021-04-23 10:01:17 +02:00 |
|
TheMode
|
0a837d2714
|
Renamed BatchThread.java
|
2021-04-23 09:58:52 +02:00 |
|
TheMode
|
defdbea29b
|
Added entity/player consumer for inheritance
|
2021-04-23 08:59:40 +02:00 |
|
TheMode
|
ef6f2ac5c9
|
Rename few methods
|
2021-04-22 16:59:42 +02:00 |
|
TheMode
|
297652c610
|
Remove generic Acquirable
|
2021-04-22 16:38:37 +02:00 |
|
TheMode
|
bd9cab5805
|
Remove AcquirableImpl.java, more comment
|
2021-04-18 16:50:06 +02:00 |
|
TheMode
|
1dbd3078c3
|
Fix incremental thread refresh
|
2021-04-18 11:53:38 +02:00 |
|
TheMode
|
e9f13d0a82
|
WIP dynamic chunk thread change
|
2021-04-18 06:29:44 +02:00 |
|
TheMode
|
2e4a443bec
|
Use multiple instances in the demo server
|
2021-04-18 02:35:17 +02:00 |
|
TheMode
|
7dd6aa2360
|
Separate PerChunkThreadProvider from PerInstanceThreadProvider, support arbitrary ThreadProvider#findThread number
|
2021-04-18 01:55:35 +02:00 |
|
TheMode
|
8123e839ec
|
Improve acquisition performance, fix current thread lock not being occupied
|
2021-04-17 23:51:23 +02:00 |
|
TheMode
|
23664292de
|
Simplify acquisition, reduce overhead
|
2021-04-17 14:22:47 +02:00 |
|
TheMode
|
a5df2376cf
|
Improve performance
|
2021-04-17 03:00:34 +02:00 |
|
TheMode
|
3b7353300d
|
Acquisition rework
|
2021-04-17 02:50:33 +02:00 |
|
TheMode
|
bd3e4e2f0a
|
Added Acquirable#currentEntities
|
2021-04-15 03:08:19 +02:00 |
|
TheMode
|
11b1bbea2e
|
Update entities thread
|
2021-04-15 01:44:08 +02:00 |
|
TheMode
|
c1b278f4b9
|
Fix merge, remove unnecessary methods (for now)
Signed-off-by: TheMode <themode@outlook.fr>
|
2021-04-14 20:09:49 +02:00 |
|
TheMode
|
683a6d35fa
|
Merge branch 'master' into tickable
# Conflicts:
# src/main/java/net/minestom/server/entity/Entity.java
# src/main/java/net/minestom/server/instance/DynamicChunk.java
# src/main/java/net/minestom/server/instance/Instance.java
|
2021-04-14 20:06:35 +02:00 |
|
TheMode
|
6ba336ee73
|
Added hand inside eat events
|
2021-04-13 22:59:40 +02:00 |
|
TheMode
|
cdaef2b4f0
|
Remove LivingEntity outdated TODO
|
2021-04-12 19:56:40 +02:00 |
|
TheMode
|
adfb487140
|
Fix entity currentChunk being null
|
2021-04-12 04:50:45 +02:00 |
|
TheMode
|
1d5262caf2
|
Merge branch 'master' into item-api
# Conflicts:
# src/test/java/demo/PlayerInit.java
|
2021-04-12 00:44:47 +02:00 |
|
TheMode
|
c7cd8c332a
|
Rename meta package to metadata to limit breaking changes
|
2021-04-11 19:13:50 +02:00 |
|
TheMode
|
3b37987f15
|
Remove dead line
|
2021-04-11 14:55:27 +02:00 |
|
TheMode
|
2da42cb8cb
|
Remove unnecessary chunk callback
|
2021-04-10 22:33:38 +02:00 |
|
TheMode
|
032343011a
|
Reduce map lookup when looping through surrounding custom blocks
|
2021-04-10 22:03:03 +02:00 |
|
TheMode
|
f5a21948c6
|
Reduce chunk lookup when switching
|
2021-04-10 21:57:33 +02:00 |
|
TheMode
|
c74946cc3c
|
Cache entity current chunk
|
2021-04-10 21:42:45 +02:00 |
|
TheMode
|
aaab620839
|
Reduce entity movement overhead (chunk lookup)
|
2021-04-10 21:21:37 +02:00 |
|
TheMode
|
be2d1db9e0
|
Merge branch 'master' into item-api
|
2021-04-10 19:37:36 +02:00 |
|
TheMode
|
0be4c6d8c7
|
More meta utils method, fix openBook
|
2021-04-10 18:55:26 +02:00 |
|
TheMode
|
e81c31f61b
|
Remove Ownership code
|
2021-04-10 17:47:45 +02:00 |
|
TheMode
|
ebbfe7868b
|
Prevent implicit cast from int to double
|
2021-04-10 06:11:43 +02:00 |
|
TheMode
|
1d12a5de95
|
Implement all meta
|
2021-04-10 05:53:40 +02:00 |
|
TheMode
|
e19af0377c
|
Merge branch 'master' into item-api
# Conflicts:
# src/main/java/net/minestom/server/item/ItemDisplay.java
# src/main/java/net/minestom/server/utils/binary/BinaryReader.java
|
2021-04-09 23:19:38 +02:00 |
|
TheMode
|
4c495f401d
|
Code cleanup
|
2021-04-07 18:35:19 +02:00 |
|
TheMode
|
093cce7242
|
Dependency update
|
2021-04-06 23:59:48 +02:00 |
|
Felix Cravic
|
e3867c659b
|
Merge branch 'master' into item-api
# Conflicts:
# src/main/java/net/minestom/server/item/ItemStack.java
|
2021-04-06 05:10:58 +02:00 |
|
themode
|
008b7fb223
|
Fix FishingHookMeta NPE
|
2021-04-05 20:55:51 +02:00 |
|
KrystilizeNevaDies
|
7a6fb4d601
|
Format FishingHookMeta + make owner not null
|
2021-04-06 04:43:19 +10:00 |
|
KrystilizeNevaDies
|
b1cfa3d9b2
|
make FishingHookMeta implement ObjectDataProvider
|
2021-04-06 04:39:47 +10:00 |
|
Kieran Wallbanks
|
785a0bb66c
|
Remove unnecessary cast attempts and instanceof checks
|
2021-04-04 14:10:06 +01:00 |
|
Kieran Wallbanks
|
7b4a072a78
|
Fix broken sendLegacyMessage functions
|
2021-04-04 14:06:23 +01:00 |
|
Konstantin Shandurenko
|
fdfd20e255
|
InventoryModifier to AbstractInventory and additional methods for inventories
|
2021-04-04 03:56:44 +03:00 |
|
Konstantin Shandurenko
|
e295ffea51
|
Switched to Cooldown object in attacking goals
|
2021-04-04 03:13:56 +03:00 |
|
Konstantin Shandurenko
|
3f184aad41
|
Path update cooldown for attacking entity goals
|
2021-04-04 02:56:02 +03:00 |
|
Lukas Mansour
|
e94aa522b7
|
Merge branch 'master' into authlib-removal
|
2021-04-03 11:55:42 +02:00 |
|
themode
|
d3fb364a7a
|
Better use of ItemStack#of
|
2021-04-02 23:41:06 +02:00 |
|
themode
|
a128d30b6b
|
WIP Item rework implementation
|
2021-04-02 18:13:02 +02:00 |
|
themode
|
d332855bc4
|
Renamed CooldownUtils to Cooldown
|
2021-03-31 19:17:37 +02:00 |
|
jglrxavpok
|
07ab4ac090
|
Most client packets are writtable, same for server packets and readability
|
2021-03-30 19:46:20 +02:00 |
|
jglrxavpok
|
43957805fd
|
Handshake and login packets, even more readable server packets
|
2021-03-30 19:42:40 +02:00 |
|
themode
|
3d2d3868a3
|
Use a ConcurrentHashMap to store viewable chunks
|
2021-03-30 01:50:36 +02:00 |
|
themode
|
0326bd1445
|
Increase the default chunk range
|
2021-03-29 11:01:32 +02:00 |
|
Kieran Wallbanks
|
d086d16fa1
|
Use EntitySoundEffectPacket in no location playSound method, fixes #194
|
2021-03-27 13:59:08 +00:00 |
|
themode
|
66ab1bb53d
|
Prevent Check#notNull from concatenating strings unnecessarily
|
2021-03-26 22:23:41 +01:00 |
|
themode
|
705f419f9d
|
Rename some internal-only methods
|
2021-03-26 21:31:57 +01:00 |
|
themode
|
55626738e2
|
Style cleanup
|
2021-03-26 21:26:35 +01:00 |
|
Kieran Wallbanks
|
b9e35d1cc7
|
Make Audiences static
|
2021-03-26 19:28:07 +00:00 |
|
Kieran Wallbanks
|
3628c42ef2
|
Rework boss bar system
|
2021-03-26 17:34:39 +00:00 |
|
Kieran Wallbanks
|
aa2d1f6397
|
Rename serializer and make static static
|
2021-03-26 17:34:39 +00:00 |
|
Kieran Wallbanks
|
bbfe83eeea
|
Use Audiences class instead of ConnectionManager
|
2021-03-26 17:34:39 +00:00 |
|
Kieran Wallbanks
|
658d07e8e4
|
Fix clearTitle
|
2021-03-26 17:34:39 +00:00 |
|
Kieran Wallbanks
|
4a0103a795
|
Move sound packet creation into AdventurePacketConvertor
|
2021-03-26 17:34:39 +00:00 |
|
Kieran Wallbanks
|
cfba291522
|
Make Player use SoundCategory#asSource
|
2021-03-26 17:34:39 +00:00 |
|
Kieran Wallbanks
|
03f092fa54
|
Rename Sound enum to SoundEvent
|
2021-03-26 17:34:38 +00:00 |
|
Kieran Wallbanks
|
63aaee698e
|
Rebase to master and fix complication issues
|
2021-03-26 17:34:38 +00:00 |
|
Kieran Wallbanks
|
96826e03d1
|
Cache player Identity
|
2021-03-26 17:34:38 +00:00 |
|
Kieran Wallbanks
|
1cc7867f9b
|
Exclude more checker-qual
|
2021-03-26 17:34:38 +00:00 |
|
Kieran Wallbanks
|
931d790702
|
Make player implement Identified
|
2021-03-26 17:34:38 +00:00 |
|
Kieran Wallbanks
|
52ce8027f2
|
Simplify component translation
|
2021-03-26 17:34:38 +00:00 |
|
Kieran Wallbanks
|
6dd3eb8044
|
Implement HoverSource for ItemStack, Entity and Player
|
2021-03-26 17:34:38 +00:00 |
|
Kieran Wallbanks
|
aea8a5f794
|
fix compilation issues
|
2021-03-26 17:34:38 +00:00 |
|
Kieran Wallbanks
|
327558c003
|
begin bringing packets back to use components
|
2021-03-26 17:34:38 +00:00 |
|
Kieran Wallbanks
|
35e057a638
|
prefer minestom enums over raw packet values
|
2021-03-26 17:34:38 +00:00 |
|
Kieran Wallbanks
|
c25dbaa936
|
swap utils to registry
|
2021-03-26 17:34:38 +00:00 |
|
Kieran Wallbanks
|
abae740cbc
|
fix javadocs
|
2021-03-26 17:34:38 +00:00 |
|
Kieran Wallbanks
|
3b0aa2d63b
|
Deprecate legacy chat functions
|
2021-03-26 17:34:38 +00:00 |
|
Kieran Wallbanks
|
522367dd78
|
Begin removing deprecated usages
|
2021-03-26 17:34:38 +00:00 |
|
Kieran Wallbanks
|
7351b9fdd3
|
Implement global translation system
|
2021-03-26 17:34:38 +00:00 |
|
Kieran Wallbanks
|
316ecbbf5a
|
Cleanup annotations and imports
|
2021-03-26 17:34:38 +00:00 |
|
Kieran Wallbanks
|
2c2f1b6cee
|
Implement playSound and openBook methods
|
2021-03-26 17:34:38 +00:00 |
|
Kieran Wallbanks
|
653859e784
|
Add SerializationManager
|
2021-03-26 17:34:38 +00:00 |
|
Kieran Wallbanks
|
f9ab109eb0
|
Fix player title overrides
|
2021-03-26 17:34:38 +00:00 |
|
Kieran Wallbanks
|
aff04c0e0d
|
Add boss bar implementations
|
2021-03-26 17:34:38 +00:00 |
|
Kieran Wallbanks
|
4f0944ba9f
|
Initial adventure implementation
- deprecate old text classes
- make CommandSender and Audience
- implement in ConsoleSender
- partially implement in Player
|
2021-03-26 17:34:38 +00:00 |
|
themode
|
6db1c34c50
|
Remove mention of deprecated class
|
2021-03-26 11:25:03 +01:00 |
|
themode
|
71f2e885a4
|
Remove unused field
|
2021-03-26 11:24:09 +01:00 |
|
TheMode
|
1b162c1139
|
Merge pull request #184 from kezz/viewable-defaults
Simplify Viewable packet sending
|
2021-03-26 09:23:42 +01:00 |
|
themode
|
c92a7873db
|
Only send velocity packet in #addViewer if required
|
2021-03-26 09:04:28 +01:00 |
|
themode
|
c6c720e0c7
|
Use concurrent map instead of copyonwrite set for player's viewable entities
|
2021-03-26 08:49:27 +01:00 |
|
themode
|
eb4a6baf8e
|
Use a thread safe Set for EntityCreature ai groups
|
2021-03-25 21:36:18 +01:00 |
|
Kieran Wallbanks
|
845f41b88a
|
Remove cast and instanceof check from Viewable#sendPacketToViewersAndSelf
|
2021-03-25 17:07:05 +00:00 |
|
themode
|
7cd2d1b896
|
Do not fill attributes by default
|
2021-03-22 15:20:24 +01:00 |
|
themode
|
169dbedea2
|
Fix entity head position, improve performance for Player#addViewer0
|
2021-03-22 14:54:52 +01:00 |
|
themode
|
b6d8dd9f73
|
Style cleanup + increase food saturation limit to 20
|
2021-03-21 19:47:22 +01:00 |
|
themode
|
9893bb72c8
|
don't send a close inventory packet when opening a new one
|
2021-03-21 13:38:25 +01:00 |
|
Eoghanmc22
|
8975161edb
|
use a ConcurrentHashMap key set instead of a CopyOnWriteArraySet for viewers so .contains() is O(1)
|
2021-03-19 22:50:28 -04:00 |
|
themode
|
c960bb297b
|
Remove unnecessary condition, prevent double chunk refresh
|
2021-03-16 05:16:11 +01:00 |
|
themode
|
8b0ab3d8c3
|
Fix lag spikes when loading the same chunks multiple times
|
2021-03-16 00:52:35 +01:00 |
|
themode
|
ae922529ea
|
Increase default chunk range to 3
|
2021-03-15 20:33:08 +01:00 |
|
themode
|
509f8f7851
|
Fix player not being directly disconnected after a kick
|
2021-03-14 21:34:38 +01:00 |
|
themode
|
4f2ec0a65f
|
Fix chunk coordinates not being properly calculated
|
2021-03-13 23:04:15 +01:00 |
|
themode
|
42318478a2
|
Changed metadata related classes access to public
|
2021-03-12 21:35:00 +01:00 |
|
themode
|
d6683932c8
|
Added PickupItemEvent#getItemEntity
|
2021-03-12 20:59:47 +01:00 |
|
themode
|
d91fcde798
|
Fix properties & equipments changes not being properly sent to viewers & self
|
2021-03-12 01:38:52 +01:00 |
|
themode
|
3ecace5bd6
|
Introduce the Tickable interface
|
2021-03-11 20:54:30 +01:00 |
|
themode
|
b155f3bca3
|
Deprecate Attributes, constants in Attribute should be used instead
|
2021-03-09 20:51:11 +01:00 |
|
themode
|
51facb9f14
|
Prevent modified clients from messing with the chunk range
|
2021-03-09 17:21:43 +01:00 |
|
themode
|
6a0582a950
|
Do not send all chunks on logging, wait for the settings packet instead
|
2021-03-09 07:08:35 +01:00 |
|
themode
|
a25e414754
|
Fix players being stuck on first connection when no respawn point is defined
|
2021-03-08 17:12:21 +01:00 |
|
themode
|
8ab29368a6
|
Fixed players being able to move during teleport
|
2021-03-08 16:49:16 +01:00 |
|
themode
|
2e17c8a8e1
|
Fix inventory not appearing after changing dimension
|
2021-03-07 23:18:32 +01:00 |
|
themode
|
b8e987f556
|
Fix player getting stuck after changing dimension
|
2021-03-07 22:22:04 +01:00 |
|
TheMode
|
9ea34fb668
|
Merge pull request #162 from RinesThaix/projectilesGravity
Fixing projectiles gravity
|
2021-03-07 15:09:47 +01:00 |
|
Konstantin Shandurenko
|
b9ec78b313
|
Removed explicit bounding box setup in EntityProjectile
|
2021-03-07 13:35:21 +03:00 |
|
themode
|
74d902b2a2
|
Remove player synchronization group, a better alternative will come up
|
2021-03-06 14:31:44 +01:00 |
|
Konstantin Shandurenko
|
51c627491a
|
Fixing projectiles gravity
|
2021-03-06 11:24:31 +03:00 |
|
Articdive
|
dbfb3f7ff4
|
Remove commons-codec dependency
|
2021-03-05 21:03:23 +01:00 |
|
themode
|
c253a27260
|
Added copy to clipboard message click event
|
2021-03-05 14:30:50 +01:00 |
|
themode
|
55179082e9
|
Remove final methods
|
2021-03-04 23:06:29 +01:00 |
|
themode
|
7c505ecc17
|
Do not deprecate Entity#setInstance
|
2021-03-04 16:43:10 +01:00 |
|
themode
|
25c2dc661f
|
Fix position yaw/pitch not being copied
|
2021-03-02 19:36:11 +01:00 |
|
TheMode
|
29a8542d3e
|
Merge pull request #129 from Minestom/improve-extension-system
Improve extension system
|
2021-03-02 18:22:21 +01:00 |
|
TheMode
|
3971777e56
|
Merge pull request #155 from RinesThaix/entities
Projectile improvements, custom entity position synchronization cooldown support
|
2021-03-02 13:38:50 +01:00 |
|
Konstantin Shandurenko
|
4be54651c6
|
Added javadoc for GoalSelectorsArrayList
|
2021-03-02 15:15:39 +03:00 |
|
Konstantin Shandurenko
|
0e027bc62f
|
Comments for CombinedAttackGoal
|
2021-03-02 14:58:32 +03:00 |
|
Konstantin Shandurenko
|
818299db74
|
CombinedAttackGoal
|
2021-03-01 19:47:29 +03:00 |
|
Konstantin Shandurenko
|
e1e546d9fa
|
EntityAIGroup typo fix
|
2021-03-01 16:52:19 +03:00 |
|
Konstantin Shandurenko
|
1ae2cf78af
|
Added support of custom entity position synchronization cooldown
|
2021-03-01 13:09:08 +03:00 |
|
Konstantin Shandurenko
|
de15c4b6c5
|
Rewriting projectiles
|
2021-03-01 12:59:16 +03:00 |
|
Konstantin Shandurenko
|
2b6a081c0d
|
Now devs have to explicitly instantiate EntityAIGroupBuilder
|
2021-02-28 20:07:34 +03:00 |
|
Konstantin Shandurenko
|
57e2bdb5d6
|
Slightly rewritten EntityAIGroupBuilder
|
2021-02-27 17:57:30 +03:00 |
|
Konstantin Shandurenko
|
20f581cc11
|
Merged with master
|
2021-02-26 06:58:12 +03:00 |
|
themode
|
e8e8022ec6
|
Fix pathfinding + cleanup
|
2021-02-25 15:48:48 +01:00 |
|
themode
|
7da3a16978
|
Fix connection loop
|
2021-02-25 15:35:31 +01:00 |
|
TheMode
|
77ed13abd9
|
Merge pull request #152 from RinesThaix/entities
EntityMeta
|
2021-02-25 15:30:35 +01:00 |
|
Konstantin Shandurenko
|
6192d1fead
|
removed duplicating code piece
|
2021-02-25 14:40:14 +03:00 |
|
Konstantin Shandurenko
|
23ee4c7fdf
|
Deprecated Entity constructors accepting spawnPosition and introduces Entity#setInstance(Instance, Position)
|
2021-02-25 13:56:10 +03:00 |
|
Konstantin Shandurenko
|
3c5b76c0a8
|
Tiny improvement for Entity#switchEntityType
|
2021-02-25 13:39:22 +03:00 |
|
Konstantin Shandurenko
|
e13bca1fdd
|
default scope to EAST case in EntitySpawnType.PAINTING
|
2021-02-25 13:37:40 +03:00 |
|
Konstantin Shandurenko
|
046ebc03f6
|
AbstractProjectile now extends Entity and not ObjectEntity
|
2021-02-25 13:07:55 +03:00 |
|
Konstantin Shandurenko
|
8ca43c4caa
|
Entity is not abstract anymore
|
2021-02-25 13:00:02 +03:00 |
|
Konstantin Shandurenko
|
8a57918fe9
|
LivingEntity is not abstract anymore
|
2021-02-25 11:39:37 +03:00 |
|
Konstantin Shandurenko
|
83c5d3c95f
|
Marked Entity#getEntityType as NotNull
|
2021-02-25 10:38:53 +03:00 |
|
Konstantin Shandurenko
|
18da3e0168
|
Moved switchEntityType from EntityCreature to Entity
|
2021-02-25 10:37:02 +03:00 |
|
Konstantin Shandurenko
|
ca6546eb7d
|
Removed obsolete metadata type values inside Entity
|
2021-02-25 10:00:29 +03:00 |
|
Konstantin Shandurenko
|
1308f81678
|
Switched all direct spawn packets interactions to EntityType#getSpawnType#getSpawnPacket
|
2021-02-25 09:15:51 +03:00 |
|
Konstantin Shandurenko
|
7db7dab4b9
|
EntitySpawnType initial commit
|
2021-02-25 08:59:55 +03:00 |
|
Konstantin Shandurenko
|
1115b829a1
|
EntityAIGroupBuilder
|
2021-02-24 13:38:42 +03:00 |
|
Konstantin Shandurenko
|
f8634171f7
|
Metadata#setNotifyAboutChanges
|
2021-02-24 13:28:23 +03:00 |
|
Konstantin Shandurenko
|
3f941d51bb
|
Fixed initial BoundingBox of Pufferfish
|
2021-02-23 20:04:30 +03:00 |
|
Konstantin Shandurenko
|
405390640b
|
Switched LivingEntity's explicit usage of metadata to LivingEntityMeta
|
2021-02-23 19:57:45 +03:00 |
|
Konstantin Shandurenko
|
60fcd43f18
|
Removed ParticleWrapper
|
2021-02-23 19:30:26 +03:00 |
|
Konstantin Shandurenko
|
c9f7ee5546
|
Renamed ParticleType back to Particle
|
2021-02-23 19:29:21 +03:00 |
|
Konstantin Shandurenko
|
6e950ab170
|
BaseEntityMeta is now an EntityMeta
|
2021-02-23 19:18:53 +03:00 |
|
Konstantin Shandurenko
|
692dcfed4c
|
Setting default entity BoundingBox from EntityType data
|
2021-02-23 18:41:24 +03:00 |
|
Konstantin Shandurenko
|
bbe143520e
|
A bit more changes to EntityMeta
|
2021-02-23 18:37:00 +03:00 |
|
Konstantin Shandurenko
|
eb274ce95e
|
Added default meta constructor to EntityTypes
|
2021-02-23 18:07:57 +03:00 |
|
themode
|
2843da6b26
|
Small comment cleanup
|
2021-02-23 15:11:21 +01:00 |
|
TheMode
|
ebed118ee2
|
Merge pull request #139 from LeoDog896/sound
Add Position PlaySound methods
|
2021-02-23 15:08:43 +01:00 |
|
Konstantin Shandurenko
|
237466c90e
|
Removed new entity classes and marked previously existing ones as deprecated
|
2021-02-23 16:10:14 +03:00 |
|
LeoDog896
|
f7fc7240f6
|
Reduce boilerplate in convience methods
|
2021-02-23 07:53:10 -05:00 |
|
Konstantin Shandurenko
|
0915858df3
|
Meta wrappers for all the entities
|
2021-02-23 15:11:10 +03:00 |
|