Commit Graph

92 Commits

Author SHA1 Message Date
Felix Cravic
19fc90e764 Fixed Held packet + replaced the short by a byte 2020-06-23 18:09:01 +02:00
Felix Cravic
9dfb9b657b Added CommandSender#isPlayer and CommandSender#isConsole 2020-06-23 17:25:46 +02:00
Felix Cravic
f892213e8c Added a new Chat API 2020-06-22 23:25:00 +02:00
Felix Cravic
72234ac706 Added PlayerPreLoginEvent 2020-06-21 22:11:56 +02:00
Felix Cravic
eba5c5ae3a Added CommandSender and ConsoleSender 2020-06-21 14:01:03 +02:00
Felix Cravic
45e8ba2f03 Added EventHandler#removeEventCallback 2020-06-01 17:11:43 +02:00
Felix Cravic
7e20278dd9 Fix deadlock with ItemEntity + added ItemEntity#getMergeUpdateOption to mitigate CPU usage increase 2020-06-01 00:51:31 +02:00
Felix Cravic
7128844563 Resource pack cleanup 2020-05-31 20:09:42 +02:00
Felix Cravic
c17aba4ac7 Added Player#setResourcePack + PlayerResourcePackStatusEvent 2020-05-31 19:53:59 +02:00
Felix Cravic
eed946e948 Cleanup 2020-05-31 15:52:56 +02:00
Felix Cravic
30ef05183e Added more synchronization at death + added listener for teleport and window confirmation to remove warning 2020-05-31 00:39:56 +02:00
Felix Cravic
1bcd0c474f Added event comments 2020-05-30 22:32:12 +02:00
Felix Cravic
edb6db428e sync equipments only to the viewer to update instead of all 2020-05-30 21:56:12 +02:00
Felix Cravic
f887f21493 Cleanup with the ADD_PLAYER method 2020-05-30 19:51:45 +02:00
Felix Cravic
7ce6f7ada1 Added Player#setSkin and PlayerSkinInitEvent to modify it at initialization 2020-05-30 19:47:47 +02:00
Felix Cravic
3940eacde8 Attribute optimization + comments 2020-05-30 01:39:52 +02:00
Felix Cravic
1c3099f61a Entity & Player comments 2020-05-29 23:17:14 +02:00
Felix Cravic
29aae491d1 Minor optimizations 2020-05-29 17:20:30 +02:00
Felix Cravic
589079f8f6 Updated netty + fix network crash 2020-05-29 15:31:11 +02:00
Felix Cravic
eb5659c235 Optimize bandwidth + fix keep alive 2020-05-29 02:11:41 +02:00
Felix Cravic
7cd2d570bd Comments 2020-05-28 20:09:52 +02:00
Felix Cravic
dfd7ca84a4 Fixed player mining vanilla block 2020-05-28 19:29:29 +02:00
Felix Cravic
5e91b75d78 Comments 2020-05-28 19:15:55 +02:00
Felix Cravic
039e9aca4f Lot of comments 2020-05-27 20:30:13 +02:00
Felix Cravic
f5ddc66c43 Modified digging listener, added more clear exceptions and some comments 2020-05-27 19:43:08 +02:00
Felix Cravic
ef261c1792 Added WorldBorder#isInside + physics now support world border 2020-05-27 01:04:39 +02:00
Felix Cravic
224a8a3b86 Support for additional hearts in Player#damage 2020-05-26 23:15:09 +02:00
Felix Cravic
e6f38e2773 Added a bunch of entities + Player#additionalHearts 2020-05-26 22:53:58 +02:00
Felix Cravic
3be1173ab5 Small optimizations 2020-05-26 20:00:41 +02:00
Felix Cravic
182b6fbe1b Added Player#facePosition and Player#spectate 2020-05-26 18:25:35 +02:00
Felix Cravic
76f9a059b5 Update packets having a Chat component 2020-05-26 17:48:46 +02:00
Felix Cravic
8ef5a0b394 Moved the player init call 2020-05-26 16:14:52 +02:00
Felix Cravic
b797967151 Added Player#getDisplayName + some optimizations/improvements 2020-05-26 15:35:48 +02:00
Felix Cravic
14e9dcb811 Added LivingEntity#setArrowCount and fixed metadata during respawn 2020-05-25 20:32:47 +02:00
Felix Cravic
a962b83958 Fixed player death animation 2020-05-25 19:54:36 +02:00
Felix Cravic
e8a2c54485 More FakePlayerController features + fix with chunks and player food bar 2020-05-25 13:46:48 +02:00
Felix Cravic
6254ec93e9 Proper List#toArray array initialization 2020-05-25 12:25:39 +02:00
Felix Cravic
be31c4e03d Minor tweaks 2020-05-25 03:39:57 +02:00
Felix Cravic
9a7c07af65 Added some FakePlayerController features 2020-05-25 03:17:24 +02:00
Felix Cravic
30053c507b WIP FakePlayer system 2020-05-25 02:37:57 +02:00
Felix Cravic
e092eba4c1 Fix equipments synchronization and error with unloaded chunk 2020-05-25 01:12:12 +02:00
Felix Cravic
83449aecc9 Making PlayerConnection an abstract class 2020-05-25 00:29:37 +02:00
Felix Cravic
f8ff01349b Fixed Player#isFlying it is now properly synchronized with the client 2020-05-24 22:27:58 +02:00
Felix Cravic
e26ee1380a Fixed vehicles + added PlayerStartFlyingEvent & PlayerStopFlyingEvent 2020-05-24 22:21:38 +02:00
Felix Cravic
c73ec6f0d6 Fix ExperienceOrb#setExperienceCount with a proper updating client-side 2020-05-24 20:21:17 +02:00
Felix Cravic
b193c5f12a Lot of comments 2020-05-24 19:59:50 +02:00
Felix Cravic
c2d1a4f70a Fix synchronization issue with metadata + some comments 2020-05-24 19:22:58 +02:00
Felix Cravic
883e7eb80f Added Entity#isAutoViewable & making Viewable#addViewer and Viewable#removeViewer return boolean 2020-05-23 17:57:56 +02:00
Felix Cravic
97bd1ecdb1 Cleanup 2020-05-23 04:20:01 +02:00
Felix Cravic
f588d1103f Fix cursor item dropping when drop event is cancelled 2020-05-17 11:44:34 +02:00