use of binnie.extratrees.machines.distillery.window.TankValidatorDistilleryInput in project Binnie by ForestryMC.
the class DistilleryMachine method createMachine.
@Override
public void createMachine(final Machine machine) {
new ExtraTreeMachine.ComponentExtraTreeGUI(machine, ExtraTreesGUID.DISTILLERY);
final ComponentInventorySlots inventory = new ComponentInventorySlots(machine);
final ComponentTankContainer tanks = new ComponentTankContainer(machine);
final TankSlot input = tanks.addTank(TANK_INPUT, "input", 5000);
input.setValidator(new TankValidatorDistilleryInput());
input.forbidExtraction();
final TankSlot output = tanks.addTank(TANK_OUTPUT, "output", 5000);
output.setValidator(new TankValidatorDistilleryOutput());
output.setReadOnly();
new ComponentPowerReceptor(machine);
new DistilleryLogic(machine);
}
Aggregations