TheMode
|
c643ecaeb1
|
Add Argument#parse
|
2021-07-13 01:07:02 +02:00 |
|
Németh Noel
|
0793ccefc8
|
remove undefined type
|
2021-07-09 20:13:40 +02:00 |
|
Németh Noel
|
d6221ab212
|
fix boolean order
|
2021-07-09 20:05:46 +02:00 |
|
Németh Noel
|
8e5d2f0dfe
|
fix mix check
|
2021-07-09 19:57:59 +02:00 |
|
TheMode
|
2efefe25b3
|
Improve RelativeVec api
|
2021-07-09 18:53:13 +02:00 |
|
Németh Noel
|
e1d1f52c3d
|
Implement local coordinate parsing
|
2021-07-09 18:18:52 +02:00 |
|
Németh Noel
|
1ac99fa44c
|
Moved parser method to ArgumentRelativeVec.java and made the class package-private
|
2021-07-09 15:40:19 +02:00 |
|
Németh Noel
|
782620466b
|
Fix parse call
|
2021-07-09 15:24:32 +02:00 |
|
Németh Noel
|
cfad7a4145
|
Fix parsing
|
2021-07-09 15:17:35 +02:00 |
|
Németh Noel
|
dff8bc61f6
|
add new line to end of file
|
2021-07-09 02:59:42 +02:00 |
|
Németh Noel
|
a6b4b17279
|
Reduced boilerplate, RelativeVec#parse takes a parser function
|
2021-07-09 02:45:10 +02:00 |
|
Németh Noel
|
7f215ac899
|
Don't hardcode number count
|
2021-07-09 01:54:04 +02:00 |
|
Németh Noel
|
0f569d85f0
|
Fix checks
|
2021-07-09 01:51:08 +02:00 |
|
Németh Noel
|
86be5ad9c5
|
Simplify parsing
|
2021-07-09 01:34:17 +02:00 |
|
TheMode
|
29b4fefb1a
|
Remove Vector usage
|
2021-07-08 18:59:40 +02:00 |
|
TheMode
|
45d7420397
|
Remove most Position/BlockPosition usage
|
2021-07-08 18:56:40 +02:00 |
|
TheMode
|
c2a84c25b5
|
Fix RelativeVec
|
2021-07-08 18:15:57 +02:00 |
|
TheMode
|
0d031d4c15
|
Merge branch 'master' into new-block-api
# Conflicts:
# src/main/java/net/minestom/server/instance/DynamicChunk.java
# src/main/java/net/minestom/server/instance/Instance.java
# src/main/java/net/minestom/server/instance/InstanceContainer.java
# src/main/java/net/minestom/server/instance/SharedInstance.java
# src/main/java/net/minestom/server/instance/block/CustomBlock.java
# src/test/java/demo/Main.java
# src/test/java/demo/blocks/CustomBlockSample.java
# src/test/java/demo/blocks/UpdatableBlockDemo.java
|
2021-07-05 08:21:47 +02:00 |
|
Németh Noel
|
117bcb467a
|
Replaced Tick and ChronoUnit with TimeUnit for consistency
|
2021-06-30 13:02:42 +02:00 |
|
Németh Noel
|
4b04539086
|
Included Tick.java from PR#205 with slight modifications
|
2021-06-29 23:44:19 +02:00 |
|
Németh Noel
|
ab80ffcd0e
|
Updated ArgumentTime.java
|
2021-06-29 22:38:37 +02:00 |
|
TheMode
|
a29f5f1274
|
Add static parse for ArgumentBlockState
|
2021-06-27 17:05:57 +02:00 |
|
TheMode
|
58ec228f70
|
Reuse block properties parsing
|
2021-06-22 18:43:48 +02:00 |
|
TheMode
|
e79b5ce41d
|
Fix exception when forgetting ]
|
2021-06-20 23:54:00 +02:00 |
|
TheMode
|
c2270f8922
|
Merge branch 'master' into new-block-api
|
2021-06-20 23:52:08 +02:00 |
|
TheMode
|
e635e29a16
|
Replace guava cache to caffeine
|
2021-06-20 22:32:06 +02:00 |
|
TheMode
|
4db3b9317d
|
Replace google Beta annotation to jetbrains ApiStatus.Experimental
|
2021-06-20 21:48:07 +02:00 |
|
TheMode
|
de22a76e9f
|
Merge branch 'master' into new-block-api
# Conflicts:
# build.gradle
|
2021-06-17 13:58:01 +02:00 |
|
TheMode
|
fd5f45adcd
|
Remove unused method
|
2021-06-16 21:46:13 +02:00 |
|
LeoDog896
|
b8c1e72e4a
|
Remove deprecated DynamicWords
|
2021-06-16 15:37:33 -04:00 |
|
TheMode
|
63bff29838
|
Compute block properties for arguments
|
2021-05-31 00:00:23 +02:00 |
|
TheMode
|
b15422f406
|
More error fix
|
2021-05-24 22:00:18 +02:00 |
|
TheMode
|
b36c620a98
|
Merge pull request #285 from Project-Cepi/args-documentation
Add documentation to Argument methods
|
2021-05-16 11:54:03 +02:00 |
|
TheMode
|
d31fe2d88e
|
Merge pull request #229 from Project-Cepi/better-catching
Better catching for events/commands
|
2021-05-15 22:51:20 +02:00 |
|
TheMode
|
bb1f4a3792
|
Add CommandContext#getOrDefault
|
2021-05-15 11:02:07 +02:00 |
|
TheMode
|
88dba380f9
|
Remove apache common text dependency
|
2021-05-15 08:31:24 +02:00 |
|
LeoDog896
|
d50b5ac179
|
Add documentation to Argument methods
|
2021-05-13 08:15:02 -04:00 |
|
TheMode
|
8b98472ddf
|
Ignore case for generated string arguments
|
2021-05-07 21:55:49 +02:00 |
|
TheMode
|
e4680d1f8d
|
Fix syntaxes tree branching when a literal is present in the middle of a syntax
|
2021-05-05 00:01:50 +02:00 |
|
TheMode
|
4b6026f18d
|
Remove unnecessary scopes
|
2021-05-04 23:15:20 +02:00 |
|
TheMode
|
dfcf908abc
|
Initial command syntaxes tree attempt
|
2021-05-04 23:00:38 +02:00 |
|
TheMode
|
6e9adb2b9b
|
Removed longely deprecated Arguments.class
|
2021-05-01 20:20:23 +02:00 |
|
TheMode
|
35c60733d1
|
Dont deprecate setDefaultValue with constant result
|
2021-04-28 14:05:20 +02:00 |
|
TheMode
|
47e7d35949
|
Support standalone itemstack string parsing
|
2021-04-25 21:42:40 +02:00 |
|
TheMode
|
5e385c7c9b
|
Fix section resize performance
|
2021-04-25 12:39:18 +02:00 |
|
TheMode
|
41d61e7df6
|
Added CommandSyntax#getSyntaxString
|
2021-04-25 10:46:10 +02:00 |
|
TheMode
|
b0afadf093
|
Override Argument#toString for all subclasses
|
2021-04-25 10:42:05 +02:00 |
|
TheMode
|
7d1dfabc51
|
Fix color argument
|
2021-04-24 10:37:09 +02:00 |
|
TheMode
|
09c22b4e49
|
ArgumentWord restrictions are case sensitive (because of brigadier)
|
2021-04-21 22:29:54 +02:00 |
|
TheMode
|
cb34d34799
|
ArgumentItemStack cleanup
|
2021-04-18 04:35:11 +02:00 |
|
TheMode
|
dd88a14b90
|
Remove unused class
|
2021-04-18 00:19:57 +02:00 |
|
TheMode
|
8f3ee93191
|
Use literal as the default argument when generating a syntax
|
2021-04-16 21:51:33 +02:00 |
|
TheMode
|
20c947650f
|
Clear command cache after unregistering a command
|
2021-04-12 22:45:45 +02:00 |
|
TheMode
|
1d5262caf2
|
Merge branch 'master' into item-api
# Conflicts:
# src/test/java/demo/PlayerInit.java
|
2021-04-12 00:44:47 +02:00 |
|
TheMode
|
c347f55c1f
|
Make it clear that ArgumentEntity uses a bitmask
|
2021-04-10 23:18:07 +02:00 |
|
TheMode
|
be2d1db9e0
|
Merge branch 'master' into item-api
|
2021-04-10 19:37:36 +02:00 |
|
TheMode
|
d88f81e5f3
|
Use UnaryOperator instead of Function
|
2021-04-10 01:16:21 +02:00 |
|
TheMode
|
e19af0377c
|
Merge branch 'master' into item-api
# Conflicts:
# src/main/java/net/minestom/server/item/ItemDisplay.java
# src/main/java/net/minestom/server/utils/binary/BinaryReader.java
|
2021-04-09 23:19:38 +02:00 |
|
TheMode
|
05a553eb4e
|
Fix javadoc build
|
2021-04-09 19:01:37 +02:00 |
|
TheMode
|
4b31e27348
|
Fix ArgumentMap when the argument accepts space
|
2021-04-09 18:59:24 +02:00 |
|
LeoDog896
|
ca6ee7c23a
|
Move ArgumentMapper inside ArgumentMap
|
2021-04-09 12:54:02 -04:00 |
|
LeoDog896
|
e4c3345da7
|
Add beta to map
|
2021-04-09 12:50:05 -04:00 |
|
LeoDog896
|
45cc41c99e
|
Merge branch 'master' into argument-map
|
2021-04-08 13:01:50 -04:00 |
|
TheMode
|
4c495f401d
|
Code cleanup
|
2021-04-07 18:35:19 +02:00 |
|
TheMode
|
5b98fbeb8b
|
Rename CommandCondition 'source' to 'sender'
|
2021-04-07 15:48:05 +02:00 |
|
LeoDog896
|
512ec8dcbc
|
Catch command execution
|
2021-04-06 22:28:12 -04:00 |
|
LeoDog896
|
dfae6ad5f8
|
Documentation and visibility changes
|
2021-04-06 22:12:30 -04:00 |
|
LeoDog896
|
0e4168ba45
|
Add ArgumentMap
|
2021-04-06 22:07:38 -04:00 |
|
themode
|
8d8a22f209
|
Use original NBT when possible
|
2021-04-02 22:14:48 +02:00 |
|
themode
|
a128d30b6b
|
WIP Item rework implementation
|
2021-04-02 18:13:02 +02:00 |
|
jglrxavpok
|
13eb2ebc4c
|
Merge remote-tracking branch 'origin/read-write-packets'
|
2021-03-30 22:14:09 +02:00 |
|
themode
|
45d3b7158c
|
Use a Supplier in Argument#setDefaultValue, fix all-optional syntaxes missing arguments
|
2021-03-30 20:29:50 +02:00 |
|
jglrxavpok
|
930054385f
|
More packets, just missing ChunkDataPacket
|
2021-03-30 19:50:55 +02:00 |
|
themode
|
9a83226df5
|
Added more built in option in ArgumentParser#generate
|
2021-03-29 14:13:13 +02:00 |
|
themode
|
7edc508662
|
Added beta ArgumentType#generate
|
2021-03-28 11:39:10 +02:00 |
|
themode
|
27cfe9c92b
|
Rename Command#addConditionalSyntax
|
2021-03-27 18:28:10 +01:00 |
|
themode
|
404d6aa45e
|
some protected fields for Argument
|
2021-03-27 14:08:04 +01:00 |
|
Németh Noel
|
477b69b9e5
|
Added common conditions
|
2021-03-26 21:13:45 +01:00 |
|
Kieran Wallbanks
|
e738efded3
|
Use Adventure in ArgumentComponent and add demo echo command
|
2021-03-26 17:34:38 +00:00 |
|
Kieran Wallbanks
|
b4b2cf70c5
|
Revert argument changes to single file with adventure style result
|
2021-03-26 17:34:38 +00:00 |
|
Kieran Wallbanks
|
63aaee698e
|
Rebase to master and fix complication issues
|
2021-03-26 17:34:38 +00:00 |
|
Kieran Wallbanks
|
d419bf9401
|
fix TeamColor allowing unsupported formats
|
2021-03-26 17:34:38 +00:00 |
|
Kieran Wallbanks
|
e3d135e1f2
|
update arguments to reflect new color options
|
2021-03-26 17:34:38 +00:00 |
|
Kieran Wallbanks
|
522367dd78
|
Begin removing deprecated usages
|
2021-03-26 17:34:38 +00:00 |
|
themode
|
5320beddb8
|
Added ArgumentUUID
|
2021-03-24 15:13:25 +01:00 |
|
themode
|
fe7b48df48
|
Added ArgumentResourceLocation
|
2021-03-24 13:58:44 +01:00 |
|
themode
|
9817919988
|
CommandParser#findCommand style cleanup
|
2021-03-21 09:25:22 +01:00 |
|
themode
|
3e3cb4b213
|
Fix command name recursion
|
2021-03-21 09:09:32 +01:00 |
|
themode
|
933b2663eb
|
small style cleanup
|
2021-03-19 03:56:25 +01:00 |
|
themode
|
f449201033
|
Remove the need for the command string in ParsedCommand
|
2021-03-17 05:06:09 +01:00 |
|
themode
|
7bbc99956d
|
Merge branch 'master' into command-redirection
|
2021-03-17 01:56:00 +01:00 |
|
themode
|
36d548ff35
|
Improve redirection match
|
2021-03-17 01:52:55 +01:00 |
|
themode
|
826b1aa6cd
|
Added ArgumentCommand#setOnlyCorrect to force correct syntax
|
2021-03-15 10:13:53 +01:00 |
|
themode
|
fbb0ddd7db
|
Use a proper regex to check for valid player username
|
2021-03-15 09:27:51 +01:00 |
|
themode
|
3c7a96dc4a
|
Initial command redirection improvement
|
2021-03-15 09:01:29 +01:00 |
|
themode
|
3975a0dffd
|
Fix ArgumentString not properly supporting single quote
|
2021-03-13 05:05:08 +01:00 |
|
themode
|
158df922bc
|
Fix suggestion chaining
|
2021-03-12 22:34:33 +01:00 |
|
themode
|
a47bf24034
|
Added support for empty syntax
|
2021-03-12 22:10:03 +01:00 |
|
themode
|
7309d05666
|
Update demo command with the new SimpleCommand, update comment to reflect permission access change
|
2021-03-11 03:31:25 +01:00 |
|
themode
|
1760c95ebe
|
Cleanup
|
2021-03-11 03:24:38 +01:00 |
|