mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-20 20:22:35 +00:00
Auto-format spaces to tabs (#2)
This commit is contained in:
1 parent
25be7fd254
commit
5bb4b5d9a5
756 files changed
+49198
-48489
No files matched your search
@@ -4,7 +4,9 @@ import binnie.Binnie;
|
||||
import binnie.botany.Botany;
|
||||
import binnie.botany.api.EnumFlowerStage;
|
||||
import binnie.botany.core.BotanyCore;
|
||||
import binnie.botany.flower.*;
|
||||
import binnie.botany.flower.BlockFlower;
|
||||
import binnie.botany.flower.ItemBotany;
|
||||
import binnie.botany.flower.TileEntityFlower;
|
||||
import binnie.core.BinnieCore;
|
||||
import binnie.core.IInitializable;
|
||||
import forestry.api.apiculture.FlowerManager;
|
||||
@@ -15,46 +17,46 @@ import net.minecraft.init.Items;
|
||||
import net.minecraft.item.ItemStack;
|
||||
|
||||
public class ModuleGenetics implements IInitializable {
|
||||
static AlleleEffectNone alleleEffectNone = new AlleleEffectNone();
|
||||
static AlleleEffectNone alleleEffectNone = new AlleleEffectNone();
|
||||
|
||||
@Override
|
||||
public void preInit() {
|
||||
/* INIT API*/
|
||||
binnie.botany.api.FlowerManager.flowerFactory = new FlowerFactory();
|
||||
AlleleManager.alleleRegistry.registerSpeciesRoot(BotanyCore.getFlowerRoot());
|
||||
AlleleManager.alleleRegistry.registerAllele(ModuleGenetics.alleleEffectNone);
|
||||
EnumFlowerColor.setupMutations();
|
||||
FlowerDefinition.preInitFlowers();
|
||||
|
||||
Botany.flower = new BlockFlower();
|
||||
Botany.proxy.registerBlock(Botany.flower);
|
||||
BinnieCore.proxy.registerTileEntity(TileEntityFlower.class, "botany.tile.flower", null);
|
||||
|
||||
Botany.flowerItem = new ItemBotany("itemFlower", EnumFlowerStage.FLOWER, "");
|
||||
Botany.pollen = new ItemBotany("pollen", EnumFlowerStage.POLLEN, "pollen");
|
||||
Botany.seed = new ItemBotany("seed", EnumFlowerStage.SEED, "germling");
|
||||
Botany.database = new ItemDictionary();
|
||||
}
|
||||
@Override
|
||||
public void preInit() {
|
||||
/* INIT API*/
|
||||
binnie.botany.api.FlowerManager.flowerFactory = new FlowerFactory();
|
||||
AlleleManager.alleleRegistry.registerSpeciesRoot(BotanyCore.getFlowerRoot());
|
||||
AlleleManager.alleleRegistry.registerAllele(ModuleGenetics.alleleEffectNone);
|
||||
EnumFlowerColor.setupMutations();
|
||||
FlowerDefinition.preInitFlowers();
|
||||
|
||||
@Override
|
||||
public void init() {
|
||||
EnumFlowerColor.initColours();
|
||||
FlowerDefinition.initFlowers();
|
||||
}
|
||||
Botany.flower = new BlockFlower();
|
||||
Botany.proxy.registerBlock(Botany.flower);
|
||||
BinnieCore.proxy.registerTileEntity(TileEntityFlower.class, "botany.tile.flower", null);
|
||||
|
||||
@Override
|
||||
public void postInit() {
|
||||
FlowerManager.flowerRegistry.registerAcceptableFlower(Botany.flower, "flowersVanilla");
|
||||
RecipeManagers.carpenterManager.addRecipe(100, Binnie.Liquid.getFluidStack("water", 2000), null, new ItemStack(Botany.database),
|
||||
"X#X",
|
||||
"YEY",
|
||||
"RDR",
|
||||
'#', Blocks.GLASS_PANE,
|
||||
'X', Items.GOLD_INGOT,
|
||||
'Y', Items.GOLD_NUGGET,
|
||||
'R', Items.REDSTONE,
|
||||
'D', Items.DIAMOND,
|
||||
'E', Items.EMERALD);
|
||||
}
|
||||
Botany.flowerItem = new ItemBotany("itemFlower", EnumFlowerStage.FLOWER, "");
|
||||
Botany.pollen = new ItemBotany("pollen", EnumFlowerStage.POLLEN, "pollen");
|
||||
Botany.seed = new ItemBotany("seed", EnumFlowerStage.SEED, "germling");
|
||||
Botany.database = new ItemDictionary();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void init() {
|
||||
EnumFlowerColor.initColours();
|
||||
FlowerDefinition.initFlowers();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void postInit() {
|
||||
FlowerManager.flowerRegistry.registerAcceptableFlower(Botany.flower, "flowersVanilla");
|
||||
RecipeManagers.carpenterManager.addRecipe(100, Binnie.Liquid.getFluidStack("water", 2000), null, new ItemStack(Botany.database),
|
||||
"X#X",
|
||||
"YEY",
|
||||
"RDR",
|
||||
'#', Blocks.GLASS_PANE,
|
||||
'X', Items.GOLD_INGOT,
|
||||
'Y', Items.GOLD_NUGGET,
|
||||
'R', Items.REDSTONE,
|
||||
'D', Items.DIAMOND,
|
||||
'E', Items.EMERALD);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user