Commit Graph

1688 Commits

Author SHA1 Message Date
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
themode
d4110632a4 Increase readability when using static fields instead of local ones 2020-12-30 20:30:48 +01:00
themode
23fc19430a Fix entity uuid map memory leak 2020-12-30 20:29:46 +01:00
themode
835a769080 Implement entity eye height based on boundingbox 2020-12-29 20:42:41 +01:00
themode
78ed12887d Implement client spectate packet 2020-12-29 19:58:40 +01:00
themode
a7a6210f65 Register ClientSpectatePacket 2020-12-29 19:50:29 +01:00
themode
8b9836d82a Set Player eye height to 1.62 2020-12-29 18:12:25 +01:00
TheMode
feab43a5f1
Merge pull request #89 from Nesaak/master
Add BlockIterator and LivingEntity#getTargetBlockPosition
2020-12-29 18:09:30 +01:00
Nesaak
ebea74f3c6 Remove unused import 2020-12-29 11:54:06 -05: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
jglrxavpok
817036fd87 Too many F, oops 2020-12-29 16:25:11 +01:00
jglrxavpok
997a76980f Fix ChunkBatch not deserializing properly block state IDs > 255 2020-12-29 16:17:27 +01:00
themode
3c871ed603 Fix NPE in CrossbowMeta 2020-12-29 15:16:51 +01:00
Nesaak
fd73cc1d23 Add BlockIterator and LivingEntity#getTargetBlockPosition 2020-12-28 20:24:03 -05:00
themode
718d787192 Makes the Pose enum public 2020-12-29 00:43:04 +01:00
themode
f7d1bd7e53 Merge remote-tracking branch 'origin/master' 2020-12-29 00:04:27 +01:00
themode
cecf6310ca Added Entity#setPose 2020-12-29 00:04:15 +01:00
TheMode
70c9068365
Merge pull request #87 from mworzala/list_typing
Minor list typing changes
2020-12-28 21:19:58 +01:00
Matt Worzala
071a2ce196
Change ArrayList types to List 2020-12-28 14:57:39 -05:00
TheMode
32b8d83ac9
Merge pull request #86 from mworzala/fix_player_size
Fix block placement when close to block
2020-12-28 20:23:53 +01:00
Matt Worzala
460b177866
Set player bounding box size to 0.6. 2020-12-28 14:16:43 -05:00
TheMode
f77ec96f25
Merge pull request #84 from Archy-X/master
Add onWrite method with CommandSender in CommandProcessor
2020-12-28 19:58:53 +01:00