Commit Graph

4901 Commits

Author SHA1 Message Date
themode
bd23cd6568 Add interpretPacketQueue for testing purpose 2022-01-28 05:32:35 +01:00
themode
bcc652ede8 Add tests for incomplete reads 2022-01-27 15:29:16 +01:00
themode
cc46b6f130 Add junit params 2022-01-27 15:14:55 +01:00
themode
735184b909 Add tests for reading complete un/compressed stream 2022-01-27 14:58:30 +01:00
themode
dbcb21d1aa Add basic api for event integration, + basic held tests 2022-01-27 13:08:42 +01:00
themode
5e0340c9d8 Add reusable Collector interface for the testing framework 2022-01-27 12:42:51 +01:00
themode
6ecf486b9d Remove guava dependency 2022-01-27 05:15:51 +01:00
themode
a111271113 Fix tests 2022-01-26 18:37:21 +01:00
themode
1cedb8b49a Fix chunk viewers using entity view distance 2022-01-26 18:19:50 +01:00
themode
9157799e67 Remove unnecessary chunk viewer check 2022-01-26 17:49:14 +01:00
Moulberry
cd591dd388
Fix cachedBuffer being overriden (#603) 2022-01-26 17:28:41 +01:00
themode
f66a5044e3 Include native-image config files in demo subproject 2022-01-26 08:08:40 +01:00
themode
85677360eb Move MOJANG_AUTH_URL 2022-01-26 06:58:41 +01:00
themode
0b4dd3b8aa Heavily reduce the number of direct buffers required for each worker 2022-01-26 06:37:46 +01:00
TheMode
d0b874ed7c Move local buffers
Signed-off-by: TheMode <themode@outlook.fr>
2022-01-26 05:01:43 +01:00
TheMode
32d692a56a Avoid more allocation
Signed-off-by: TheMode <themode@outlook.fr>
2022-01-25 14:14:01 +01:00
Joris Guffens
a7971bf343
Fixed nullpointer when unloading a dependent extention that was already unloaded (#601) 2022-01-25 13:51:10 +01:00
TheMode
b5bcd8fd4a Avoid string internal during properties parsing
Signed-off-by: TheMode <themode@outlook.fr>
2022-01-25 13:33:14 +01:00
TheMode
e9f9829c30 Remove implementation details from Palette to allow better compression
Signed-off-by: TheMode <themode@outlook.fr>
2022-01-25 12:29:17 +01:00
TheMode
30cf6e8e4f Improve block properties performance
Signed-off-by: TheMode <themode@outlook.fr>
2022-01-25 07:43:52 +01:00
Andre Roldan
2d305cb0f0
Add ResourcePack#optional overload to specify prompt (#600) 2022-01-25 01:42:32 +01:00
TheMode
e0e5fe049d Remove deprecated ResponseDataConsumer, add support for unix domain socket
Signed-off-by: TheMode <themode@outlook.fr>
2022-01-25 01:38:18 +01:00
TheMode
a0549fdcad Basic tests for passengers
Signed-off-by: TheMode <themode@outlook.fr>
2022-01-24 07:42:30 +01:00
TheMode
d316290ab8
Command test (#597) 2022-01-23 23:30:57 +01:00
Moulberry
54af9a7c96
Make Entity nullable in Metadata (#596) 2022-01-23 09:34:30 +01:00
themode
c24bf3d13d Add login callback 2022-01-23 09:12:30 +01:00
TheMode
6340a10331 Improve item lore
Signed-off-by: TheMode <themode@outlook.fr>
2022-01-22 23:22:00 +01:00
TheMode
6e185c718e Ensure that server-side nbt is not sent over the network
Signed-off-by: TheMode <themode@outlook.fr>
2022-01-22 05:48:32 +01:00
TheMode
be1495a385 Add extractClientNbt utils
Signed-off-by: TheMode <themode@outlook.fr>
2022-01-22 05:46:26 +01:00
TheMode
d3fa4c810f Ensure that block placements send BlockChangePacket
Signed-off-by: TheMode <themode@outlook.fr>
2022-01-22 04:02:35 +01:00
TheMode
57976a1595 Shortcut to assert a single tracked packet
Signed-off-by: TheMode <themode@outlook.fr>
2022-01-22 03:54:24 +01:00
TheMode
19be2546e6 Remove scheduling test
Signed-off-by: TheMode <themode@outlook.fr>
2022-01-21 21:06:09 +01:00
themode
8778e32700 Extract constant tick time 2022-01-21 10:10:24 +01:00
themode
284bf24308 Test TickSchedulerThread 2022-01-21 10:05:11 +01:00
themode
ae377307c7 unused constructors 2022-01-21 09:53:26 +01:00
TheMode
9947afe18b Ensure that all meta are registered
Signed-off-by: TheMode <themode@outlook.fr>
2022-01-20 21:04:14 +01:00
TheMode
7f9f33d462 Fix test
Signed-off-by: TheMode <themode@outlook.fr>
2022-01-20 04:57:41 +01:00
TheMode
c19d2da2da Add playerSwitch test ensuring that the current thread does not hang
Signed-off-by: TheMode <themode@outlook.fr>
2022-01-20 01:07:50 +01:00
themode
95a4d6a1ab Scheduler should not be responsible for polling timeout 2022-01-19 23:33:21 +01:00
themode
90b89c979e Move ItemTestEvent 2022-01-19 22:19:05 +01:00
TheMode
91c06da68a
Basic testing framework (#594) 2022-01-19 21:41:25 +01:00
Luke Bingham
37bebff883
Navigator entity pitch Direction.y() -> dy (#593) 2022-01-19 19:51:36 +01:00
themode
5efa6d7980 Add valuesLength 2022-01-19 04:13:01 +01:00
themode
9165a4d2b3 Change default biome bpe 2022-01-19 03:02:42 +01:00
TheMode
a9dc5bbf7b Add back namespace caching
Signed-off-by: TheMode <themode@outlook.fr>
2022-01-18 00:47:28 +01:00
TheMode
eb3c894971 Inline registry loading
Signed-off-by: TheMode <themode@outlook.fr>
2022-01-17 23:40:46 +01:00
off-by-0point5
615476fe53
Fix MinecaftServer.terminalEnabled not being used for terminal (de)activation (#591) 2022-01-17 16:45:42 +01:00
TheMode
e979d71dee Update & test acquirable api
Signed-off-by: TheMode <themode@outlook.fr>
2022-01-17 14:24:37 +01:00
themode
0163dd6f42 Reduce block properties parsing allocation 2022-01-15 20:12:33 +01:00
TheMode
51abd95bcb Make the reference update method optional
Signed-off-by: TheMode <themode@outlook.fr>
2022-01-14 21:36:30 +01:00