Список изменений
In preperation for Blocets for Create
Added: block entities whose rendering depends on a block entity now draw and animate on the client at half size. /blocet put and /blocet clear: operator commands to place or remove a block in a cell, using cell coordinates (real coordinate × 2) the real level now answers for cell positions, other mods' packets, handlers and menu checks therefore work on blocets without special code a right click on a cell whose block has a block entity is also announced as a right-click addressed to the cell; the client's hit result is swapped to the cell for other mods' client handlers getBlockEntity on demand creates a new block entity a cell's block entity can now ask for a client resync
Changed: cell positions now sit in a Y band above the real world (y = realY × 2 + 1024), so a cell can never be mistaken for a real block menu blocks and vanilla block-entity blocks now pass right-clicks on, menus' "still close enough" checks use the cell's real place other mods' blocks drawn only by a block-entity renderer now get a blocet
Fixed: isLoaded asked about the wrong chunk, so blocks saw their neighbours as unloaded sendData() called the chunk source with a cell position and crashed the server (ArrayIndexOutOfBoundsException), chunk source now maps cell positions to real ones a cell block entity that throws while ticking is logged and switched off, instead of crashing the server removing a container that held cell block entities crashed the client, client cell world now has its own model-data manager