Commit Graph

278 Commits

Author SHA1 Message Date
themode
066b3dc417 Cleanup 2021-01-08 08:32:33 +01:00
themode
349364e15d Provide the proper dimensiontype in the JoinGamePacket 2021-01-07 04:21:34 +01:00
themode
0fa82aff1f Fix default dimension 2021-01-07 03:49:55 +01:00
themode
706a36b30a Fix dimension not being sent for the first instance & force dimensions to be registered in the manager 2021-01-07 03:46:58 +01:00
themode
4107c768a3 Fix test 2021-01-06 21:19:09 +01:00
themode
f5d550cda9 Fix attributes not being refreshed client side 2021-01-06 20:45:40 +01:00
themode
97a29c6ccf Player#setInstance cleanup 2021-01-06 19:06:37 +01:00
themode
6b39cb1e32 Execute the async login event before sending the login success packet 2021-01-06 19:02:35 +01:00
themode
47447706b0 Fix Player#kick ignoring the kicking text 2021-01-04 23:15:41 +01:00
themode
7019b7da85 Fix onGround field and gravityTickCount 2021-01-04 03:04:45 +01:00
Matt Worzala
46ac38d5b3
Change ColoredText usages to JsonMessage 2020-12-31 13:53:21 -05:00
themode
835a769080 Implement entity eye height based on boundingbox 2020-12-29 20:42:41 +01:00
themode
8b9836d82a Set Player eye height to 1.62 2020-12-29 18:12:25 +01:00
themode
8da6148152 PlayerInventory field in player is now protected, to allow unsafe modifications when extending the class 2020-12-29 16:42:07 +01:00
Matt Worzala
460b177866
Set player bounding box size to 0.6. 2020-12-28 14:16:43 -05:00
themode
87e8e550f1 Don't add players to the waiting list in the constructor, but in the registration method 2020-12-28 12:41:15 +01:00
themode
22aa9d01ed Do not size the string in sendPluginMessage 2020-12-28 10:40:50 +01:00
themode
28c5e39f8b Pre login event is now async 2020-12-27 22:16:19 +01:00
themode
557ec7ca83 Fix auto viewable during viewers refresh 2020-12-23 10:51:59 +01:00
themode
18eab183a0 Auto entity viewing cleanup 2020-12-23 10:40:50 +01:00
themode
b5feb35619 Added PlayerDeathEvent to change the death message/text 2020-12-22 05:26:37 +01:00
themode
943aae7397 Do not send gamemode related packets before the player spawn 2020-12-18 00:57:23 +01:00
themode
5224eecdd1 Event unification (type-specific event, CancellableEvent is now an interface) 2020-12-16 03:21:59 +01:00
themode
7750934a3f Small cleanup 2020-12-16 00:13:40 +01:00
themode
7bcca8ff9f Rename the walkingSpeed ability to fieldViewModifier, the movement speed attribute should be used instead for speed 2020-12-15 13:41:42 +01:00
themode
69adb67394 Compute the tags packet only once to improve performance on high connection traffic 2020-12-15 06:21:59 +01:00
R0bbyYT
a51e1a8484 See commit 4ae623cd, but without the Google code formatting 2020-12-13 23:31:37 +01:00
themode
2fa0f5a417 Revert "Fixes an issue when a player is in another team that this player is not showed in his team for other players"
This reverts commit 4ae623cd
2020-12-13 23:01:01 +01:00
R0bbyYT
4ae623cdab Fixes an issue when a player is in another team that this player is not showed in his team for other players 2020-12-13 15:00:48 +01:00
Felix Cravic
c8154b564f Fixed EntitySoundEffectPacket name 2020-12-12 05:52:03 +01:00
Felix Cravic
ac8ba3ab10 Fixed ItemDropEvent and PickupItemEvent constructor + changed PlayerInit event registration to use the global event handler 2020-12-11 04:34:08 +01:00
Felix Cravic
f7c05a445e Remove #copy 2020-12-09 21:34:53 +01:00
Felix Cravic
42cedf3fbf Use Guava to initialize concurrent linked queues 2020-12-08 09:36:19 +01:00
Felix Cravic
fec23a9783 Improve grouped packet performance 2020-12-08 09:13:22 +01:00
Felix Cravic
1f1bd348b5 Fix player teleport being teleported inside a block 2020-12-05 17:14:10 +01:00
Felix Cravic
59b4b7996d Do not retrieve all chunks when teleporting in the same chunk 2020-12-05 16:16:25 +01:00
Felix Cravic
f7753ab447 #showPlayer cleanup 2020-12-05 16:09:08 +01:00
Felix Cravic
d61a598c94 Prevent players being disconnected two times during a clean stop, also made shutdown tasks being executed in a single thread 2020-12-02 21:28:36 +01:00
KrystilizeNevaDies
936f7b9392 Add direct playSound variant 2020-12-03 00:08:09 +10:00
Felix Cravic
181f20289c Cleanup for the sound code, and comment for PlayerLoginEvent about not working player methods 2020-12-02 14:36:54 +01:00
Felix Cravic
d0ad143c0f Prevent dropping air 2020-11-29 16:41:56 +01:00
Felix Cravic
63196e024b Fixed EntityTeleportPacket being sent for every position fields modification and use a proper entity movement packet instead of velocity 2020-11-26 12:46:49 +01:00
Eoghanmc22
296d645400 Merge branch 'master' of https://github.com/Minestom/Minestom
 Conflicts:
	src/main/java/net/minestom/server/benchmark/BenchmarkManager.java
2020-11-25 11:29:50 -05:00
Felix Cravic
049e3b8495 Position in Player#setInstance can be null 2020-11-25 12:21:29 +01:00
Felix Cravic
ab73b0fa3e Player#setInstance can now take an optional Position parameter 2020-11-25 12:12:58 +01:00
Felix Cravic
7bbb095156 Fixed Player#setInstance not refreshing chunks when already in an instance 2020-11-24 22:56:12 +01:00
Eoghanmc22
a934df2af2 Merge branch 'master' of https://github.com/Minestom/Minestom 2020-11-22 08:59:52 -05:00
themode
2d7b4360c2 Fixed non-0 respawn point 2020-11-22 14:11:18 +01:00
themode
acc013be6a Fixed glitched chunks when teleporting a player + divided teleportation count by 2 during first join 2020-11-22 13:56:36 +01:00
Eoghanmc22
04fc38a14f Merge branch 'master' of https://github.com/Minestom/Minestom 2020-11-21 14:59:17 -05:00