start 1.10.2

This commit is contained in:
marcin212 committed 2016-10-20 04:32:47 +02:00
1 parent f969f63b66
commit 6a7c4bf67d
826 files changed
+60550 -63758

No files matched your search

@@ -1,146 +1,141 @@
//
// Decompiled by Procyon v0.5.30
//
package binnie.extrabees.apiary;
import forestry.api.apiculture.IBeeGenome;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.item.ItemStack;
import net.minecraft.item.Item;
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);
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;
float territoryMod;
float mutationMod;
float lifespanMod;
float productionMod;
float floweringMod;
boolean lighted;
boolean sunlight;
boolean rain;
int wearMod;
int power;
String name;
float territoryMod;
float mutationMod;
float lifespanMod;
float productionMod;
float floweringMod;
boolean lighted;
boolean sunlight;
boolean rain;
int wearMod;
int power;
private IndustrialFrame(final String name, final int wear, final int power) {
this.territoryMod = 1.0f;
this.mutationMod = 1.0f;
this.lifespanMod = 1.0f;
this.productionMod = 1.0f;
this.floweringMod = 1.0f;
this.lighted = false;
this.sunlight = false;
this.rain = false;
this.name = name;
this.wearMod = wear;
this.power = power;
}
private IndustrialFrame(final String name, final int wear, final int power) {
this.territoryMod = 1.0f;
this.mutationMod = 1.0f;
this.lifespanMod = 1.0f;
this.productionMod = 1.0f;
this.floweringMod = 1.0f;
this.lighted = false;
this.sunlight = false;
this.rain = false;
this.name = name;
this.wearMod = wear;
this.power = power;
}
public static ItemStack getItemStack(final Item item, final IndustrialFrame frame) {
final ItemStack stack = new ItemStack(item);
final NBTTagCompound nbt = new NBTTagCompound();
nbt.setInteger("frame", frame.ordinal());
stack.setTagCompound(nbt);
return stack;
}
public static ItemStack getItemStack(final Item item, final IndustrialFrame frame) {
final ItemStack stack = new ItemStack(item);
final NBTTagCompound nbt = new NBTTagCompound();
nbt.setInteger("frame", frame.ordinal());
stack.setTagCompound(nbt);
return stack;
}
@Override
public float getTerritoryModifier(final IBeeGenome genome, final float currentModifier) {
return this.territoryMod;
}
@Override
public float getTerritoryModifier(final IBeeGenome genome, final float currentModifier) {
return this.territoryMod;
}
@Override
public float getMutationModifier(final IBeeGenome genome, final IBeeGenome mate, final float currentModifier) {
return this.mutationMod;
}
@Override
public float getMutationModifier(final IBeeGenome genome, final IBeeGenome mate, final float currentModifier) {
return this.mutationMod;
}
@Override
public float getLifespanModifier(final IBeeGenome genome, final IBeeGenome mate, final float currentModifier) {
return this.lifespanMod;
}
@Override
public float getLifespanModifier(final IBeeGenome genome, final IBeeGenome mate, final float currentModifier) {
return this.lifespanMod;
}
@Override
public float getProductionModifier(final IBeeGenome genome, final float currentModifier) {
return this.productionMod;
}
@Override
public float getProductionModifier(final IBeeGenome genome, final float currentModifier) {
return this.productionMod;
}
@Override
public float getFloweringModifier(final IBeeGenome genome, final float currentModifier) {
return this.floweringMod;
}
@Override
public float getFloweringModifier(final IBeeGenome genome, final float currentModifier) {
return this.floweringMod;
}
@Override
public boolean isSealed() {
return this.rain;
}
@Override
public boolean isSealed() {
return this.rain;
}
@Override
public boolean isSelfLighted() {
return this.lighted;
}
@Override
public boolean isSelfLighted() {
return this.lighted;
}
@Override
public boolean isSunlightSimulated() {
return this.sunlight;
}
@Override
public boolean isSunlightSimulated() {
return this.sunlight;
}
@Override
public boolean isHellish() {
return false;
}
@Override
public boolean isHellish() {
return false;
}
public Object getName() {
return this.name;
}
public Object getName() {
return this.name;
}
public int getWearModifier() {
return this.wearMod;
}
public int getWearModifier() {
return this.wearMod;
}
public int getPowerUsage() {
return this.power;
}
public int getPowerUsage() {
return this.power;
}
@Override
public float getGeneticDecay(final IBeeGenome genome, final float currentModifier) {
return 1.0f;
}
@Override
public float getGeneticDecay(final IBeeGenome genome, final float currentModifier) {
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;
}
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;
}
}