use of binnie.design.gui.SlotValidatorDesignMaterial in project Binnie by ForestryMC.
the class PackageDesigner method createMachine.
@Override
public void createMachine(final Machine machine) {
new ExtraTreeMachine.ComponentExtraTreeGUI(machine, ExtraTreesGUID.WOODWORKER);
final ComponentInventorySlots inventory = new ComponentInventorySlots(machine);
inventory.addSlot(DesignerSlots.ADHESIVE_SLOT, getSlotRL("polish")).setValidator(new SlotValidatorDesignAdhesive(this.type));
inventory.addSlot(DesignerSlots.DESIGN_SLOT_1, getSlotRL("wood")).setValidator(new SlotValidatorDesignMaterial(this.type));
inventory.addSlot(DesignerSlots.DESIGN_SLOT_2, getSlotRL("wood")).setValidator(new SlotValidatorDesignMaterial(this.type));
new ComponentDesignerRecipe(machine, this.type);
}
use of binnie.design.gui.SlotValidatorDesignMaterial in project Binnie by ForestryMC.
the class PackageDesigner method createMachine.
@Override
public void createMachine(final Machine machine) {
new ComponentBotanyGUI(machine, BotanyGUI.TILEWORKER);
final ComponentInventorySlots inventory = new ComponentInventorySlots(machine);
InventorySlot mortarSlot = inventory.addSlot(DesignerSlots.ADHESIVE_SLOT, new ResourceLocation(Constants.BOTANY_MOD_ID, "gui.slot.mortar"));
mortarSlot.setValidator(new SlotValidatorDesignAdhesive(this.type));
InventorySlot ceramicSlot1 = inventory.addSlot(DesignerSlots.DESIGN_SLOT_1, new ResourceLocation(Constants.BOTANY_MOD_ID, "gui.slot.ceramic"));
ceramicSlot1.setValidator(new SlotValidatorDesignMaterial(this.type));
InventorySlot ceramicSlot2 = inventory.addSlot(DesignerSlots.DESIGN_SLOT_2, new ResourceLocation(Constants.BOTANY_MOD_ID, "gui.slot.ceramic"));
ceramicSlot2.setValidator(new SlotValidatorDesignMaterial(this.type));
new ComponentDesignerRecipe(machine, this.type);
}
Aggregations