litematica-printer
litematica-printer copied to clipboard
Add support for Minecraft 1.21.11 with API compatibility fixes
Summary
Adds a v1_21_11 module targeting Minecraft 1.21.11 with sakura-ryoko's Litematica fork (1.21.11-0.26.3), ported from the existing v1_21_4 module.
API changes from 1.21.4 → 1.21.11
lastPitch/lastYawrenamed toprevPitch/prevYawand moved fromClientPlayerEntityup toEntity— removedEntityAccessorand updated all access siteslastSneakingfield removed fromClientPlayerEntity— removed accessor and updatedPresShift/ReleaseShiftActioninvertYMousemade private inGameOptions— replaced direct field access with a newGameOptionsAccessormixin using@AccessorinvertYMouse()public getter added in 1.21.11 —MixinMouseupdated to call it directly without reflectionLitematicaSchematicAccessor@Invokerupdated: constructor signature changed from(File, FileType)to(Path, FileType)in sakura-ryoko's fork;SchematicConverterupdated to pass.toPath()accordinglyPlayerInventoryAccessoradded to exposeoffHandInventory— required for offhand slot handling that changed in 1.21.11
Notes
- The
v1_21_4module is unchanged - Tested on a live 1.21.11 Fabric client connecting to a 1.21.4 server via ViaFabricPlus