mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-18 11:29:23 +00:00
* 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
25 lines
994 B
Java
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);
|
|
}
|
|
}
|