Crafting table slot mappings

This commit is contained in:
AJ Ferguson 2021-01-01 18:37:33 -09:00
parent 7a82852134
commit 528a9a4431
1 changed files with 8 additions and 0 deletions

View File

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