Add JEI support for recipes in auto crafting table
This commit is contained in:
parent
e1d1ab8c08
commit
b8ad3175fd
2 changed files with 4 additions and 1 deletions
|
@ -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());
|
||||
}
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue