Commit Graph

1894 Commits

Author SHA1 Message Date
themode
ac1fa4cb9e Fix selector variables list and use a switch 2021-01-09 01:13:44 +01:00
themode
8f99753235 WIP entity selector argument 2021-01-09 00:59:03 +01:00
themode
2c2a691af7 Registries#getEntityType should return null if invalid 2021-01-09 00:58:06 +01:00
themode
ef1afb9cd9 WIP EntityFinder 2021-01-08 23:47:31 +01:00
themode
8fef648221 Fix chunk packets from being wrongly sent when switching instance 2021-01-08 17:17:36 +01:00
themode
90006ac48d Prevent compression from blocking the thread too much 2021-01-08 16:20:04 +01:00
TheMode
57166b2d23
Merge pull request #98 from DerTyan/change-inventory-access-modifiers
Made some field in PlayerInventory protected for allowing usage in child classes
2021-01-08 14:49:27 +01:00
Tyan
c702e94937 Made some field in PlayerInventory protected for allowing usage in child classes 2021-01-08 12:29:59 +01:00
themode
066b3dc417 Cleanup 2021-01-08 08:32:33 +01:00
themode
35973c227e Attempt to prevent exception during first connection 2021-01-08 03:16:59 +01:00
themode
1c65b36087 Rework of ArgumentCallback to be more robust, allowing to simplify all argument types in order to be used out of the command framework for general parsing.
Also removed magic space string, replaced with constant from commons apache library
2021-01-08 03:07:37 +01:00
themode
d0e94f0ee5 Small demo update 2021-01-07 20:28:07 +01:00
themode
e4e564ab07 Add info in chunk comment about safe access 2021-01-07 16:51:10 +01:00
themode
d4f61eb152 Improve thread safety in Instance 2021-01-07 16:49:43 +01:00
themode
7c5bb7126a Added PlayerBlockPlaceEvent#setBlockData 2021-01-07 16:12:56 +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
cfe6178e46 Added "effects" support for DimensionType 2021-01-07 03:11:51 +01:00
themode
596b9eedb9 Don't ignore entity yaw in EntityCreature#addViewer 2021-01-07 02:30:46 +01:00
themode
709cc064e5 Added FIXME comment for future bugfix 2021-01-06 21:34:59 +01:00
themode
8d1dda74d0 Increase bpe to 15 as a temporary fix 2021-01-06 21:33:38 +01:00
themode
4107c768a3 Fix test 2021-01-06 21:19:09 +01:00
themode
84fd568c0c Fix attributes not being fully sent for the first player login 2021-01-06 21:09:27 +01:00
themode
459e65da72 Fix build 2021-01-06 20:49:31 +01:00
themode
f5d550cda9 Fix attributes not being refreshed client side 2021-01-06 20:45:40 +01:00
themode
d6a3b18f04 Fix bits per entry value during palette resize 2021-01-06 20:33:01 +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
deb8cab03a Remove unnecessary checks 2021-01-06 18:01:39 +01:00
themode
6c813e9c26 Made FramedPacket immutable 2021-01-06 03:18:55 +01:00
themode
7347c8df68 Prevent exception when connecting using an older client 2021-01-06 03:16:46 +01:00
themode
2634105ad1 ArgumentWord restrictions should be part of the correction instead of the condition 2021-01-05 21:54:17 +01:00
themode
9546caca04 Fix build 2021-01-05 18:16:44 +01:00
themode
852391f210 Fix packet listeners not being called if there is no default listener 2021-01-05 18:10:25 +01:00
themode
3a7ae11c56 Add CommandSender as param in onDynamicWrite 2021-01-05 18:04:28 +01:00
themode
45c148974e A bunch of client packets 2021-01-05 13:58:38 +01:00
themode
261d734740 Added all missing server packets 2021-01-05 13:44:14 +01:00
themode
388caefa34 Added BlockEntityDataPacket 2021-01-05 13:38:35 +01:00
themode
47447706b0 Fix Player#kick ignoring the kicking text 2021-01-04 23:15:41 +01:00
themode
0a0d19128c Added BlockManager#getCustomBlocks 2021-01-04 22:29:44 +01:00
themode
5c2b7f38f6 Update Hydrazine library 2021-01-04 21:37:34 +01:00
themode
640521e6dc Fix item hide flags and custom model data not being saved in the creative packet 2021-01-04 20:26:17 +01:00
themode
7019b7da85 Fix onGround field and gravityTickCount 2021-01-04 03:04:45 +01:00
themode
f2f9cbc5fa Prevent NPE when creating a Team without any entity 2021-01-03 23:01:41 +01:00
themode
f13646fd0d Allow null target in EntityCreature#setTarget 2021-01-03 22:42:15 +01:00
themode
edab21baa6 Allow null target in EntityCreature#setTarget 2021-01-03 22:41:50 +01:00
themode
c52b86822b Optimize equipment packet creation 2021-01-03 22:05:18 +01:00
themode
5ba68be4a1 Update equipments when clearing a player inventory 2021-01-03 21:59:58 +01:00
themode
765c5be642 Small synchronization optimization 2021-01-03 20:00:00 +01:00