Commit Graph

326 Commits

Author SHA1 Message Date
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
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
c6c720e0c7 Use concurrent map instead of copyonwrite set for player's viewable entities 2021-03-26 08:49:27 +01:00
Kieran Wallbanks
845f41b88a Remove cast and instanceof check from Viewable#sendPacketToViewersAndSelf 2021-03-25 17:07:05 +00: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
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
d91fcde798 Fix properties & equipments changes not being properly sent to viewers & self 2021-03-12 01:38:52 +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
74d902b2a2 Remove player synchronization group, a better alternative will come up 2021-03-06 14:31:44 +01:00
themode
25c2dc661f Fix position yaw/pitch not being copied 2021-03-02 19:36:11 +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
23ee4c7fdf Deprecated Entity constructors accepting spawnPosition and introduces Entity#setInstance(Instance, Position) 2021-02-25 13:56:10 +03:00
Konstantin Shandurenko
18da3e0168 Moved switchEntityType from EntityCreature to Entity 2021-02-25 10:37:02 +03:00
Konstantin Shandurenko
1308f81678 Switched all direct spawn packets interactions to EntityType#getSpawnType#getSpawnPacket 2021-02-25 09:15:51 +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
LeoDog896
f7fc7240f6 Reduce boilerplate in convience methods 2021-02-23 07:53:10 -05:00
themode
200b244224 Fix JSON string not being displayable using ColoredText, remove unnecessary fields in PlayerListHeaderAndFooterPacket 2021-02-21 16:49:25 +01:00
LeoDog896
4daa55d27e Add Position playsound methods 2021-02-19 18:43:35 -05:00
themode
06abbcb7fb Fix chunks being sent 2 times on first spawn 2021-02-19 13:52:27 +01:00
themode
1af8ea5303 Added comment about broken bedrock client skin using Geyser 2021-02-06 03:51:17 +01:00
jglrxavpok
8a992b3e45 New constructor to give UUID as argument in LivingEntity, now used to specify player UUID 2021-02-05 14:32:28 +01:00
themode
3026e46220 Added new metadata API 2021-01-30 04:44:44 +01:00
themode
c01736f863 Use doubles instead of floats to represent Position and Vector 2021-01-25 13:47:13 +01:00
themode
7de0067a13 Small utility methods for EntityRotationPacket 2021-01-22 21:28:33 +01:00
LeoDog896
78abfb9657 Make init function UNSAFE 2021-01-18 10:44:12 -05:00
LeoDog896
ac68c094ce Better keepalive and connection handling 2021-01-17 19:26:20 -05:00
LeoDog896
3b3a86a402 Prefer nullable over optional 2021-01-15 13:39:12 -05:00
LeoDog896
3536bdc856 Microoptimization cleanup
Just some small microoptimizations including preferring fastutils, Removing unnecessary checks already dealt with using @NotNull, all since I had extra unplanned free time.
2021-01-15 11:08:11 -05:00
Matt Worzala
ef35a39388
Add Player#openBook (#99) 2021-01-09 12:40:22 +10:00
themode
8871cf16c0 Don't default the permission level 2021-01-09 02:38:26 +01:00
themode
a6e5dbc60e Fix permission level to use the target selector 2021-01-09 02:20:55 +01:00
themode
8fef648221 Fix chunk packets from being wrongly sent when switching instance 2021-01-08 17:17:36 +01:00
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