Commit Graph

5272 Commits

Author SHA1 Message Date
TheMode
0db5993bfb Use array for metadata lookup instead of map
Signed-off-by: TheMode <themode@outlook.fr>
2022-07-26 16:40:31 +02:00
TomJuri
da9f6fb3c1
Exclude world folder created by saving in the demo. (#1282) 2022-07-26 15:39:40 +02:00
Noel Németh
9e5de35fa7
New command parser (#1235) 2022-07-25 19:34:40 +02:00
Huynh Tien
58a7a59036
add default tinylog writer (#1245) 2022-07-25 08:54:07 +02:00
tahmid-23
3690ad1623
fix component flattening (#1266) 2022-07-25 05:58:03 +02:00
TheMode
d596992c0e
Include command aliases in graph (#1244) 2022-07-17 23:13:25 +02:00
TheMode
07a0fb129c Rename node executor
Signed-off-by: TheMode <themode@outlook.fr>
2022-07-17 22:41:28 +02:00
Noel Németh
c885ca1d7c
Fix index out of bounds when creating a command packet (#1243) 2022-07-17 20:28:14 +02:00
Konstantin Shandurenko
284da06578
Fix for breaking blocks of mismatching properties in adventure mode (#1242) 2022-07-17 20:08:04 +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
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
Steank
0989c220f6
Fix NullPointerException, deadlock when stopping the server (#1220) 2022-07-08 21:31:54 +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
Kieran Wallbanks
9181c52e6b
Update Hephaistos to v2.4.7 2022-07-07 17:57:11 +01:00
TheMode
1bf750a603 Make PlayerPacketOutEvent cancellable
Signed-off-by: TheMode <themode@outlook.fr>
2022-07-07 18:12:54 +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
ba73c742f4 Fix syntax condition isn't checked when building the graph 2022-07-06 17:01:11 +02:00
Kieran Wallbanks
8b789e0f30
Allow changing the extensions folder via a system property 2022-07-06 15:34:40 +01:00
TheMode
0309d12540 Test loop/group arguments
Signed-off-by: TheMode <themode@outlook.fr>
2022-07-06 11:12:08 +02:00
TheMode
5193529702 Simplify command tests
Signed-off-by: TheMode <themode@outlook.fr>
2022-07-06 10:09:31 +02:00
Konstantin Shandurenko
23f03258b9
Item and experience orbs pickup fix (#1208) 2022-07-06 01:28:15 +02:00
Konstantin Shandurenko
90fa4e46ea
Catching everything in Worker's selector (#1207) 2022-07-06 01:27:24 +02:00
Noel Németh
10a2967f33 Fix wrapper arguments not forwarding node properties 2022-07-05 20:25:09 +02:00
Noel Németh
c4479dabbd Fix BinaryReader#extractBytes 2022-07-05 20:02:27 +02:00
Noel Németh
3e7719b6d1 Add missing parsers 2022-07-05 20:01:51 +02:00
Noel Németh
81c978ee9b Fix parser namespaces 2022-07-05 19:24:41 +02:00
Noel Németh
6be30d803c More tests 2022-07-05 01:59:27 +02:00
Noel Németh
2a1abdbaf4 Fix subcommands not being added to the graph and (maybe) better separate responsibilities of the relevant classes 2022-07-05 01:36:42 +02:00
TheMode
ab5734334c Separate syntax test in single & multi variants
Signed-off-by: TheMode <themode@outlook.fr>
2022-07-02 07:40:01 +02:00
Noel Németh
793561e0cb
Simplify command graph generation (#1200) 2022-07-02 05:39:39 +02:00
TheMode
d47e761bf7 Allow testing for argument values + some utils
Signed-off-by: TheMode <themode@outlook.fr>
2022-07-02 02:58:24 +02:00
GoldenStack
54a6bcd2af
Command Tests (#1199) 2022-07-02 02:12:07 +02:00
Steank
18ab44706b
Fix floating point precision issue with RayUtils method (#1196) 2022-07-01 19:00:40 +02:00
TheMode
4a40805ca0 Fix attribute nbt
Signed-off-by: TheMode <themode@outlook.fr>
2022-06-30 23:21:32 +02:00
TheMode
9a28e6ba87 Fix chunk invalidation during generation forking
Signed-off-by: TheMode <themode@outlook.fr>
2022-06-30 23:12:42 +02:00
TheMode
a04012d9bf Fix npe
Signed-off-by: TheMode <themode@outlook.fr>
2022-06-25 13:01:16 +02:00
TheMode
cda46d184e Move item impl code to the impl class
Signed-off-by: TheMode <themode@outlook.fr>
2022-06-25 11:34:09 +02:00
TheMode
19bb23fe3d callCancellable style
Signed-off-by: TheMode <themode@outlook.fr>
2022-06-25 11:24:36 +02:00
TheMode
9f1fcd89ef Cleanup optionalLoadAll
Signed-off-by: TheMode <themode@outlook.fr>
2022-06-25 11:02:10 +02:00
TheMode
6ecede145e
Improve tag performance + concurrency tests (#1165) 2022-06-25 10:36:50 +02:00
SuperKael
1d469ca6a6
Add missing enum values to Biome.Category. (#1168) 2022-06-18 02:26:52 +02:00
Johnnywoof
bab2c22a51
Use predicate for entity targeting (#1099)
* Use predicate for entity targeting

* Change range variable in deprecated constructor from double to float

* Use distance squared
2022-06-15 03:07:42 +10:00
Cody
3821d204cf
Allow for 'F' to be pressed in inventories (Fixes #585) (#1164) 2022-06-14 07:38:44 +02:00