Commit Graph

5198 Commits

Author SHA1 Message Date
Noel Németh 0e7630322f Update 2022-07-14 00:55:19 +02:00
Noel Németh 6884c11e38 Merge branch 'master' into command-parser-rework
# Conflicts:
#	src/main/java/net/minestom/server/command/CommandManager.java
#	src/main/java/net/minestom/server/command/GraphBuilder.java
#	src/main/java/net/minestom/server/command/GraphConverter.java
#	src/main/java/net/minestom/server/command/Node.java
#	src/main/java/net/minestom/server/command/NodeGraph.java
#	src/test/java/net/minestom/server/command/ArgumentTypeTest.java
#	src/test/java/net/minestom/server/command/NodeGraphTest.java
2022-07-13 23:06:45 +02:00
TheMode 366f08f7f9
Graph api (#1233) 2022-07-13 22:45:38 +02:00
TheMode 1cdee4a8e1
Revert "Initial graph api (#1230)" (#1231)
This reverts commit 3999c30961.
2022-07-13 01:16:18 +02:00
TheMode 3999c30961
Initial graph api (#1230) 2022-07-13 01:14:23 +02:00
Xavier Niochaut 7af3e1c2e2
Bump Hephaistos version to 2.4.8 2022-07-12 22:37:18 +02:00
Noel Németh 2b82f8c1da Fix parser 2022-07-09 15:14:30 +02:00
TheMode e713cf62a7 Make ArgumentTypeTest more flexible
Signed-off-by: TheMode <themode@outlook.fr>
2022-07-09 11:38:50 +02:00
TheMode 7141fea928 Oops test
Signed-off-by: TheMode <themode@outlook.fr>
2022-07-09 11:01:20 +02:00
TheMode 3a7dc50e7b Test loop arg with multiple groups
Signed-off-by: TheMode <themode@outlook.fr>
2022-07-09 10:57:06 +02:00
Noel Németh c7a798ebf5 Most commands are executable 2022-07-09 01:44:27 +02:00
Noel Németh 3ca3611f5e Fix most arg tests 2022-07-09 00:30:20 +02:00
Noel Németh ee6f037289 Fix read until 2022-07-09 00:21:11 +02:00
Noel Németh 3b664c8599 Words can be valid too 2022-07-09 00:15:55 +02:00
Noel Németh a31a06dd22 Replaced throw 2022-07-09 00:06:22 +02:00
Noel Németh 3e2d41315a Fix end offset 2022-07-08 23:55:35 +02:00
Noel Németh 6549bb0cab Update tests 2022-07-08 23:48:32 +02:00
Noel Németh 7d247003ca Add check for resource location 2022-07-08 23:40:41 +02:00
Noel Németh 89d2f1b54c Update commands 2022-07-08 23:24:37 +02:00
Noel Németh 4452356af1 Update args 2022-07-08 23:16:47 +02:00
Steank 0989c220f6
Fix NullPointerException, deadlock when stopping the server (#1220) 2022-07-08 21:31:54 +02:00
Noel Németh be0c7172fa Update args 2022-07-08 20:42:41 +02:00
Noel Németh 80bfe05e16 Update args 2022-07-08 18:16:40 +02:00
Noel Németh 6811e39137 Update args 2022-07-08 17:57:27 +02:00
Noel Németh 5c8cf728c2 Update args 2022-07-08 17:39:08 +02:00
Konstantin Shandurenko de5a396c15
Do not send CloseWindowPacket if inventory was reopened during closing (#1218) 2022-07-08 17:37:56 +02:00
Konstantin Shandurenko 4feac211c7
Item pickup fix (#1216) 2022-07-08 17:37:24 +02:00
Noel Németh 3dfd37ec08 Use arg parse result 2022-07-08 15:43:47 +02:00
Noel Németh 8239ecee40 Redundant instanceof check 2022-07-08 14:48:32 +02:00
Noel Németh 970ae6e684 Result based parser 2022-07-08 14:40:03 +02:00
Noel Németh 0087004183 Allow negative numbers 2022-07-08 01:48:33 +02:00
Noel Németh 24ea5bc9f6 Arg range, resource loc, nbt done & array reader 2022-07-08 01:03:36 +02:00
Noel Németh 56e99424e0 Arg block state, registry, uuid done 2022-07-08 00:13:01 +02:00
Noel Németh 209122874f Arg literal, boolean, number done 2022-07-08 00:07:56 +02:00
Noel Németh 6f42da5a13 Arg component, color, word done 2022-07-07 23:53:44 +02:00
Noel Németh 4284e059cb Cleanup old parser 2022-07-07 23:21:14 +02:00
Noel Németh 3d3e44e3d7 Update Argument to the new format 2022-07-07 22:23:01 +02:00
Noel Németh 8393f6c64b Make get public 2022-07-07 22:07:09 +02:00
Noel Németh 899a8e02d8 CommandReader with tests 2022-07-07 21:35:32 +02:00
Kieran Wallbanks 9181c52e6b
Update Hephaistos to v2.4.7 2022-07-07 17:57:11 +01:00
Noel Németh 079439896f Move parser method 2022-07-07 18:33:13 +02:00
TheMode 1bf750a603 Make PlayerPacketOutEvent cancellable
Signed-off-by: TheMode <themode@outlook.fr>
2022-07-07 18:12:54 +02:00
Noel Németh 07a6b9b6a4 Parser mostly done, see todos, arg rework needed 2022-07-07 16:30:04 +02:00
Noel Németh 01d14588e6 Simplify Node, move conversions to separate class 2022-07-07 10:29:38 +02:00
Noel Németh 543df701d5 Add more info to graph 2022-07-07 09:46:54 +02:00
Noel Németh 3d5721e8f2 Fix building and add graphviz exporter 2022-07-07 09:33:32 +02:00
Konstantin Shandurenko 0c6599fee6
Checking that payload length is positive on packets reading (#1211) 2022-07-07 04:18:24 +02:00
Konstantin Shandurenko 4884051c6a
BlockCollision#canPlaceBlockAt player check fix (#1213) 2022-07-07 04:16:56 +02:00
Noel Németh eebb9b832f Make Node and NodeGraph records and extend them as a preparation for parsing support 2022-07-07 02:33:44 +02:00
Noel Németh ba73c742f4 Fix syntax condition isn't checked when building the graph 2022-07-06 17:01:11 +02:00