Add JEI support for recipes in auto crafting table

This commit is contained in:
modmuss50 2018-08-02 19:07:56 +01:00
parent e1d1ab8c08
commit b8ad3175fd
No known key found for this signature in database
GPG key ID: 773D17BE8BF49C82
2 changed files with 4 additions and 1 deletions

View file

@ -417,6 +417,9 @@ public class TechRebornJeiPlugin implements IModPlugin {
new BuiltContainerTransferInfo("industrialsawmill", RecipeCategoryUids.INDUSTRIAL_SAWMILL, 36, 2, 0, 36));
recipeTransferRegistry.addRecipeTransferHandler(
new BuiltContainerTransferInfo("distillationtower", RecipeCategoryUids.DISTILLATION_TOWER, 36, 2, 0, 36));
recipeTransferRegistry.addRecipeTransferHandler(
new BuiltContainerTransferInfo("autocraftingtable", VanillaRecipeCategoryUid.CRAFTING, 36, 9, 0, 36));
registry.addAdvancedGuiHandlers(new AdvancedGuiHandler());
}

View file

@ -450,7 +450,7 @@ public class TileAutoCraftingTable extends TilePowerAcceptor
// IContainerProvider
@Override
public BuiltContainer createContainer(EntityPlayer player) {
return new ContainerBuilder("autocraftingTable").player(player.inventory).inventory().hotbar()
return new ContainerBuilder("autocraftingtable").player(player.inventory).inventory().hotbar()
.addInventory().tile(this)
.slot(0, 28, 25).slot(1, 46, 25).slot(2, 64, 25)
.slot(3, 28, 43).slot(4, 46, 43).slot(5, 64, 43)