mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-19 03:49:07 +00:00
60 lines
1.5 KiB
Java
60 lines
1.5 KiB
Java
package binnie.genetics.item;
|
|
|
|
import java.util.List;
|
|
|
|
import net.minecraft.item.Item;
|
|
import net.minecraft.item.ItemStack;
|
|
|
|
import binnie.core.item.IItemMiscProvider;
|
|
import binnie.genetics.Genetics;
|
|
|
|
public enum GeneticsItems implements IItemMiscProvider {
|
|
LaboratoryCasing("Reinforced Casing", "casing_iron"),
|
|
DNADye("DNA Dye", "dna_dye"),
|
|
FluorescentDye("Fluorescent Dye", "dye_fluor"),
|
|
Enzyme("Enzyme", "enzyme"),
|
|
GrowthMedium("Growth Medium", "growth_medium"),
|
|
EmptySequencer("Blank Sequence", "sequencer_empty"),
|
|
EMPTY_SERUM("Empty Serum Vial", "serum_empty"),
|
|
EMPTY_GENOME("Empty Serum Array", "genome_empty"),
|
|
IntegratedCircuit("Integrated Circuit Board", "integrated_circuit"),
|
|
IntegratedCPU("Integrated CPU", "integrated_cpu"),
|
|
IntegratedCasing("Integrated Casing", "casing_circuit");
|
|
|
|
String name;
|
|
String modelPath;
|
|
|
|
GeneticsItems(final String name, final String modelPath) {
|
|
this.name = name;
|
|
this.modelPath = modelPath;
|
|
}
|
|
|
|
@Override
|
|
public String getModelPath() {
|
|
return modelPath;
|
|
}
|
|
|
|
@Override
|
|
public void addInformation(final List<String> tooltip) {
|
|
}
|
|
|
|
@Override
|
|
public String getName(final ItemStack stack) {
|
|
return this.name;
|
|
}
|
|
|
|
@Override
|
|
public ItemStack get(final int size) {
|
|
return new ItemStack(Genetics.items().getItemGenetics(), size, this.ordinal());
|
|
}
|
|
|
|
public ItemStack get(Item itemGenetics, final int size) {
|
|
return new ItemStack(itemGenetics, size, this.ordinal());
|
|
}
|
|
|
|
@Override
|
|
public boolean isActive() {
|
|
return true;
|
|
}
|
|
}
|