Commit Graph

409 Commits

Author SHA1 Message Date
Articdive 3089843cc9 Build system update (#527) 2022-01-10 16:51:21 +01:00
TheMode da69526f49 Dispatcher testing (#570) 2022-01-10 16:51:21 +01:00
themode 7becd89b1d Test for ObjectArray 2022-01-10 16:51:21 +01:00
mworzala d273ff401b Run extension pre/post/init at sensible times. 2022-01-10 16:51:21 +01:00
Matt Worzala 9f5122019f Remove dynamic extension unload/reload (dynamic load from file still exists) 2022-01-10 16:51:21 +01:00
Matt Worzala 0c6e4c0129 Remove `Bootstrap`, `MinestomRootClassLoader`. Cleanup 2022-01-10 16:51:21 +01:00
Matt Worzala 18ecefd97a remove code modification, bootstrap + MinestomRootClassLoader still required for now 2022-01-10 16:51:21 +01:00
themode 91a8607710 Fix MultiBlockChangePacket read 2022-01-10 16:51:21 +01:00
themode 1c2ebc3991 test pooled buffers 2022-01-10 16:51:21 +01:00
themode 29d7cd1c8a Handle weird input without properties 2022-01-10 16:51:21 +01:00
themode 6082741143 Add fallback for block properties with > 10 entries 2022-01-10 16:51:21 +01:00
themode 7b328d3d4c Some love for java generics 2022-01-10 16:51:21 +01:00
themode 3f10829935 Remove RoaringBitmap 2022-01-10 16:51:21 +01:00
themode e53f0c5995 Assert the unmap 2022-01-10 16:51:21 +01:00
themode 68f19e3dae Add test for node mapping 2022-01-10 16:51:21 +01:00
themode 3c7291298f Test tag defaults 2022-01-10 16:51:21 +01:00
themode 90a217eb9b Add binding test 2022-01-10 16:51:21 +01:00
themode c0fa6ef8ae Add nearby tracking test 2022-01-10 16:51:21 +01:00
themode c945faf367 Rename file 2022-01-10 16:51:21 +01:00
themode 5d78a5d996 Real fix 2022-01-10 16:51:21 +01:00
themode 660994443b Fix MinestomThread local cache 2022-01-10 16:51:21 +01:00
themode a97fda7ef0 Force palette dimension to be a power of 2. Improve performance 2022-01-10 16:51:21 +01:00
themode 5d4dd1f9f4 Ensure unmodifiable view 2022-01-10 16:51:21 +01:00
themode 639254b19e Remove the need to specify the entity position on movement 2022-01-10 16:51:21 +01:00
themode 9ccc9040df Remove Update#updateTracker, more tracking tests 2022-01-10 16:51:21 +01:00
themode 91eb68661c Add test for entity tracking registration 2022-01-10 16:51:21 +01:00
themode 7e5cd64f8d Add more asserts for toSectionRelativeCoordinate 2022-01-10 16:51:21 +01:00
Németh Noel 83d751ecf2 Move and rename ChunkUtils.toSectionRelativeCoordinate, added tests 2022-01-10 16:51:21 +01:00
themode 2d1102e0e8 Add Scheduler#scheduleNextProcess 2022-01-10 16:51:21 +01:00
themode 389f028137 Add basic event filtering test 2022-01-10 16:51:21 +01:00
themode 3ffe37591b Test isSimilar 2022-01-10 16:51:21 +01:00
themode feb2f34161 Add/Take tests for inventories 2022-01-10 16:51:21 +01:00
themode 62fc71338b Add InventoryTest 2022-01-10 16:51:21 +01:00
themode 80baeb6e54 Add LazyPacketTest 2022-01-10 16:51:21 +01:00
themode f3221ff412 Make BlockImpl a record 2022-01-10 16:51:21 +01:00
themode 9927665d91 Add direct access to nbt for meta subclasses 2022-01-10 16:51:21 +01:00
themode c45f7b2067 Offer default impl to create empty meta 2022-01-10 16:51:21 +01:00
themode 064146b4fd Add palette resize test 2022-01-10 16:51:21 +01:00
themode f1112fc865 Item impl cleanup 2022-01-10 16:51:21 +01:00
themode c4190f544d Add palette size to test 2022-01-10 16:51:21 +01:00
themode 200c94c59e Remove magic -1 return 2022-01-10 16:51:21 +01:00
themode f6db75b9aa Replace getSectionAt to getChunkCoordinate 2022-01-10 16:51:21 +01:00
themode 9a138d0749 CoordinateTest 2022-01-10 16:51:21 +01:00
TheMode 3f46176bf1 Add basic test for Block
Signed-off-by: TheMode <themode@outlook.fr>
2022-01-10 16:51:21 +01:00
TheMode 41a52c993e Add basic tests for Palette
Signed-off-by: TheMode <themode@outlook.fr>
2022-01-10 16:51:21 +01:00
TheMode 3b564a3f44 Include PlayerInfoPacket in packet DB
Signed-off-by: TheMode <themode@outlook.fr>
2022-01-10 16:51:21 +01:00
TheMode 8f7001b72b Add basic tests for items
Signed-off-by: TheMode <themode@outlook.fr>
2022-01-10 16:51:21 +01:00
TheMode 987c563255 Add more packets to test
Signed-off-by: TheMode <themode@outlook.fr>
2022-01-10 16:51:21 +01:00
TheMode 9717e54aac Revamped scheduling API (#535) 2022-01-10 16:51:21 +01:00
TheMode df071d4bfb Simple tests for tags
Signed-off-by: TheMode <themode@outlook.fr>
2022-01-10 16:51:21 +01:00