Commit Graph

1659 Commits

Author SHA1 Message Date
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
themode
501ed1f0b2 Dependencies bump 2021-01-03 15:13:54 +01:00
themode
317432460e Entity cleanup 2021-01-03 00:23:41 +01:00
TheMode
2152ef64cf
Merge pull request #96 from ThatCreeper/potion-api
Add Potion Add and Remove events
2021-01-03 00:14:21 +01:00
ThatCreeper
993b936e4e reorder imports 2021-01-02 17:12:38 -06:00
ThatCreeper
30868df243 Remove unused imports 2021-01-02 17:08:59 -06:00
ThatCreeper
30be7b5b81 Add Potion Add and Remove events 2021-01-02 16:59:17 -06:00
themode
dad642a6a2 Allow retrieving argument value using the argument object instead of the String id 2021-01-02 17:24:26 +01:00
themode
bfad3b8d7c Allow wrappers for Arguments by making the Map protected 2021-01-02 17:11:27 +01:00
themode
8155845c90 Fix AIOB exception when placing a block in y=256 2021-01-02 16:18:26 +01:00
themode
82631fc6f8 Comments for the optional argument support 2021-01-02 16:09:20 +01:00
themode
0faaea2c1b Added option to disable the grouped packet feature 2021-01-02 15:44:50 +01:00
themode
1c916b92fa Use offset constant 2021-01-02 13:16:02 +01:00
TheMode
1715de67d2
Merge pull request #95 from mworzala/double_click_oob
Inventory double click ArrayIndexOutOfBoundsException
2021-01-02 13:14:21 +01:00
Matt Worzala
dc4d7d63e2
fix formatting 2021-01-02 07:03:39 -05:00
Matt Worzala
720422c031
remove irrelevant comment 2021-01-02 07:02:39 -05:00
Matt Worzala
0b9b95e6cb
remove debugging code & use inventory offset constant 2021-01-02 06:51:21 -05:00
Matt Worzala
1f60330abe
Fix double click result handling 2021-01-02 04:40:24 -05:00
themode
4d2dd7d256 Fix javadoc build 2021-01-01 23:40:22 +01:00
themode
4f5847ff10 Little detail about FramedPacket 2021-01-01 23:37:20 +01:00
themode
4bf120b714 Added support for command syntaxes with optional arguments (default values) 2021-01-01 23:36:53 +01:00
themode
2ec727d5f8 Fix InventoryClickResult not using the proper items 2021-01-01 13:43:43 +01:00
TheMode
8d946b70ac
Merge pull request #93 from mworzala/less_component_restriction
Change ColoredText usages to JsonMessage
2020-12-31 23:25:21 +01:00
Matt Worzala
46ac38d5b3
Change ColoredText usages to JsonMessage 2020-12-31 13:53:21 -05:00
themode
2141792fcf Fixed math 2020-12-31 12:07:16 +01:00
themode
fd920ffdfe Potion cleanup 2020-12-31 12:05:36 +01:00
TheMode
4d8bd8430b
Merge pull request #92 from ThatCreeper/potion-api
Add a basic potion api
2020-12-31 11:57:52 +01:00
ThatCreeper
0ce094567b Fix most checkstyle warnings 2020-12-30 19:27:29 -06:00
ThatCreeper
c3d6af3afe make removeEffect send a packet
Make Potion immutable, and use long instead of Long
2020-12-30 19:07:07 -06:00
ThatCreeper
b1cab4ee05 Make /potion use TICK_PER_SECOND 2020-12-30 18:56:56 -06:00
ThatCreeper
c01b57ed9b removed scheduledPotions 2020-12-30 18:55:20 -06:00
ThatCreeper
fa41aabaed Make Potions use time instead of nanoTime 2020-12-30 18:47:43 -06:00
ThatCreeper
6a154eb15a Fix /potion demo command 2020-12-30 18:29:54 -06:00
ThatCreeper
d7883d29ff Rewrite Potions 2020-12-30 18:29:07 -06:00
ThatCreeper
50b44e46e0 Add PotionEffectManager 2020-12-30 17:12:03 -06:00