mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-19 03:49:07 +00:00
port to forestry 4.2
This commit is contained in:
1 parent
dbc5c1a564
commit
f969f63b66
3697 files changed
+78372
No files matched your search
@@ -0,0 +1,66 @@
|
||||
//
|
||||
// Decompiled by Procyon v0.5.30
|
||||
//
|
||||
|
||||
package binnie.genetics.item;
|
||||
|
||||
import java.util.List;
|
||||
import binnie.genetics.Genetics;
|
||||
import net.minecraft.client.renderer.texture.IIconRegister;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.util.IIcon;
|
||||
import binnie.core.item.IItemMisc;
|
||||
|
||||
public enum GeneticsItems implements IItemMisc
|
||||
{
|
||||
LaboratoryCasing("Reinforced Casing", "casingIron"),
|
||||
DNADye("DNA Dye", "dnaDye"),
|
||||
FluorescentDye("Fluorescent Dye", "dyeFluor"),
|
||||
Enzyme("Enzyme", "enzyme"),
|
||||
GrowthMedium("Growth Medium", "growthMedium"),
|
||||
EmptySequencer("Blank Sequence", "sequencerEmpty"),
|
||||
EmptySerum("Empty Serum Vial", "serumEmpty"),
|
||||
EmptyGenome("Empty Serum Array", "genomeEmpty"),
|
||||
Cylinder("Glass Cylinder", "cylinderEmpty"),
|
||||
IntegratedCircuit("Integrated Circuit Board", "integratedCircuit"),
|
||||
IntegratedCPU("Integrated CPU", "integratedCPU"),
|
||||
IntegratedCasing("Integrated Casing", "casingCircuit");
|
||||
|
||||
IIcon icon;
|
||||
String name;
|
||||
String iconPath;
|
||||
|
||||
private GeneticsItems(final String name, final String iconPath) {
|
||||
this.name = name;
|
||||
this.iconPath = iconPath;
|
||||
}
|
||||
|
||||
@Override
|
||||
public IIcon getIcon(final ItemStack stack) {
|
||||
return this.icon;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void registerIcons(final IIconRegister register) {
|
||||
this.icon = Genetics.proxy.getIcon(register, this.iconPath);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addInformation(final List par3List) {
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getName(final ItemStack stack) {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ItemStack get(final int size) {
|
||||
return (Genetics.itemGenetics == null) ? null : new ItemStack(Genetics.itemGenetics, size, this.ordinal());
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isActive() {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user