mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-27 15:33:12 +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
@@ -14,45 +14,45 @@ import net.minecraft.tileentity.TileEntity;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
public enum ExtraBeeGUID implements IBinnieGUID {
|
||||
Database,
|
||||
DatabaseNEI,
|
||||
AlvearyMutator,
|
||||
AlvearyFrame,
|
||||
AlvearyStimulator,
|
||||
PunnettSquare,
|
||||
AlvearyHatchery;
|
||||
Database,
|
||||
DatabaseNEI,
|
||||
AlvearyMutator,
|
||||
AlvearyFrame,
|
||||
AlvearyStimulator,
|
||||
PunnettSquare,
|
||||
AlvearyHatchery;
|
||||
|
||||
@Override
|
||||
public Window getWindow(EntityPlayer player, World world, int x, int y, int z, Side side) {
|
||||
Window window = null;
|
||||
TileEntity tileEntity = world.getTileEntity(x, y, z);
|
||||
IInventory object = null;
|
||||
if (tileEntity instanceof IInventory) {
|
||||
object = (IInventory) tileEntity;
|
||||
}
|
||||
@Override
|
||||
public Window getWindow(EntityPlayer player, World world, int x, int y, int z, Side side) {
|
||||
Window window = null;
|
||||
TileEntity tileEntity = world.getTileEntity(x, y, z);
|
||||
IInventory object = null;
|
||||
if (tileEntity instanceof IInventory) {
|
||||
object = (IInventory) tileEntity;
|
||||
}
|
||||
|
||||
switch (this) {
|
||||
case Database:
|
||||
case DatabaseNEI:
|
||||
window = WindowApiaristDatabase.create(player, side, this != ExtraBeeGUID.Database);
|
||||
break;
|
||||
switch (this) {
|
||||
case Database:
|
||||
case DatabaseNEI:
|
||||
window = WindowApiaristDatabase.create(player, side, this != ExtraBeeGUID.Database);
|
||||
break;
|
||||
|
||||
case AlvearyMutator:
|
||||
window = WindowAlvearyMutator.create(player, object, side);
|
||||
break;
|
||||
case AlvearyMutator:
|
||||
window = WindowAlvearyMutator.create(player, object, side);
|
||||
break;
|
||||
|
||||
case AlvearyFrame:
|
||||
window = WindowAlvearyFrame.create(player, object, side);
|
||||
break;
|
||||
case AlvearyFrame:
|
||||
window = WindowAlvearyFrame.create(player, object, side);
|
||||
break;
|
||||
|
||||
case AlvearyStimulator:
|
||||
window = WindowAlvearyStimulator.create(player, object, side);
|
||||
break;
|
||||
case AlvearyStimulator:
|
||||
window = WindowAlvearyStimulator.create(player, object, side);
|
||||
break;
|
||||
|
||||
case AlvearyHatchery:
|
||||
window = WindowAlvearyHatchery.create(player, object, side);
|
||||
break;
|
||||
}
|
||||
return window;
|
||||
}
|
||||
case AlvearyHatchery:
|
||||
window = WindowAlvearyHatchery.create(player, object, side);
|
||||
break;
|
||||
}
|
||||
return window;
|
||||
}
|
||||
}
|
||||
@@ -9,6 +9,7 @@ import cpw.mods.fml.common.registry.GameRegistry;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
import forestry.api.recipes.RecipeManagers;
|
||||
import java.util.List;
|
||||
import net.minecraft.client.renderer.texture.IIconRegister;
|
||||
import net.minecraft.init.Blocks;
|
||||
import net.minecraft.init.Items;
|
||||
@@ -17,187 +18,197 @@ import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.util.IIcon;
|
||||
import net.minecraftforge.oredict.OreDictionary;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public enum ExtraBeeItems implements IItemMisc {
|
||||
ScentedGear("scentedGear"),
|
||||
DiamondShard("diamondShard"),
|
||||
EmeraldShard("emeraldShard"),
|
||||
RubyShard("rubyShard"),
|
||||
SapphireShard("sapphireShard"),
|
||||
LapisShard("lapisShard"),
|
||||
IronDust("ironDust"),
|
||||
GoldDust("goldDust"),
|
||||
SilverDust("silverDust"),
|
||||
PlatinumDust("platinumDust"),
|
||||
CopperDust("copperDust"),
|
||||
TinDust("tinDust"),
|
||||
NickelDust("nickelDust"),
|
||||
LeadDust("leadDust"),
|
||||
ZincDust("zincDust"),
|
||||
TitaniumDust("titaniumDust"),
|
||||
TungstenDust("tungstenDust"),
|
||||
UraniumDust("radioactiveDust"),
|
||||
CoalDust("coalDust"),
|
||||
RedDye("dyeRed"),
|
||||
YellowDye("dyeYellow"),
|
||||
BlueDye("dyeBlue"),
|
||||
GreenDye("dyeGreen"),
|
||||
WhiteDye("dyeWhite"),
|
||||
BlackDye("dyeBlack"),
|
||||
BrownDye("dyeBrown"),
|
||||
ClayDust("clayDust"),
|
||||
YelloriumDust("yelloriumDust"),
|
||||
BlutoniumDust("blutoniumDust"),
|
||||
CyaniteDust("cyaniteDust");
|
||||
ScentedGear("scentedGear"),
|
||||
DiamondShard("diamondShard"),
|
||||
EmeraldShard("emeraldShard"),
|
||||
RubyShard("rubyShard"),
|
||||
SapphireShard("sapphireShard"),
|
||||
LapisShard("lapisShard"),
|
||||
IronDust("ironDust"),
|
||||
GoldDust("goldDust"),
|
||||
SilverDust("silverDust"),
|
||||
PlatinumDust("platinumDust"),
|
||||
CopperDust("copperDust"),
|
||||
TinDust("tinDust"),
|
||||
NickelDust("nickelDust"),
|
||||
LeadDust("leadDust"),
|
||||
ZincDust("zincDust"),
|
||||
TitaniumDust("titaniumDust"),
|
||||
TungstenDust("tungstenDust"),
|
||||
UraniumDust("radioactiveDust"),
|
||||
CoalDust("coalDust"),
|
||||
RedDye("dyeRed"),
|
||||
YellowDye("dyeYellow"),
|
||||
BlueDye("dyeBlue"),
|
||||
GreenDye("dyeGreen"),
|
||||
WhiteDye("dyeWhite"),
|
||||
BlackDye("dyeBlack"),
|
||||
BrownDye("dyeBrown"),
|
||||
ClayDust("clayDust"),
|
||||
YelloriumDust("yelloriumDust"),
|
||||
BlutoniumDust("blutoniumDust"),
|
||||
CyaniteDust("cyaniteDust");
|
||||
|
||||
static {
|
||||
ExtraBeeItems.TinDust.setMetal("Tin");
|
||||
ExtraBeeItems.ZincDust.setMetal("Zinc");
|
||||
ExtraBeeItems.CopperDust.setMetal("Copper");
|
||||
ExtraBeeItems.IronDust.setMetal("Iron");
|
||||
ExtraBeeItems.NickelDust.setMetal("Nickel");
|
||||
ExtraBeeItems.LeadDust.setMetal("Lead");
|
||||
ExtraBeeItems.SilverDust.setMetal("Silver");
|
||||
ExtraBeeItems.GoldDust.setMetal("Gold");
|
||||
ExtraBeeItems.PlatinumDust.setMetal("Platinum");
|
||||
ExtraBeeItems.TungstenDust.setMetal("Tungsten");
|
||||
ExtraBeeItems.TitaniumDust.setMetal("Titanium");
|
||||
ExtraBeeItems.CoalDust.setMetal("Coal");
|
||||
ExtraBeeItems.YelloriumDust.setMetal("Yellorium");
|
||||
ExtraBeeItems.BlutoniumDust.setMetal("Blutonium");
|
||||
ExtraBeeItems.CyaniteDust.setMetal("Cyanite");
|
||||
ExtraBeeItems.DiamondShard.setGem("Diamond");
|
||||
ExtraBeeItems.EmeraldShard.setGem("Emerald");
|
||||
ExtraBeeItems.RubyShard.setGem("Ruby");
|
||||
ExtraBeeItems.SapphireShard.setGem("Sapphire");
|
||||
}
|
||||
static {
|
||||
ExtraBeeItems.TinDust.setMetal("Tin");
|
||||
ExtraBeeItems.ZincDust.setMetal("Zinc");
|
||||
ExtraBeeItems.CopperDust.setMetal("Copper");
|
||||
ExtraBeeItems.IronDust.setMetal("Iron");
|
||||
ExtraBeeItems.NickelDust.setMetal("Nickel");
|
||||
ExtraBeeItems.LeadDust.setMetal("Lead");
|
||||
ExtraBeeItems.SilverDust.setMetal("Silver");
|
||||
ExtraBeeItems.GoldDust.setMetal("Gold");
|
||||
ExtraBeeItems.PlatinumDust.setMetal("Platinum");
|
||||
ExtraBeeItems.TungstenDust.setMetal("Tungsten");
|
||||
ExtraBeeItems.TitaniumDust.setMetal("Titanium");
|
||||
ExtraBeeItems.CoalDust.setMetal("Coal");
|
||||
ExtraBeeItems.YelloriumDust.setMetal("Yellorium");
|
||||
ExtraBeeItems.BlutoniumDust.setMetal("Blutonium");
|
||||
ExtraBeeItems.CyaniteDust.setMetal("Cyanite");
|
||||
ExtraBeeItems.DiamondShard.setGem("Diamond");
|
||||
ExtraBeeItems.EmeraldShard.setGem("Emerald");
|
||||
ExtraBeeItems.RubyShard.setGem("Ruby");
|
||||
ExtraBeeItems.SapphireShard.setGem("Sapphire");
|
||||
}
|
||||
|
||||
protected String name;
|
||||
protected String iconPath;
|
||||
protected IIcon icon;
|
||||
protected String metalString;
|
||||
protected String gemString;
|
||||
protected String name;
|
||||
protected String iconPath;
|
||||
protected IIcon icon;
|
||||
protected String metalString;
|
||||
protected String gemString;
|
||||
|
||||
ExtraBeeItems(String name) {
|
||||
this.name = name;
|
||||
this.iconPath = name;
|
||||
metalString = null;
|
||||
gemString = null;
|
||||
}
|
||||
ExtraBeeItems(String name) {
|
||||
this.name = name;
|
||||
this.iconPath = name;
|
||||
metalString = null;
|
||||
gemString = null;
|
||||
}
|
||||
|
||||
public static void init() {
|
||||
OreDictionary.registerOre("dyeRed", ExtraBeeItems.RedDye.get(1));
|
||||
OreDictionary.registerOre("dyeYellow", ExtraBeeItems.YellowDye.get(1));
|
||||
OreDictionary.registerOre("dyeBlue", ExtraBeeItems.BlueDye.get(1));
|
||||
OreDictionary.registerOre("dyeGreen", ExtraBeeItems.GreenDye.get(1));
|
||||
OreDictionary.registerOre("dyeBlack", ExtraBeeItems.BlackDye.get(1));
|
||||
OreDictionary.registerOre("dyeWhite", ExtraBeeItems.WhiteDye.get(1));
|
||||
OreDictionary.registerOre("dyeBrown", ExtraBeeItems.BrownDye.get(1));
|
||||
}
|
||||
public static void init() {
|
||||
OreDictionary.registerOre("dyeRed", ExtraBeeItems.RedDye.get(1));
|
||||
OreDictionary.registerOre("dyeYellow", ExtraBeeItems.YellowDye.get(1));
|
||||
OreDictionary.registerOre("dyeBlue", ExtraBeeItems.BlueDye.get(1));
|
||||
OreDictionary.registerOre("dyeGreen", ExtraBeeItems.GreenDye.get(1));
|
||||
OreDictionary.registerOre("dyeBlack", ExtraBeeItems.BlackDye.get(1));
|
||||
OreDictionary.registerOre("dyeWhite", ExtraBeeItems.WhiteDye.get(1));
|
||||
OreDictionary.registerOre("dyeBrown", ExtraBeeItems.BrownDye.get(1));
|
||||
}
|
||||
|
||||
public static void postInit() {
|
||||
ItemStack lapisShard = ExtraBeeItems.LapisShard.get(1);
|
||||
GameRegistry.addShapelessRecipe(new ItemStack(Items.dye, 1, 4), lapisShard, lapisShard, lapisShard, lapisShard);
|
||||
for (ExtraBeeItems item : values()) {
|
||||
if (item.metalString != null) {
|
||||
ItemStack dust = null;
|
||||
ItemStack ingot = null;
|
||||
if (!OreDictionary.getOres("ingot" + item.metalString).isEmpty()) {
|
||||
ingot = OreDictionary.getOres("ingot" + item.metalString).get(0).copy();
|
||||
}
|
||||
if (!OreDictionary.getOres("dust" + item.metalString).isEmpty()) {
|
||||
dust = OreDictionary.getOres("dust" + item.metalString).get(0).copy();
|
||||
}
|
||||
public static void postInit() {
|
||||
ItemStack lapisShard = ExtraBeeItems.LapisShard.get(1);
|
||||
GameRegistry.addShapelessRecipe(new ItemStack(Items.dye, 1, 4), lapisShard, lapisShard, lapisShard, lapisShard);
|
||||
for (ExtraBeeItems item : values()) {
|
||||
if (item.metalString != null) {
|
||||
ItemStack dust = null;
|
||||
ItemStack ingot = null;
|
||||
if (!OreDictionary.getOres("ingot" + item.metalString).isEmpty()) {
|
||||
ingot = OreDictionary.getOres("ingot" + item.metalString)
|
||||
.get(0)
|
||||
.copy();
|
||||
}
|
||||
if (!OreDictionary.getOres("dust" + item.metalString).isEmpty()) {
|
||||
dust = OreDictionary.getOres("dust" + item.metalString)
|
||||
.get(0)
|
||||
.copy();
|
||||
}
|
||||
|
||||
ItemStack input = item.get(1);
|
||||
if (dust != null) {
|
||||
GameRegistry.addShapelessRecipe(dust, input, input, input, input);
|
||||
} else if (ingot != null) {
|
||||
GameRegistry.addShapelessRecipe(ingot, input, input, input, input, input, input, input, input, input);
|
||||
} else if (item == ExtraBeeItems.CoalDust) {
|
||||
GameRegistry.addShapelessRecipe(new ItemStack(Items.coal), input, input, input, input);
|
||||
}
|
||||
} else if (item.gemString != null) {
|
||||
ItemStack gem = null;
|
||||
if (!OreDictionary.getOres("gem" + item.gemString).isEmpty()) {
|
||||
gem = OreDictionary.getOres("gem" + item.gemString).get(0);
|
||||
}
|
||||
ItemStack input = item.get(1);
|
||||
if (dust != null) {
|
||||
GameRegistry.addShapelessRecipe(dust, input, input, input, input);
|
||||
} else if (ingot != null) {
|
||||
GameRegistry.addShapelessRecipe(
|
||||
ingot, input, input, input, input, input, input, input, input, input);
|
||||
} else if (item == ExtraBeeItems.CoalDust) {
|
||||
GameRegistry.addShapelessRecipe(new ItemStack(Items.coal), input, input, input, input);
|
||||
}
|
||||
} else if (item.gemString != null) {
|
||||
ItemStack gem = null;
|
||||
if (!OreDictionary.getOres("gem" + item.gemString).isEmpty()) {
|
||||
gem = OreDictionary.getOres("gem" + item.gemString).get(0);
|
||||
}
|
||||
|
||||
ItemStack input2 = item.get(1);
|
||||
if (gem != null) {
|
||||
GameRegistry.addShapelessRecipe(gem.copy(), input2, input2, input2, input2, input2, input2, input2, input2, input2);
|
||||
}
|
||||
}
|
||||
}
|
||||
ItemStack input2 = item.get(1);
|
||||
if (gem != null) {
|
||||
GameRegistry.addShapelessRecipe(
|
||||
gem.copy(), input2, input2, input2, input2, input2, input2, input2, input2, input2);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Item woodGear = null;
|
||||
try {
|
||||
woodGear = (Item) Class.forName("buildcraft.BuildCraftCore").getField("woodenGearItem").get(null);
|
||||
} catch (Exception ex) {
|
||||
// ignored
|
||||
}
|
||||
Item woodGear = null;
|
||||
try {
|
||||
woodGear = (Item) Class.forName("buildcraft.BuildCraftCore")
|
||||
.getField("woodenGearItem")
|
||||
.get(null);
|
||||
} catch (Exception ex) {
|
||||
// ignored
|
||||
}
|
||||
|
||||
ItemStack gear = new ItemStack(Blocks.planks, 1);
|
||||
if (woodGear != null) {
|
||||
gear = new ItemStack(woodGear, 1);
|
||||
}
|
||||
ItemStack gear = new ItemStack(Blocks.planks, 1);
|
||||
if (woodGear != null) {
|
||||
gear = new ItemStack(woodGear, 1);
|
||||
}
|
||||
|
||||
RecipeManagers.carpenterManager.addRecipe(
|
||||
100,
|
||||
Binnie.Liquid.getLiquidStack("for.honey", 500),
|
||||
null,
|
||||
ExtraBeeItems.ScentedGear.get(1),
|
||||
" j ", "bgb", " p ",
|
||||
'j', Mods.forestry.item("royalJelly"),
|
||||
'b', Mods.forestry.item("beeswax"),
|
||||
'p', Mods.forestry.item("pollen"),
|
||||
'g', gear
|
||||
);
|
||||
}
|
||||
RecipeManagers.carpenterManager.addRecipe(
|
||||
100,
|
||||
Binnie.Liquid.getLiquidStack("for.honey", 500),
|
||||
null,
|
||||
ExtraBeeItems.ScentedGear.get(1),
|
||||
" j ",
|
||||
"bgb",
|
||||
" p ",
|
||||
'j',
|
||||
Mods.forestry.item("royalJelly"),
|
||||
'b',
|
||||
Mods.forestry.item("beeswax"),
|
||||
'p',
|
||||
Mods.forestry.item("pollen"),
|
||||
'g',
|
||||
gear);
|
||||
}
|
||||
|
||||
private void setGem(String string) {
|
||||
gemString = string;
|
||||
}
|
||||
private void setGem(String string) {
|
||||
gemString = string;
|
||||
}
|
||||
|
||||
private void setMetal(String string) {
|
||||
metalString = string;
|
||||
}
|
||||
private void setMetal(String string) {
|
||||
metalString = string;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isActive() {
|
||||
if (metalString != null) {
|
||||
return !OreDictionary.getOres("ingot" + metalString).isEmpty()
|
||||
|| !OreDictionary.getOres("dust" + metalString).isEmpty()
|
||||
|| this == ExtraBeeItems.CoalDust;
|
||||
}
|
||||
return gemString == null
|
||||
|| !OreDictionary.getOres("gem" + gemString).isEmpty();
|
||||
}
|
||||
@Override
|
||||
public boolean isActive() {
|
||||
if (metalString != null) {
|
||||
return !OreDictionary.getOres("ingot" + metalString).isEmpty()
|
||||
|| !OreDictionary.getOres("dust" + metalString).isEmpty()
|
||||
|| this == ExtraBeeItems.CoalDust;
|
||||
}
|
||||
return gemString == null || !OreDictionary.getOres("gem" + gemString).isEmpty();
|
||||
}
|
||||
|
||||
@Override
|
||||
public IIcon getIcon(ItemStack itemStack) {
|
||||
return icon;
|
||||
}
|
||||
@Override
|
||||
public IIcon getIcon(ItemStack itemStack) {
|
||||
return icon;
|
||||
}
|
||||
|
||||
@SideOnly(Side.CLIENT)
|
||||
@Override
|
||||
public void registerIcons(IIconRegister register) {
|
||||
icon = ExtraBees.proxy.getIcon(register, "misc/" + iconPath);
|
||||
}
|
||||
@SideOnly(Side.CLIENT)
|
||||
@Override
|
||||
public void registerIcons(IIconRegister register) {
|
||||
icon = ExtraBees.proxy.getIcon(register, "misc/" + iconPath);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addInformation(List tooltip) {
|
||||
// ignored
|
||||
}
|
||||
@Override
|
||||
public void addInformation(List tooltip) {
|
||||
// ignored
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getName(ItemStack itemStack) {
|
||||
return I18N.localise("extrabees.item." + name);
|
||||
}
|
||||
@Override
|
||||
public String getName(ItemStack itemStack) {
|
||||
return I18N.localise("extrabees.item." + name);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ItemStack get(int count) {
|
||||
return new ItemStack(ExtraBees.itemMisc, count, ordinal());
|
||||
}
|
||||
@Override
|
||||
public ItemStack get(int count) {
|
||||
return new ItemStack(ExtraBees.itemMisc, count, ordinal());
|
||||
}
|
||||
}
|
||||
@@ -7,29 +7,29 @@ import binnie.core.resource.ResourceType;
|
||||
import binnie.extrabees.ExtraBees;
|
||||
|
||||
public enum ExtraBeeTexture implements IBinnieTexture {
|
||||
AlvearyMutator(ResourceType.Tile, "alveary/AlvearyMutator"),
|
||||
AlvearyNovaBlock(ResourceType.Tile, "alveary/AlvearyNovaBlock"),
|
||||
AlvearyFrame(ResourceType.Tile, "alveary/AlvearyFrame"),
|
||||
AlvearyLighting(ResourceType.Tile, "alveary/AlvearyLighting"),
|
||||
AlvearyRainShield(ResourceType.Tile, "alveary/AlvearyRainShield"),
|
||||
AlvearyStimulator(ResourceType.Tile, "alveary/AlvearyStimulator"),
|
||||
AlvearyHatchery(ResourceType.Tile, "alveary/AlvearyHatchery"),
|
||||
FX(ResourceType.FX, "fx"),
|
||||
GUIPunnett(ResourceType.GUI, "punnett"),
|
||||
GUIProgress(ResourceType.GUI, "processes"),
|
||||
GUIProgress2(ResourceType.GUI, "processes2"),
|
||||
AlvearyTransmission(ResourceType.Tile, "alveary/AlvearyTransmission");
|
||||
AlvearyMutator(ResourceType.Tile, "alveary/AlvearyMutator"),
|
||||
AlvearyNovaBlock(ResourceType.Tile, "alveary/AlvearyNovaBlock"),
|
||||
AlvearyFrame(ResourceType.Tile, "alveary/AlvearyFrame"),
|
||||
AlvearyLighting(ResourceType.Tile, "alveary/AlvearyLighting"),
|
||||
AlvearyRainShield(ResourceType.Tile, "alveary/AlvearyRainShield"),
|
||||
AlvearyStimulator(ResourceType.Tile, "alveary/AlvearyStimulator"),
|
||||
AlvearyHatchery(ResourceType.Tile, "alveary/AlvearyHatchery"),
|
||||
FX(ResourceType.FX, "fx"),
|
||||
GUIPunnett(ResourceType.GUI, "punnett"),
|
||||
GUIProgress(ResourceType.GUI, "processes"),
|
||||
GUIProgress2(ResourceType.GUI, "processes2"),
|
||||
AlvearyTransmission(ResourceType.Tile, "alveary/AlvearyTransmission");
|
||||
|
||||
protected String texture;
|
||||
protected ResourceType type;
|
||||
protected String texture;
|
||||
protected ResourceType type;
|
||||
|
||||
ExtraBeeTexture(ResourceType base, String texture) {
|
||||
this.texture = texture;
|
||||
type = base;
|
||||
}
|
||||
ExtraBeeTexture(ResourceType base, String texture) {
|
||||
this.texture = texture;
|
||||
type = base;
|
||||
}
|
||||
|
||||
@Override
|
||||
public BinnieResource getTexture() {
|
||||
return Binnie.Resource.getPNG(ExtraBees.instance, type, texture);
|
||||
}
|
||||
@Override
|
||||
public BinnieResource getTexture() {
|
||||
return Binnie.Resource.getPNG(ExtraBees.instance, type, texture);
|
||||
}
|
||||
}
|
||||
@@ -6,18 +6,18 @@ import binnie.extrabees.ExtraBees;
|
||||
import forestry.api.core.Tabs;
|
||||
|
||||
public class ModuleCore implements IInitializable {
|
||||
@Override
|
||||
public void preInit() {
|
||||
ExtraBees.itemMisc = Binnie.Item.registerMiscItems(ExtraBeeItems.values(), Tabs.tabApiculture);
|
||||
}
|
||||
@Override
|
||||
public void preInit() {
|
||||
ExtraBees.itemMisc = Binnie.Item.registerMiscItems(ExtraBeeItems.values(), Tabs.tabApiculture);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void init() {
|
||||
ExtraBeeItems.init();
|
||||
}
|
||||
@Override
|
||||
public void init() {
|
||||
ExtraBeeItems.init();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void postInit() {
|
||||
ExtraBeeItems.postInit();
|
||||
}
|
||||
@Override
|
||||
public void postInit() {
|
||||
ExtraBeeItems.postInit();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user