Add tools for copying id, texture id and nbt data

This commit is contained in:
nea
2023-09-09 03:37:29 +02:00
parent e0f784a1b2
commit 255e4f5899
9 changed files with 250 additions and 114 deletions

View File

@@ -45,7 +45,7 @@ object SlotLocking : FirmamentFeature {
val inventory = MC.handledScreen ?: return@subscribe
inventory as AccessorHandledScreen
val slot = inventory.focusedSlot_NEU ?: return@subscribe
val slot = inventory.focusedSlot_Firmament ?: return@subscribe
val lockedSlots = lockedSlots ?: return@subscribe
if (slot.inventory is PlayerInventory) {
if (slot.index in lockedSlots) {