Commit Graph

5385 Commits

Author SHA1 Message Date
iam
4a79a3af26
Refactor physics to simplify code (#1315) 2022-08-08 00:25:08 +02:00
Xavier Niochaut
f62d4e47fc
Heavily reduce memory consumption of AnvilLoader (#1005)
* (Heavily) Reduce memory consumption of AnvilLoader
/!\ requires building and publishing Hephaistos master to local Maven for now

* Cache biome mapping per chunk instead of per section

* Starting work on integration tests

* [AnvilLoader] Address issue #423

* [AnvilLoader] Use new Hephaistos saving API

* Use MavenCentral version of Hephaistos
2022-08-05 21:05:23 +02:00
GreatWyrm
af9dcf258a Move convenience method to PackeetGroupingAudience 2022-08-02 06:23:20 -04:00
GreatWyrm
5aa8b97c60 Add convinence playSound method in instance 2022-08-02 06:23:20 -04:00
Konstantin Shandurenko
89a09f326e
Fix for inventory window id generation (#1292) 2022-07-30 18:54:10 +02:00
TheMode
edbef66f8e Add updateStructureConversionPathDouble
Signed-off-by: TheMode <themode@outlook.fr>
2022-07-30 13:20:21 +02:00
TheMode
648232c344 Add updateStructureConversionPath
Signed-off-by: TheMode <themode@outlook.fr>
2022-07-30 04:01:47 +02:00
TheMode
92b11eabbd Move traversePathWrite call
Signed-off-by: TheMode <themode@outlook.fr>
2022-07-29 19:30:09 +02:00
TheMode
0e082634d5 Fix conversion during tag update
Signed-off-by: TheMode <themode@outlook.fr>
2022-07-29 16:51:45 +02:00
TheMode
5b8cc12108 More TagUpdateTest tests
Signed-off-by: TheMode <themode@outlook.fr>
2022-07-29 16:23:16 +02:00
TheMode
7aec259520 Add updateInner test
Signed-off-by: TheMode <themode@outlook.fr>
2022-07-29 16:11:13 +02:00
TheMode
660112dca6 Rename TagUpdateTest
Signed-off-by: TheMode <themode@outlook.fr>
2022-07-29 16:04:06 +02:00
TheMode
614559bcdb Unnecessary TagHandlerImpl getters
Signed-off-by: TheMode <themode@outlook.fr>
2022-07-28 13:57:13 +02:00
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