Files
Binnie/src/main/java/binnie/extrabees/apiary/machine/frame/FrameAlvearyPackage.java
T
Alexander Kornilov 1ffaad9fcd [1.7.10] Some refactoring (#102)
* Some refactoring

* Some refactoring
Added some localization

* Added some localization
Fix wrong branch localization in page branch overview
Simplify some localization

* Simplify some localization

* Removed unused localize method

* Simplify some localization

* Removed proxy.localise method

* Simplify localization
2017-06-06 21:43:47 -07:00

25 lines
994 B
Java

package binnie.extrabees.apiary.machine.frame;
import binnie.core.craftgui.minecraft.IMachineInformation;
import binnie.core.machines.Machine;
import binnie.core.machines.inventory.ComponentInventorySlots;
import binnie.extrabees.apiary.ComponentExtraBeeGUI;
import binnie.extrabees.apiary.machine.AlvearyMachine;
import binnie.extrabees.core.ExtraBeeGUID;
import binnie.extrabees.core.ExtraBeeTexture;
public class FrameAlvearyPackage extends AlvearyMachine.AlvearyPackage implements IMachineInformation {
public FrameAlvearyPackage() {
super("frame", ExtraBeeTexture.AlvearyFrame.getTexture(), false);
}
@Override
public void createMachine(Machine machine) {
new ComponentExtraBeeGUI(machine, ExtraBeeGUID.AlvearyFrame);
ComponentInventorySlots inventory = new ComponentInventorySlots(machine);
inventory.addSlot(AlvearyFrame.SLOT_FRAME, "frame");
inventory.getSlot(AlvearyFrame.SLOT_FRAME).setValidator(new FrameSlotValidator());
new FrameComponentModifier(machine);
}
}