Crafting table slot mappings

This commit is contained in:
AJ Ferguson 2021-01-01 18:37:33 -09:00
parent 7a82852134
commit 528a9a4431

View file

@ -67,4 +67,12 @@ public class CraftingInventoryTranslator extends AbstractBlockInventoryTranslato
} }
return super.bedrockSlotToJava(slotInfoData); return super.bedrockSlotToJava(slotInfoData);
} }
@Override
public int javaSlotToBedrock(int slot) {
if (slot < size) {
return slot == 0 ? 50 : slot + 31;
}
return super.javaSlotToBedrock(slot);
}
} }