TheMode
|
5014cd7ba9
|
Merge pull request #143 from MrBretze/optifineFix
Added OptifineSupport.isEnabled()
|
2021-02-22 05:32:54 +01:00 |
|
Konstantin Shandurenko
|
e01a92c92c
|
Fixing armor equip with right clicking
|
2021-02-22 05:17:14 +03:00 |
|
themode
|
85a8396c9d
|
UUID & player name cannot contain space
|
2021-02-21 17:44:38 +01:00 |
|
themode
|
78e37258ed
|
Improve ArgumentEntity to support entity UUID & pre-check for player name
|
2021-02-21 17:43:30 +01:00 |
|
MrBretzel
|
f7ec0dbc1f
|
Added OptifineSupport.isEnabled()
|
2021-02-21 17:25:35 +01:00 |
|
ALS
|
fb6c51204b
|
getAsByte
|
2021-02-21 16:59:50 +01:00 |
|
ALS
|
12f0190f97
|
Revert AttributeSlot.parse(String string)
|
2021-02-21 16:56:06 +01:00 |
|
themode
|
200b244224
|
Fix JSON string not being displayable using ColoredText, remove unnecessary fields in PlayerListHeaderAndFooterPacket
|
2021-02-21 16:49:25 +01:00 |
|
themode
|
728107b0fe
|
Added convenient EntityFinder#findFirstEntity
|
2021-02-21 12:35:04 +01:00 |
|
ALS
|
b842f07c3c
|
Use getAsInt and getAsDouble
|
2021-02-20 23:54:25 +01:00 |
|
ALS
|
0f9a2b5b4f
|
Fixed a possible null for attributeSlot
|
2021-02-20 20:39:49 +01:00 |
|
ALS
|
01ff9e2123
|
Fix failed issue
|
2021-02-20 19:51:45 +01:00 |
|
themode
|
99be06f571
|
Revert to check shared command arguments
|
2021-02-20 19:18:28 +01:00 |
|
ALS
|
ac7ca6f8e4
|
Fixed somme read for NBT Tag to ItemStack
|
2021-02-20 17:35:02 +01:00 |
|
MrBretzel
|
2c45103b2c
|
Update Arguments.java
|
2021-02-20 15:43:22 +01:00 |
|
MrBretzel
|
1ad1f06e33
|
Adding has(Argument<T> argument) to Arguments.java
|
2021-02-20 15:31:30 +01:00 |
|
themode
|
bd840a868f
|
Improve optional argument support & client-side brigadier suggestion
|
2021-02-20 13:10:12 +01:00 |
|
themode
|
721f9abc08
|
FakePlayer now implements NavigableEntity
|
2021-02-20 09:15:08 +01:00 |
|
themode
|
a419d7eb3f
|
Add subcommand support for fast parsing & proper separation between logics
|
2021-02-20 08:59:15 +01:00 |
|
themode
|
06abbcb7fb
|
Fix chunks being sent 2 times on first spawn
|
2021-02-19 13:52:27 +01:00 |
|
themode
|
9ed3bd929c
|
Only flush when the channel is active
|
2021-02-17 05:12:43 +01:00 |
|
themode
|
590e6cb939
|
Add write water mark, reduce debug prints, update netty to latest
|
2021-02-17 05:03:31 +01:00 |
|
themode
|
16ad864c09
|
Disable TCP_NO_DELAY by default
|
2021-02-16 04:17:38 +01:00 |
|
themode
|
437afc28ff
|
Enable suggestion by default for ArgumentEntityType
|
2021-02-14 07:52:27 +01:00 |
|
themode
|
f1448c8c89
|
Renamed RelativeLocation#from
|
2021-02-14 00:31:49 +01:00 |
|
themode
|
beaf25ff47
|
Added convenient Arguments#has
|
2021-02-14 00:25:08 +01:00 |
|
themode
|
df2ee23a7c
|
ArgumentLoop cleanup
|
2021-02-13 08:43:38 +01:00 |
|
themode
|
e0d0c14933
|
Fix ArgumentLong and don't set default min/max for number arguments
|
2021-02-13 07:35:53 +01:00 |
|
TheMode
|
6c4454e9fb
|
Merge pull request #137 from LeoDog896/command
Enhance Command System
|
2021-02-13 06:28:54 +01:00 |
|
themode
|
1d64cafcf2
|
Move some CommandDispatcher methods
|
2021-02-13 00:34:25 +01:00 |
|
LeoDog896
|
367889a374
|
No magic strings in ArgumentString
|
2021-02-12 15:27:18 -05:00 |
|
themode
|
33a26b80f5
|
Added CommandData#has and allow #set chaining
|
2021-02-12 08:34:05 +01:00 |
|
themode
|
c9ab710be2
|
Fix argument callback being overridden
|
2021-02-12 05:24:40 +01:00 |
|
themode
|
efd2dbc021
|
Fix command argument sharing
|
2021-02-12 04:34:37 +01:00 |
|
KrystilizeNevaDies
|
427632d29b
|
Use primitives in BlockBatch#flush
|
2021-02-12 11:34:45 +10:00 |
|
LeoDog896
|
2f99567edf
|
Use slf4j logger instead of direct print
|
2021-02-11 20:18:02 -05:00 |
|
KrystilizeNevaDies
|
ee8815d2f8
|
Add shouldLoadChunks in BlockBatch#flush
|
2021-02-12 10:37:53 +10:00 |
|
themode
|
5610b1a72a
|
Added ArgumentLoop parsing
|
2021-02-12 00:25:12 +01:00 |
|
themode
|
84da72d798
|
Fix command aliases + cleanup
|
2021-02-12 00:00:44 +01:00 |
|
themode
|
f0105d7058
|
Added WIP ArgumentLoop (no parsing yet)
|
2021-02-11 20:36:02 +01:00 |
|
themode
|
f639ac83f7
|
Rewrite of the command nodes creation
|
2021-02-11 06:37:09 +01:00 |
|
themode
|
ab9ddebfea
|
WIP ArgumentGroup nodes, renamed NodeMaker#addNodes
|
2021-02-11 05:08:49 +01:00 |
|
themode
|
b34b490504
|
Added ArgumentGroup parsing, WIP nodes
|
2021-02-11 04:47:48 +01:00 |
|
themode
|
e9d91fd21e
|
Separate the dispatcher from the parsing algorithm
|
2021-02-11 04:18:19 +01:00 |
|
themode
|
86908fbd0e
|
Remove Argument redirect API (should use NodeMaker instead)
|
2021-02-11 03:09:00 +01:00 |
|
themode
|
053ef06ee1
|
Cleanup (moved some packet methods to DeclareCommandsPacket) and added CommandResult#getInput
|
2021-02-11 03:00:13 +01:00 |
|
themode
|
1a2fd4f743
|
Added NodeMaker + ArgumentCommand
|
2021-02-11 02:51:42 +01:00 |
|
themode
|
601ee71744
|
Fix invalid argument being considered as "successful" execution
|
2021-02-11 01:45:35 +01:00 |
|
themode
|
779490064e
|
Root node should be at index 0 (to facilitate the future ArgumentCommand)
|
2021-02-11 00:58:10 +01:00 |
|
themode
|
dffb90e1b4
|
Fix CommandDispatcher#findCommandResult never returning null, + cleanup
|
2021-02-11 00:33:55 +01:00 |
|
themode
|
266c4d9bed
|
ArgumentEntity static fields naming fix
|
2021-02-11 00:29:31 +01:00 |
|
themode
|
eda821c3d8
|
Cleanup + don't verify player name in ArgumentEntity
|
2021-02-11 00:25:38 +01:00 |
|
themode
|
c11151360b
|
Added ArgumentLiteral
|
2021-02-11 00:14:29 +01:00 |
|
themode
|
c6e15d4bda
|
Added getters in CommandResult
|
2021-02-11 00:06:22 +01:00 |
|
themode
|
9fc10bc051
|
Added CommandResult & moved ParsedCommand
|
2021-02-11 00:04:42 +01:00 |
|
themode
|
12c0b604db
|
Added boolean for node redirection
|
2021-02-10 23:09:38 +01:00 |
|
themode
|
2547972459
|
Deprecate Arguments#getObject
|
2021-02-10 21:35:18 +01:00 |
|
LeoDog896
|
0ce88102ed
|
Get, has, and set argument redirects
|
2021-02-09 19:11:27 -05:00 |
|
LeoDog896
|
2330cb7037
|
And declare it as a set
|
2021-02-09 18:27:41 -05:00 |
|
LeoDog896
|
c4e6d18ee4
|
Get commands from appropiate set
|
2021-02-09 18:26:26 -05:00 |
|
LeoDog896
|
3f5fe7bbd9
|
Revert command set removal
|
2021-02-09 18:24:23 -05:00 |
|
LeoDog896
|
7854602a04
|
Remove unnecessary toNodes wrapper
|
2021-02-09 13:21:25 -05:00 |
|
LeoDog896
|
de5e8e3e67
|
Cleanup
|
2021-02-09 12:24:50 -05:00 |
|
LeoDog896
|
becd876dcd
|
Put getNumberProperties into Number arg
|
2021-02-09 10:58:27 -05:00 |
|
LeoDog896
|
bedc91427e
|
Remove repetitive Set
The Map of commands already stores 2 lists, and making another one for the sake of it actually decreases readability.
|
2021-02-09 10:40:04 -05:00 |
|
LeoDog896
|
79ec9e6569
|
Add null checks for aliases
|
2021-02-09 09:26:53 -05:00 |
|
LeoDog896
|
3d74e74b9e
|
Use redirection for aliases instead of repetition
|
2021-02-09 09:25:18 -05:00 |
|
LeoDog896
|
6b4c514254
|
Fix imports
|
2021-02-09 07:26:32 -05:00 |
|
LeoDog896
|
f20d8941a5
|
Put simpleArgumentNode into Argument
|
2021-02-08 21:03:55 -05:00 |
|
LeoDog896
|
b770710e0d
|
Redo argsValues
(Until / if theres a better solution)
|
2021-02-08 20:59:46 -05:00 |
|
LeoDog896
|
01b4a1b582
|
Allow time unit to be omittable
|
2021-02-08 19:45:25 -05:00 |
|
LeoDog896
|
7705c03500
|
Use Array for validation
Unless something goes absolutely terribly and in fact void wrong the ArgumentValidation should be fine.
|
2021-02-08 19:33:56 -05:00 |
|
LeoDog896
|
8d7cce3044
|
Use collections for the correct situations
|
2021-02-08 19:11:47 -05:00 |
|
LeoDog896
|
e809e69a07
|
Use protected COMMAND_MANAGER field
|
2021-02-08 18:54:55 -05:00 |
|
LeoDog896
|
f300d60411
|
Prefer primitives over list
|
2021-02-08 18:33:01 -05:00 |
|
LeoDog896
|
4379f4b1e1
|
Outsource node building to other classes
|
2021-02-08 18:25:10 -05:00 |
|
themode
|
04c792c302
|
Fix javadoc
|
2021-02-08 04:10:43 +01:00 |
|
themode
|
004b4563c2
|
Replace NbtCompound to CommandData
|
2021-02-08 04:08:22 +01:00 |
|
themode
|
3c7bbc9d2d
|
Added initial command return support
|
2021-02-08 03:42:35 +01:00 |
|
themode
|
8334e100cf
|
Don't send packet to disconnected clients
|
2021-02-07 22:02:03 +01:00 |
|
themode
|
2d7e16fa8e
|
change UpdateOption value from int to long
|
2021-02-07 20:14:40 +01:00 |
|
themode
|
f7aeeabe9c
|
Override ItemStack#equals
|
2021-02-07 19:38:14 +01:00 |
|
themode
|
5a308f0ced
|
Added deprecation warning for most Arguments methods
|
2021-02-06 19:38:59 +01:00 |
|
themode
|
1af8ea5303
|
Added comment about broken bedrock client skin using Geyser
|
2021-02-06 03:51:17 +01:00 |
|
jglrxavpok
|
8a992b3e45
|
New constructor to give UUID as argument in LivingEntity, now used to specify player UUID
|
2021-02-05 14:32:28 +01:00 |
|
jglrxavpok
|
da3a8b17b2
|
Add FireworkMeta#getFlightDuration
|
2021-02-05 12:18:05 +01:00 |
|
themode
|
9fe2b8359c
|
Added convenient EntityFinder#findFirstPlayer(CommandSender)
|
2021-02-03 17:21:49 +01:00 |
|
themode
|
b5d03cb7a9
|
Added convenient EntityFinder#find(CommandSender)
|
2021-02-03 16:57:58 +01:00 |
|
KrystilizeNevaDies
|
a92ab6ea47
|
Add comment on Instance#setTime
|
2021-02-03 16:31:15 +10:00 |
|
themode
|
1146d50f24
|
Cleanup
|
2021-02-02 21:14:01 +01:00 |
|
themode
|
c6cafb19a4
|
Added all missing metadata (except Particle)
|
2021-02-02 21:13:31 +01:00 |
|
themode
|
cb41b2e3d7
|
Added villager data metadata
|
2021-02-02 21:03:25 +01:00 |
|
themode
|
b6cce091e8
|
Remove magic values from ColoredText
|
2021-02-02 07:04:16 +01:00 |
|
themode
|
f17a518e92
|
Fix color not being displayed after a forward slash
|
2021-02-02 06:56:45 +01:00 |
|
themode
|
7843f74b4b
|
Fix string encoding to UTF-8
|
2021-02-01 23:39:44 +01:00 |
|
themode
|
dd1b67e5de
|
Enable netty error processing by default
|
2021-02-01 18:22:36 +01:00 |
|
themode
|
735dd50f4e
|
Fix optional metadata
|
2021-01-31 15:26:51 +01:00 |
|
themode
|
1707cc73f5
|
rename to #legacyToFormat
|
2021-01-31 00:42:21 +01:00 |
|
themode
|
2f326aeaae
|
Rename #toLegacy to #toFormat since it didn't make sense
|
2021-01-31 00:25:49 +01:00 |
|
themode
|
8f174f2c87
|
Update ChangeGameStatePacket to reflect wikivg documentation
|
2021-01-30 16:03:04 +01:00 |
|