aboutsummaryrefslogtreecommitdiff
path: root/src/Java/binnie/extrabees/apiary/IndustrialFrame.java
diff options
context:
space:
mode:
authorDraknyte1 <Draknyte1@hotmail.com>2016-02-19 17:38:35 +1000
committerDraknyte1 <Draknyte1@hotmail.com>2016-02-19 17:38:35 +1000
commit7011e367ac5ccc34473283d6245bc2cec93b835e (patch)
treecc5675471f1101631bec2cde9713cb9c0004cc8f /src/Java/binnie/extrabees/apiary/IndustrialFrame.java
parentc68c67d74f39c3eb075ac29e88936a1976ef089b (diff)
downloadGT5-Unofficial-7011e367ac5ccc34473283d6245bc2cec93b835e.tar.gz
GT5-Unofficial-7011e367ac5ccc34473283d6245bc2cec93b835e.tar.bz2
GT5-Unofficial-7011e367ac5ccc34473283d6245bc2cec93b835e.zip
Removed Hard dependency on gregtech as another Project and added dev versions of all requires libs.
Also started work on GT-EU EnderIO conduits, adding @Optional annotations where possible and a few other nice things.
Diffstat (limited to 'src/Java/binnie/extrabees/apiary/IndustrialFrame.java')
-rw-r--r--src/Java/binnie/extrabees/apiary/IndustrialFrame.java141
1 files changed, 0 insertions, 141 deletions
diff --git a/src/Java/binnie/extrabees/apiary/IndustrialFrame.java b/src/Java/binnie/extrabees/apiary/IndustrialFrame.java
deleted file mode 100644
index f8d3e5ff7a..0000000000
--- a/src/Java/binnie/extrabees/apiary/IndustrialFrame.java
+++ /dev/null
@@ -1,141 +0,0 @@
-package binnie.extrabees.apiary;
-
-import forestry.api.apiculture.IBeeGenome;
-import forestry.api.apiculture.IBeeModifier;
-import net.minecraft.item.Item;
-import net.minecraft.item.ItemStack;
-import net.minecraft.nbt.NBTTagCompound;
-
-public enum IndustrialFrame
- implements IBeeModifier
-{
- Empty("Empty", 5, 0), Light("Glowstone Lighting", 2, 4), Rain("Rain Shielding", 2, 4), Sunlight("Sunlight Simulator", 4, 8), Soul("Low Grade Mutagen", 5, 15), Uranium("High Grade Mutagen", 10, 50), Cage("Meshed Restrainer", 3, 12), Freedom("Territory Extension", 3, 16), Honey("Honey Amplifier", 4, 12), Jelly("Gelatin Amplifier", 8, 36), Leaf("Pollinator MK I", 3, 15), Pollen("Pollinator MK II", 7, 25), Clay("Lifespan Extensor", 2, 10), Emerald("Eon Simulator", 7, 20), NetherStar("Immortality Gate", 12, 50), Poison("Mortality Inhibitor", 8, 18);
-
- String name;
-
- private IndustrialFrame(String name, int wear, int power)
- {
- this.name = name;
- this.wearMod = wear;
- this.power = power;
- }
-
- public static ItemStack getItemStack(Item item, IndustrialFrame frame)
- {
- ItemStack stack = new ItemStack(item);
- NBTTagCompound nbt = new NBTTagCompound();
- nbt.setInteger("frame", frame.ordinal());
- stack.setTagCompound(nbt);
- return stack;
- }
-
- static
- {
- Light.lighted = true;
-
- Rain.rain = true;
-
- Sunlight.lighted = true;
- Sunlight.sunlight = true;
-
- Soul.mutationMod = 1.3F;
-
- Uranium.mutationMod = 2.0F;
-
- Cage.territoryMod = 0.4F;
-
- Freedom.territoryMod = 1.4F;
-
- Honey.productionMod = 1.4F;
-
- Jelly.productionMod = 1.8F;
-
- Leaf.floweringMod = 1.4F;
-
- Pollen.floweringMod = 2.0F;
-
- Clay.lifespanMod = 1.4F;
-
- Emerald.lifespanMod = 2.0F;
-
- NetherStar.lifespanMod = 20.0F;
-
- Poison.lifespanMod = 0.5F;
- }
-
- float territoryMod = 1.0F;
- float mutationMod = 1.0F;
- float lifespanMod = 1.0F;
- float productionMod = 1.0F;
- float floweringMod = 1.0F;
- boolean lighted = false;
- boolean sunlight = false;
- boolean rain = false;
- int wearMod;
- int power;
-
- public float getTerritoryModifier(IBeeGenome genome, float currentModifier)
- {
- return this.territoryMod;
- }
-
- public float getMutationModifier(IBeeGenome genome, IBeeGenome mate, float currentModifier)
- {
- return this.mutationMod;
- }
-
- public float getLifespanModifier(IBeeGenome genome, IBeeGenome mate, float currentModifier)
- {
- return this.lifespanMod;
- }
-
- public float getProductionModifier(IBeeGenome genome, float currentModifier)
- {
- return this.productionMod;
- }
-
- public float getFloweringModifier(IBeeGenome genome, float currentModifier)
- {
- return this.floweringMod;
- }
-
- public boolean isSealed()
- {
- return this.rain;
- }
-
- public boolean isSelfLighted()
- {
- return this.lighted;
- }
-
- public boolean isSunlightSimulated()
- {
- return this.sunlight;
- }
-
- public boolean isHellish()
- {
- return false;
- }
-
- public Object getName()
- {
- return this.name;
- }
-
- public int getWearModifier()
- {
- return this.wearMod;
- }
-
- public int getPowerUsage()
- {
- return this.power;
- }
-
- public float getGeneticDecay(IBeeGenome genome, float currentModifier)
- {
- return 1.0F;
- }
-}