Commit Graph

90 Commits

Author SHA1 Message Date
themode
0abedd7453 Optimization to prevent permanent map lookup 2020-11-14 09:02:29 +01:00
themode
da94942bad Created PermissionHandler 2020-11-14 07:06:46 +01:00
themode
1a8baf36f6 Prevent command override using CommandManager 2020-11-14 01:39:51 +01:00
themode
6e77bb8358 Improved demo commands clarity 2020-11-12 03:09:36 +01:00
themode
dde3430010 ArgumentRelative comment 2020-11-11 04:24:09 +01:00
themode
d520a0ebc4 Created ArgumentRelativeVec to prevent code duplication 2020-11-11 03:31:15 +01:00
themode
6cbe656b15 Added "semi-relative" location argument support 2020-11-11 02:11:28 +01:00
themode
78bf5dda05 Comments for the relative location arguments 2020-11-10 23:31:35 +01:00
themode
ad357d70fc Added ArgumentRelativeBlockPosition, ArgumentRelativeVec3 and ArgumentRelativeVec2 2020-11-10 23:16:35 +01:00
themode
3ddca82aaa Cleanup 2 2020-11-10 08:01:27 +01:00
themode
e583f21b74 Fixed client crashing when pinging with an older client 2020-11-09 03:21:18 +01:00
themode
a574c1fe2a Close the command scanner once stopped 2020-11-07 22:58:19 +01:00
themode
1d30e6e953 Use the Validator interface when possible for readability 2020-11-07 04:28:50 +01:00
themode
b2097a338d Added comments for Argument constructors 2020-11-07 03:45:25 +01:00
themode
66fc6779b6 Dynamic arguments now also have an optional dynamic restriction 2020-11-07 03:40:37 +01:00
themode
b296b103c1 CommandCondition command string can be null if a new command packet is built 2020-11-04 05:19:30 +01:00
themode
9781e380b9 Command syntaxes can now contain a CommandCondition 2020-11-04 04:45:46 +01:00
themode
b84bcde84d Fixed Argument#useRemaining creating an empty array 2020-11-03 23:31:26 +01:00
themode
96dcd0e27f Incredibly hard update to 1.16.4 2020-11-03 02:16:32 +01:00
themode
1c6070a1b2 Added an unknown command callback 2020-11-02 04:13:43 +01:00
themode
2e0c5a72b7 Added optional additional data in Permission#isValidFor 2020-11-02 02:53:12 +01:00
themode
6d29f955e4 More comments for the command API, Arguments methods are NotNull since id should not be decided at runtime 2020-10-30 18:43:14 +01:00
themode
872dccd7ce Small cleanup 2020-10-29 22:52:07 +01:00
themode
c887392a91 CommandDispatcher comments for maintenance purpose and fixed all code warnings 2020-10-29 19:51:10 +01:00
themode
384df073a8 Fixed synchronization issue when adding/removing scheduled tasks 2020-10-29 19:20:25 +01:00
themode
c8d1a30486 Improved Argument comments 2020-10-29 17:27:40 +01:00
LeoDog896
75f8396d32 Expose ArgumentWord restrictions as protected 2020-10-28 11:09:40 -04:00
themode
617d3cc89f Removed check for manager getters 2020-10-28 13:19:34 +01:00
themode
fb098fe4f9 Command arguments can be null 2020-10-28 02:42:40 +01:00
themode
907b10604b Fixed arguments values not being forwarded 2020-10-28 01:55:44 +01:00
themode
c3cfad22fc dispatcher will find the correct syntax with the most arguments count 2020-10-28 01:29:05 +01:00
themode
57e33c63a0 Allowing shared arguments being instanced multiple times 2020-10-28 01:14:05 +01:00
themode
d49ddc52b6 Nodes in command can now be shared with each other 2020-10-28 01:02:12 +01:00
themode
cb28fdc208 Annotations for data & command 2020-10-24 16:58:27 +02:00
themode
3cb880cf80 General cleanup 2020-10-22 12:55:53 +02:00
themode
b2e3d3e78d Use negative entity id for the custom breaking system 2020-10-19 11:56:26 +02:00
themode
ac362cf7ac Explanation for ResponseDataConsumer ang general comment cleanup 2020-10-17 13:24:18 +02:00
themode
3e4ccbe75a Usage sample for every Argument 2020-10-17 11:29:05 +02:00
themode
6217280466 Added ArgumentNbtCompoundTag and ArgumentNbtTag 2020-10-17 08:18:52 +02:00
themode
0b6a063311 Added support for CustomPotionEffect in PotionMeta 2020-10-16 16:32:57 +02:00
themode
512b30e9df Added ArgumentItemStack 2020-10-16 14:31:15 +02:00
themode
660a67e53e English fix 2020-10-15 21:16:31 +02:00
themode
59b03bf9ec Detailed explanation of Argument, and basic comments for CommandSyntax 2020-10-15 15:19:07 +02:00
themode
8d21352d5f CommandDispatcher internal comments 2020-10-15 14:36:21 +02:00
themode
50326b676c Added PotionEffect 2020-10-15 05:29:48 +02:00
themode
0e5831cdc3 Cleanup + typo fix 2020-10-13 12:49:29 +02:00
themode
cbe2a0b71e Comments 2020-10-12 02:56:30 +02:00
themode
5f7261cd6e Comments 2020-10-11 18:35:32 +02:00
themode
8badd5bb4d Fix invalid javadoc format 2020-10-11 17:05:02 +02:00
themode
e783d33767 Fix comment typo in Command 2020-10-11 15:42:22 +02:00