mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-15 17:55:04 +00:00
Update buildscript & spotlessApply
This commit is contained in:
1 parent
e4329e2b8f
commit
8683a345c3
818 files changed
+51123
-49403
No files matched your search
@@ -18,101 +18,125 @@ import net.minecraft.item.ItemStack;
|
||||
import net.minecraftforge.oredict.ShapedOreRecipe;
|
||||
|
||||
public class ModuleApiary implements IInitializable {
|
||||
public static Block blockComponent;
|
||||
public static Block blockComponent;
|
||||
|
||||
protected BinnieCircuitLayout stimulatorLayout;
|
||||
protected BinnieCircuitLayout stimulatorLayout;
|
||||
|
||||
@Override
|
||||
public void preInit() {
|
||||
MachineGroup machineGroup = new MachineGroup(ExtraBees.instance, "alveay", "alveary", AlvearyMachine.values());
|
||||
machineGroup.setCreativeTab(Tabs.tabApiculture);
|
||||
BinnieCore.proxy.registerTileEntity(TileExtraBeeAlveary.class, "extrabees.tile.alveary", BinnieCore.proxy.createObject("binnie.core.machines.RendererMachine"));
|
||||
ModuleApiary.blockComponent = machineGroup.getBlock();
|
||||
AlvearyMutator.addMutationItem(new ItemStack(Blocks.soul_sand), 1.5f);
|
||||
AlvearyMutator.addMutationItem(Mods.ic2.stack("UranFuel"), 4.0f);
|
||||
AlvearyMutator.addMutationItem(Mods.ic2.stack("MOXFuel"), 10.0f);
|
||||
AlvearyMutator.addMutationItem(Mods.ic2.stack("Plutonium"), 8.0f);
|
||||
AlvearyMutator.addMutationItem(Mods.ic2.stack("smallPlutonium"), 5.0f);
|
||||
AlvearyMutator.addMutationItem(Mods.ic2.stack("Uran235"), 4.0f);
|
||||
AlvearyMutator.addMutationItem(Mods.ic2.stack("smallUran235"), 2.5f);
|
||||
AlvearyMutator.addMutationItem(Mods.ic2.stack("Uran238"), 2.0f);
|
||||
AlvearyMutator.addMutationItem(new ItemStack(Items.ender_pearl), 2.0f);
|
||||
AlvearyMutator.addMutationItem(new ItemStack(Items.ender_eye), 4.0f);
|
||||
@Override
|
||||
public void preInit() {
|
||||
MachineGroup machineGroup = new MachineGroup(ExtraBees.instance, "alveay", "alveary", AlvearyMachine.values());
|
||||
machineGroup.setCreativeTab(Tabs.tabApiculture);
|
||||
BinnieCore.proxy.registerTileEntity(
|
||||
TileExtraBeeAlveary.class,
|
||||
"extrabees.tile.alveary",
|
||||
BinnieCore.proxy.createObject("binnie.core.machines.RendererMachine"));
|
||||
ModuleApiary.blockComponent = machineGroup.getBlock();
|
||||
AlvearyMutator.addMutationItem(new ItemStack(Blocks.soul_sand), 1.5f);
|
||||
AlvearyMutator.addMutationItem(Mods.ic2.stack("UranFuel"), 4.0f);
|
||||
AlvearyMutator.addMutationItem(Mods.ic2.stack("MOXFuel"), 10.0f);
|
||||
AlvearyMutator.addMutationItem(Mods.ic2.stack("Plutonium"), 8.0f);
|
||||
AlvearyMutator.addMutationItem(Mods.ic2.stack("smallPlutonium"), 5.0f);
|
||||
AlvearyMutator.addMutationItem(Mods.ic2.stack("Uran235"), 4.0f);
|
||||
AlvearyMutator.addMutationItem(Mods.ic2.stack("smallUran235"), 2.5f);
|
||||
AlvearyMutator.addMutationItem(Mods.ic2.stack("Uran238"), 2.0f);
|
||||
AlvearyMutator.addMutationItem(new ItemStack(Items.ender_pearl), 2.0f);
|
||||
AlvearyMutator.addMutationItem(new ItemStack(Items.ender_eye), 4.0f);
|
||||
|
||||
for (EnumHiveFrame frame : EnumHiveFrame.values()) {
|
||||
GameRegistry.registerItem(frame.item = new ItemHiveFrame(frame), "hiveFrame." + frame.name().toLowerCase());
|
||||
}
|
||||
}
|
||||
for (EnumHiveFrame frame : EnumHiveFrame.values()) {
|
||||
GameRegistry.registerItem(
|
||||
frame.item = new ItemHiveFrame(frame),
|
||||
"hiveFrame." + frame.name().toLowerCase());
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void postInit() {
|
||||
EnumHiveFrame.init();
|
||||
GameRegistry.addRecipe(
|
||||
AlvearyMachine.Mutator.get(1),
|
||||
"g g", " a ", "t t",
|
||||
'g', Items.gold_ingot,
|
||||
'a', Mods.forestry.block("alveary"),
|
||||
't',
|
||||
new ItemStack(Mods.forestry.item("thermionicTubes"), 1, 5)
|
||||
);
|
||||
@Override
|
||||
public void postInit() {
|
||||
EnumHiveFrame.init();
|
||||
GameRegistry.addRecipe(
|
||||
AlvearyMachine.Mutator.get(1),
|
||||
"g g",
|
||||
" a ",
|
||||
"t t",
|
||||
'g',
|
||||
Items.gold_ingot,
|
||||
'a',
|
||||
Mods.forestry.block("alveary"),
|
||||
't',
|
||||
new ItemStack(Mods.forestry.item("thermionicTubes"), 1, 5));
|
||||
|
||||
GameRegistry.addRecipe(
|
||||
AlvearyMachine.Frame.get(1),
|
||||
"iii", "tat", " t ",
|
||||
'i', Items.iron_ingot,
|
||||
'a', Mods.forestry.block("alveary"),
|
||||
't', new ItemStack(Mods.forestry.item("thermionicTubes"), 1, 4)
|
||||
);
|
||||
GameRegistry.addRecipe(
|
||||
AlvearyMachine.Frame.get(1),
|
||||
"iii",
|
||||
"tat",
|
||||
" t ",
|
||||
'i',
|
||||
Items.iron_ingot,
|
||||
'a',
|
||||
Mods.forestry.block("alveary"),
|
||||
't',
|
||||
new ItemStack(Mods.forestry.item("thermionicTubes"), 1, 4));
|
||||
|
||||
GameRegistry.addRecipe(
|
||||
AlvearyMachine.RainShield.get(1),
|
||||
" b ", "bab", "t t",
|
||||
'b', Items.brick,
|
||||
'a', Mods.forestry.block("alveary"),
|
||||
't', new ItemStack(Mods.forestry.item("thermionicTubes"), 1, 4)
|
||||
);
|
||||
GameRegistry.addRecipe(
|
||||
AlvearyMachine.RainShield.get(1),
|
||||
" b ",
|
||||
"bab",
|
||||
"t t",
|
||||
'b',
|
||||
Items.brick,
|
||||
'a',
|
||||
Mods.forestry.block("alveary"),
|
||||
't',
|
||||
new ItemStack(Mods.forestry.item("thermionicTubes"), 1, 4));
|
||||
|
||||
GameRegistry.addRecipe(
|
||||
AlvearyMachine.Lighting.get(1),
|
||||
"iii", "iai", " t ",
|
||||
'i', Items.glowstone_dust,
|
||||
'a', Mods.forestry.block("alveary"),
|
||||
't', new ItemStack(Mods.forestry.item("thermionicTubes"), 1, 4)
|
||||
);
|
||||
GameRegistry.addRecipe(
|
||||
AlvearyMachine.Lighting.get(1),
|
||||
"iii",
|
||||
"iai",
|
||||
" t ",
|
||||
'i',
|
||||
Items.glowstone_dust,
|
||||
'a',
|
||||
Mods.forestry.block("alveary"),
|
||||
't',
|
||||
new ItemStack(Mods.forestry.item("thermionicTubes"), 1, 4));
|
||||
|
||||
GameRegistry.addRecipe(
|
||||
AlvearyMachine.Stimulator.get(1),
|
||||
"kik", "iai", " t ",
|
||||
'i', Items.gold_nugget,
|
||||
'a', Mods.forestry.block("alveary"),
|
||||
't', new ItemStack(Mods.forestry.item("thermionicTubes"), 1, 4),
|
||||
'k', new ItemStack(Mods.forestry.item("chipsets"), 1, 2)
|
||||
);
|
||||
GameRegistry.addRecipe(
|
||||
AlvearyMachine.Stimulator.get(1),
|
||||
"kik",
|
||||
"iai",
|
||||
" t ",
|
||||
'i',
|
||||
Items.gold_nugget,
|
||||
'a',
|
||||
Mods.forestry.block("alveary"),
|
||||
't',
|
||||
new ItemStack(Mods.forestry.item("thermionicTubes"), 1, 4),
|
||||
'k',
|
||||
new ItemStack(Mods.forestry.item("chipsets"), 1, 2));
|
||||
|
||||
GameRegistry.addRecipe(
|
||||
AlvearyMachine.Hatchery.get(1),
|
||||
"i i", " a ", "iti",
|
||||
'i', Blocks.glass_pane,
|
||||
'a', Mods.forestry.block("alveary"),
|
||||
't', new ItemStack(Mods.forestry.item("thermionicTubes"), 1, 5)
|
||||
);
|
||||
GameRegistry.addRecipe(
|
||||
AlvearyMachine.Hatchery.get(1),
|
||||
"i i",
|
||||
" a ",
|
||||
"iti",
|
||||
'i',
|
||||
Blocks.glass_pane,
|
||||
'a',
|
||||
Mods.forestry.block("alveary"),
|
||||
't',
|
||||
new ItemStack(Mods.forestry.item("thermionicTubes"), 1, 5));
|
||||
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(
|
||||
AlvearyMachine.Transmission.get(1),
|
||||
new Object[]{
|
||||
" t ", "tat", " t ",
|
||||
'a', Mods.forestry.block("alveary"),
|
||||
't', "gearTin"
|
||||
}
|
||||
));
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(
|
||||
AlvearyMachine.Transmission.get(1),
|
||||
new Object[] {" t ", "tat", " t ", 'a', Mods.forestry.block("alveary"), 't', "gearTin"}));
|
||||
|
||||
for (CircuitType type : CircuitType.values()) {
|
||||
type.createCircuit(stimulatorLayout);
|
||||
}
|
||||
}
|
||||
for (CircuitType type : CircuitType.values()) {
|
||||
type.createCircuit(stimulatorLayout);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void init() {
|
||||
stimulatorLayout = new BinnieCircuitLayout(ExtraBees.instance, "Stimulator");
|
||||
}
|
||||
@Override
|
||||
public void init() {
|
||||
stimulatorLayout = new BinnieCircuitLayout(ExtraBees.instance, "Stimulator");
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user