mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-25 22:44:38 +00:00
Some reformat code for 1.11.2 source (#84)
* Optimized imports * Some code reformat * Some refactoring and code reformat * Some code reformat
This commit is contained in:
1 parent
886c36a308
commit
c3809fbc27
508 files changed
+6677
-6238
No files matched your search
@@ -37,5 +37,4 @@ public class ItemBeehive extends ItemBlock {
|
||||
public String getItemStackDisplayName(final ItemStack itemStack) {
|
||||
return EnumHiveType.values()[itemStack.getItemDamage()].toString() + " Hive";
|
||||
}
|
||||
|
||||
}
|
||||
@@ -2,7 +2,11 @@ package binnie.extrabees.items;
|
||||
|
||||
import binnie.extrabees.items.types.EnumHiveFrame;
|
||||
import binnie.extrabees.utils.ExtraBeesResourceLocation;
|
||||
import forestry.api.apiculture.*;
|
||||
import forestry.api.apiculture.IBee;
|
||||
import forestry.api.apiculture.IBeeGenome;
|
||||
import forestry.api.apiculture.IBeeHousing;
|
||||
import forestry.api.apiculture.IBeeModifier;
|
||||
import forestry.api.apiculture.IHiveFrame;
|
||||
import forestry.api.core.IItemModelRegister;
|
||||
import forestry.api.core.IModelManager;
|
||||
import forestry.api.core.Tabs;
|
||||
@@ -20,6 +24,8 @@ import java.util.List;
|
||||
|
||||
public class ItemHiveFrame extends Item implements IHiveFrame, IBeeModifier, IItemModelRegister {
|
||||
|
||||
private final EnumHiveFrame frame;
|
||||
|
||||
public ItemHiveFrame(final EnumHiveFrame frame) {
|
||||
this.frame = frame;
|
||||
this.setMaxDamage(frame.getMaxDamage());
|
||||
@@ -28,8 +34,6 @@ public class ItemHiveFrame extends Item implements IHiveFrame, IBeeModifier, IIt
|
||||
this.setUnlocalizedName("hive_frame");
|
||||
}
|
||||
|
||||
private final EnumHiveFrame frame;
|
||||
|
||||
@Override
|
||||
public String getItemStackDisplayName(final ItemStack itemStack) {
|
||||
return this.frame.getName();
|
||||
@@ -115,5 +119,4 @@ public class ItemHiveFrame extends Item implements IHiveFrame, IBeeModifier, IIt
|
||||
public IBeeModifier getBeeModifier() {
|
||||
return this;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -264,5 +264,4 @@ public class ItemHoneyComb extends ItemProduct implements IColoredItem {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
@@ -7,6 +7,11 @@ import net.minecraft.item.ItemStack;
|
||||
|
||||
public class ItemHoneyCrystal extends Item {
|
||||
|
||||
//TODO: Usage??
|
||||
private int maxCharge;
|
||||
private int transferLimit;
|
||||
private int tier;
|
||||
|
||||
public ItemHoneyCrystal(String name) {
|
||||
this.maxCharge = 8000;
|
||||
this.transferLimit = 500;
|
||||
@@ -19,14 +24,8 @@ public class ItemHoneyCrystal extends Item {
|
||||
ExtraBees.proxy.registerModel(this, 0);
|
||||
}
|
||||
|
||||
//TODO: Usage??
|
||||
private int maxCharge;
|
||||
private int transferLimit;
|
||||
private int tier;
|
||||
|
||||
@Override
|
||||
public String getItemStackDisplayName(final ItemStack i) {
|
||||
return ExtraBees.proxy.localise("item.honeycrystal");
|
||||
}
|
||||
|
||||
}
|
||||
@@ -16,5 +16,4 @@ public class ItemHoneyCrystalEmpty extends ItemHoneyCrystal {
|
||||
public String getItemStackDisplayName(final ItemStack i) {
|
||||
return ExtraBees.proxy.localise("item.honeycrystal.empty");
|
||||
}
|
||||
|
||||
}
|
||||
@@ -5,7 +5,6 @@ import forestry.api.core.Tabs;
|
||||
import forestry.core.items.IColoredItem;
|
||||
import net.minecraft.item.ItemStack;
|
||||
|
||||
|
||||
public class ItemHoneyDrop extends ItemProduct implements IColoredItem {
|
||||
|
||||
public ItemHoneyDrop() {
|
||||
@@ -13,7 +12,6 @@ public class ItemHoneyDrop extends ItemProduct implements IColoredItem {
|
||||
this.setCreativeTab(Tabs.tabApiculture);
|
||||
this.setUnlocalizedName("honey_drop");
|
||||
setRegistryName("honey_drop");
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -23,5 +21,4 @@ public class ItemHoneyDrop extends ItemProduct implements IColoredItem {
|
||||
}
|
||||
return EnumHoneyDrop.get(itemStack).getColour()[1];
|
||||
}
|
||||
|
||||
}
|
||||
@@ -15,6 +15,22 @@ import java.util.List;
|
||||
|
||||
public class ItemIndustrialFrame extends Item {
|
||||
|
||||
public ItemIndustrialFrame() {
|
||||
this.setCreativeTab(CreativeTabs.MISC);
|
||||
this.setMaxDamage(400);
|
||||
this.setMaxStackSize(1);
|
||||
this.setUnlocalizedName("industrialFrame");
|
||||
}
|
||||
|
||||
@Nullable
|
||||
public static IndustrialFrame getFrame(final ItemStack stack) {
|
||||
NBTTagCompound tagCompound = stack.getTagCompound();
|
||||
if (tagCompound == null || !tagCompound.hasKey("frame")) {
|
||||
return null;
|
||||
}
|
||||
return IndustrialFrame.values()[tagCompound.getInteger("frame")];
|
||||
}
|
||||
|
||||
@Override
|
||||
@SideOnly(Side.CLIENT)
|
||||
public void getSubItems(final Item itemIn, final CreativeTabs tab, final NonNullList<ItemStack> subItems) {
|
||||
@@ -43,21 +59,4 @@ public class ItemIndustrialFrame extends Item {
|
||||
public String getItemStackDisplayName(final ItemStack itemStack) {
|
||||
return "Industrial Frame";
|
||||
}
|
||||
|
||||
public ItemIndustrialFrame() {
|
||||
this.setCreativeTab(CreativeTabs.MISC);
|
||||
this.setMaxDamage(400);
|
||||
this.setMaxStackSize(1);
|
||||
this.setUnlocalizedName("industrialFrame");
|
||||
}
|
||||
|
||||
@Nullable
|
||||
public static IndustrialFrame getFrame(final ItemStack stack) {
|
||||
NBTTagCompound tagCompound = stack.getTagCompound();
|
||||
if (tagCompound == null || !tagCompound.hasKey("frame")) {
|
||||
return null;
|
||||
}
|
||||
return IndustrialFrame.values()[tagCompound.getInteger("frame")];
|
||||
}
|
||||
|
||||
}
|
||||
@@ -15,9 +15,6 @@ import net.minecraftforge.fml.relauncher.SideOnly;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Created by Elec332 on 13-5-2017.
|
||||
*/
|
||||
public class ItemMiscProduct extends ItemProduct {
|
||||
|
||||
public ItemMiscProduct(CreativeTabs tab, IEBItemMiscProvider[] types) {
|
||||
@@ -41,5 +38,4 @@ public class ItemMiscProduct extends ItemProduct {
|
||||
ModelLoader.setCustomModelResourceLocation(item, type.ordinal(), new ModelResourceLocation(new ExtraBeesResourceLocation("misc/" + ((IEBItemMiscProvider) type).getModelPath()), "inventory"));
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -14,6 +14,8 @@ import net.minecraftforge.fml.relauncher.SideOnly;
|
||||
|
||||
public class ItemProduct extends Item implements IItemModelRegister {
|
||||
|
||||
protected IEBEnumItem[] types;
|
||||
|
||||
public ItemProduct(final IEBEnumItem[] types) {
|
||||
this.setMaxStackSize(64);
|
||||
this.setMaxDamage(0);
|
||||
@@ -21,8 +23,6 @@ public class ItemProduct extends Item implements IItemModelRegister {
|
||||
this.types = types;
|
||||
}
|
||||
|
||||
protected IEBEnumItem[] types;
|
||||
|
||||
public IEBEnumItem get(final ItemStack stack) {
|
||||
final int i = stack.getItemDamage();
|
||||
if (i >= 0 && i < this.types.length) {
|
||||
@@ -53,5 +53,4 @@ public class ItemProduct extends Item implements IItemModelRegister {
|
||||
ModelLoader.setCustomModelResourceLocation(item, type.ordinal(), new ModelResourceLocation(getRegistryName(), "inventory"));
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -21,5 +21,4 @@ public class ItemPropolis extends ItemProduct implements IColoredItem {
|
||||
}
|
||||
return EnumPropolis.get(itemStack).colour[1];
|
||||
}
|
||||
|
||||
}
|
||||
@@ -5,7 +5,11 @@ import binnie.extrabees.items.ItemHiveFrame;
|
||||
import binnie.extrabees.utils.BeeModifierLogic;
|
||||
import binnie.extrabees.utils.EnumBeeBooleanModifier;
|
||||
import binnie.extrabees.utils.EnumBeeModifier;
|
||||
import forestry.api.apiculture.*;
|
||||
import forestry.api.apiculture.IBee;
|
||||
import forestry.api.apiculture.IBeeGenome;
|
||||
import forestry.api.apiculture.IBeeHousing;
|
||||
import forestry.api.apiculture.IBeeModifier;
|
||||
import forestry.api.apiculture.IHiveFrame;
|
||||
import forestry.apiculture.PluginApiculture;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.init.Blocks;
|
||||
@@ -27,6 +31,20 @@ public enum EnumHiveFrame implements IHiveFrame, IBeeModifier {
|
||||
Clay,
|
||||
Debug;
|
||||
|
||||
private final Item item;
|
||||
private final int maxDamage;
|
||||
private final BeeModifierLogic logic;
|
||||
|
||||
EnumHiveFrame() {
|
||||
this(240);
|
||||
}
|
||||
|
||||
EnumHiveFrame(int maxDamage) {
|
||||
this.maxDamage = maxDamage;
|
||||
this.logic = new BeeModifierLogic();
|
||||
this.item = new ItemHiveFrame(this).setRegistryName("hive_frame." + name().toLowerCase());
|
||||
}
|
||||
|
||||
public static void init() {
|
||||
EnumHiveFrame.Cocoa.logic.setModifier(EnumBeeModifier.Lifespan, 0.75f, 0.25f);
|
||||
EnumHiveFrame.Cocoa.logic.setModifier(EnumBeeModifier.Production, 1.5f, 5.0f);
|
||||
@@ -47,20 +65,6 @@ public enum EnumHiveFrame implements IHiveFrame, IBeeModifier {
|
||||
GameRegistry.addRecipe(new ItemStack(EnumHiveFrame.Clay.item), " c ", "cFc", " c ", 'F', impregnatedFrame, 'c', Items.CLAY_BALL);
|
||||
}
|
||||
|
||||
EnumHiveFrame() {
|
||||
this(240);
|
||||
}
|
||||
|
||||
EnumHiveFrame(int maxDamage) {
|
||||
this.maxDamage = maxDamage;
|
||||
this.logic = new BeeModifierLogic();
|
||||
this.item = new ItemHiveFrame(this).setRegistryName("hive_frame." + name().toLowerCase());
|
||||
}
|
||||
|
||||
private final Item item;
|
||||
private final int maxDamage;
|
||||
private final BeeModifierLogic logic;
|
||||
|
||||
public int getIconIndex() {
|
||||
return 55 + this.ordinal();
|
||||
}
|
||||
|
||||
@@ -101,6 +101,11 @@ public enum EnumHoneyComb implements IEBEnumItem {
|
||||
CYANITE(2564173, 34541),
|
||||
BLUTONIUM(2564173, 1769702);
|
||||
|
||||
public int[] colour;
|
||||
public Map<ItemStack, Float> products;
|
||||
public boolean active;
|
||||
public boolean deprecated;
|
||||
|
||||
EnumHoneyComb() {
|
||||
this(16777215, 16777215);
|
||||
this.active = false;
|
||||
@@ -115,10 +120,13 @@ public enum EnumHoneyComb implements IEBEnumItem {
|
||||
this.colour = new int[]{colour, colour2};
|
||||
}
|
||||
|
||||
public int[] colour;
|
||||
public Map<ItemStack, Float> products;
|
||||
public boolean active;
|
||||
public boolean deprecated;
|
||||
public static EnumHoneyComb get(final ItemStack itemStack) {
|
||||
final int i = itemStack.getItemDamage();
|
||||
if (i >= 0 && i < values().length) {
|
||||
return values()[i];
|
||||
}
|
||||
return values()[0];
|
||||
}
|
||||
|
||||
public void addRecipe() {
|
||||
RecipeManagers.centrifugeManager.addRecipe(20, this.get(1), this.products);
|
||||
@@ -129,14 +137,6 @@ public enum EnumHoneyComb implements IEBEnumItem {
|
||||
return this.active;
|
||||
}
|
||||
|
||||
public static EnumHoneyComb get(final ItemStack itemStack) {
|
||||
final int i = itemStack.getItemDamage();
|
||||
if (i >= 0 && i < values().length) {
|
||||
return values()[i];
|
||||
}
|
||||
return values()[0];
|
||||
}
|
||||
|
||||
@Override
|
||||
public ItemStack get(final int size) {
|
||||
return new ItemStack(ExtraBees.comb, size, this.ordinal());
|
||||
@@ -147,7 +147,7 @@ public enum EnumHoneyComb implements IEBEnumItem {
|
||||
return ExtraBees.proxy.localise("item.comb." + this.name().toLowerCase());
|
||||
}
|
||||
|
||||
public boolean addProduct(@Nullable Item item, final Float chance){
|
||||
public boolean addProduct(@Nullable Item item, final Float chance) {
|
||||
return addProduct(new ItemStack(Objects.firstNonNull(item, Item.getItemFromBlock(Blocks.AIR))), chance);
|
||||
}
|
||||
|
||||
|
||||
@@ -39,6 +39,10 @@ public enum EnumHoneyDrop implements IEBEnumItem {
|
||||
MAGENTA(15040472, 16711884, "for.honey"),
|
||||
LIGHTGRAY(10066329, 13224393, "for.honey");
|
||||
|
||||
private int[] colour;
|
||||
private String liquidName;
|
||||
private ItemStack remnant;
|
||||
|
||||
EnumHoneyDrop() {
|
||||
this(16777215, 16777215, "");
|
||||
}
|
||||
@@ -49,9 +53,13 @@ public enum EnumHoneyDrop implements IEBEnumItem {
|
||||
this.liquidName = liquid;
|
||||
}
|
||||
|
||||
private int[] colour;
|
||||
private String liquidName;
|
||||
private ItemStack remnant;
|
||||
public static EnumHoneyDrop get(final ItemStack itemStack) {
|
||||
final int i = itemStack.getItemDamage();
|
||||
if (i >= 0 && i < values().length) {
|
||||
return values()[i];
|
||||
}
|
||||
return values()[0];
|
||||
}
|
||||
|
||||
public void addRemnant(final ItemStack stack) {
|
||||
this.remnant = stack;
|
||||
@@ -69,14 +77,6 @@ public enum EnumHoneyDrop implements IEBEnumItem {
|
||||
return !this.remnant.isEmpty() && FluidRegistry.isFluidRegistered(this.getLiquidName());
|
||||
}
|
||||
|
||||
public static EnumHoneyDrop get(final ItemStack itemStack) {
|
||||
final int i = itemStack.getItemDamage();
|
||||
if (i >= 0 && i < values().length) {
|
||||
return values()[i];
|
||||
}
|
||||
return values()[0];
|
||||
}
|
||||
|
||||
@Override
|
||||
public ItemStack get(final int size) {
|
||||
return new ItemStack(ExtraBees.honeyDrop, size, this.ordinal());
|
||||
|
||||
@@ -18,6 +18,10 @@ public enum EnumPropolis implements IEBEnumItem {
|
||||
GLACIAL,
|
||||
PEAT;
|
||||
|
||||
public int[] colour;
|
||||
public String liquidName;
|
||||
public boolean active;
|
||||
|
||||
EnumPropolis() {
|
||||
this(16777215, 16777215, "");
|
||||
this.active = false;
|
||||
@@ -30,9 +34,13 @@ public enum EnumPropolis implements IEBEnumItem {
|
||||
this.liquidName = liquid;
|
||||
}
|
||||
|
||||
public int[] colour;
|
||||
public String liquidName;
|
||||
public boolean active;
|
||||
public static EnumPropolis get(final ItemStack itemStack) {
|
||||
final int i = itemStack.getItemDamage();
|
||||
if (i >= 0 && i < values().length) {
|
||||
return values()[i];
|
||||
}
|
||||
return values()[0];
|
||||
}
|
||||
|
||||
public void addRecipe() {
|
||||
final FluidStack liquid = Utils.getFluidFromName(this.liquidName, 500);
|
||||
@@ -46,14 +54,6 @@ public enum EnumPropolis implements IEBEnumItem {
|
||||
return this.active && Utils.getFluidFromName(this.liquidName, 100) != null;
|
||||
}
|
||||
|
||||
public static EnumPropolis get(final ItemStack itemStack) {
|
||||
final int i = itemStack.getItemDamage();
|
||||
if (i >= 0 && i < values().length) {
|
||||
return values()[i];
|
||||
}
|
||||
return values()[0];
|
||||
}
|
||||
|
||||
@Override
|
||||
public ItemStack get(final int size) {
|
||||
return new ItemStack(ExtraBees.propolis, size, this.ordinal());
|
||||
|
||||
@@ -40,11 +40,26 @@ public enum ExtraBeeItems implements IEBItemMiscProvider {
|
||||
BlutoniumDust("Blutonium Grains", "blutonium_dust"),
|
||||
CyaniteDust("Cyanite Grains", "cyanite_dust");
|
||||
|
||||
ExtraBeeItems(String name, String modelPath) {
|
||||
this.metalString = null;
|
||||
this.gemString = null;
|
||||
this.name = name;
|
||||
this.modelPath = modelPath;
|
||||
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");
|
||||
}
|
||||
|
||||
public final String name;
|
||||
@@ -54,6 +69,13 @@ public enum ExtraBeeItems implements IEBItemMiscProvider {
|
||||
@Nullable
|
||||
public String gemString;
|
||||
|
||||
ExtraBeeItems(String name, String modelPath) {
|
||||
this.metalString = null;
|
||||
this.gemString = null;
|
||||
this.name = name;
|
||||
this.modelPath = modelPath;
|
||||
}
|
||||
|
||||
private void setGem(final String string) {
|
||||
this.gemString = string;
|
||||
}
|
||||
@@ -89,26 +111,4 @@ public enum ExtraBeeItems implements IEBItemMiscProvider {
|
||||
return modelPath;
|
||||
}
|
||||
|
||||
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");
|
||||
}
|
||||
|
||||
}
|
||||
@@ -2,9 +2,6 @@ package binnie.extrabees.items.types;
|
||||
|
||||
import net.minecraft.item.ItemStack;
|
||||
|
||||
/**
|
||||
* Created by Elec332 on 12-5-2017.
|
||||
*/
|
||||
public interface IEBEnumItem {
|
||||
|
||||
boolean isActive();
|
||||
@@ -16,5 +13,4 @@ public interface IEBEnumItem {
|
||||
ItemStack get(final int p0);
|
||||
|
||||
String name();
|
||||
|
||||
}
|
||||
@@ -2,13 +2,9 @@ package binnie.extrabees.items.types;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Created by Elec332 on 13-5-2017.
|
||||
*/
|
||||
public interface IEBItemMiscProvider extends IEBEnumItem {
|
||||
|
||||
void addInformation(List<String> tooltip);
|
||||
|
||||
String getModelPath();
|
||||
|
||||
}
|
||||
@@ -27,6 +27,25 @@ public enum IndustrialFrame implements IBeeModifier {
|
||||
NetherStar("Immortality Gate", 12, 50),
|
||||
Poison("Mortality Inhibitor", 8, 18);
|
||||
|
||||
static {
|
||||
IndustrialFrame.Light.lighted = true;
|
||||
IndustrialFrame.Rain.rain = true;
|
||||
IndustrialFrame.Sunlight.lighted = true;
|
||||
IndustrialFrame.Sunlight.sunlight = true;
|
||||
IndustrialFrame.Soul.mutationMod = 1.3f;
|
||||
IndustrialFrame.Uranium.mutationMod = 2.0f;
|
||||
IndustrialFrame.Cage.territoryMod = 0.4f;
|
||||
IndustrialFrame.Freedom.territoryMod = 1.4f;
|
||||
IndustrialFrame.Honey.productionMod = 1.4f;
|
||||
IndustrialFrame.Jelly.productionMod = 1.8f;
|
||||
IndustrialFrame.Leaf.floweringMod = 1.4f;
|
||||
IndustrialFrame.Pollen.floweringMod = 2.0f;
|
||||
IndustrialFrame.Clay.lifespanMod = 1.4f;
|
||||
IndustrialFrame.Emerald.lifespanMod = 2.0f;
|
||||
IndustrialFrame.NetherStar.lifespanMod = 20.0f;
|
||||
IndustrialFrame.Poison.lifespanMod = 0.5f;
|
||||
}
|
||||
|
||||
String name;
|
||||
float territoryMod;
|
||||
float mutationMod;
|
||||
@@ -123,23 +142,4 @@ public enum IndustrialFrame implements IBeeModifier {
|
||||
return 1.0f;
|
||||
}
|
||||
|
||||
static {
|
||||
IndustrialFrame.Light.lighted = true;
|
||||
IndustrialFrame.Rain.rain = true;
|
||||
IndustrialFrame.Sunlight.lighted = true;
|
||||
IndustrialFrame.Sunlight.sunlight = true;
|
||||
IndustrialFrame.Soul.mutationMod = 1.3f;
|
||||
IndustrialFrame.Uranium.mutationMod = 2.0f;
|
||||
IndustrialFrame.Cage.territoryMod = 0.4f;
|
||||
IndustrialFrame.Freedom.territoryMod = 1.4f;
|
||||
IndustrialFrame.Honey.productionMod = 1.4f;
|
||||
IndustrialFrame.Jelly.productionMod = 1.8f;
|
||||
IndustrialFrame.Leaf.floweringMod = 1.4f;
|
||||
IndustrialFrame.Pollen.floweringMod = 2.0f;
|
||||
IndustrialFrame.Clay.lifespanMod = 1.4f;
|
||||
IndustrialFrame.Emerald.lifespanMod = 2.0f;
|
||||
IndustrialFrame.NetherStar.lifespanMod = 20.0f;
|
||||
IndustrialFrame.Poison.lifespanMod = 0.5f;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user