Package forestry.api.genetics
Interface ILifeStage
- All Superinterfaces:
net.minecraft.util.StringRepresentable
- All Known Implementing Classes:
BeeLifeStage,ButterflyLifeStage,TreeLifeStage
public interface ILifeStage
extends net.minecraft.util.StringRepresentable
The replacement for the old ISpeciesType class. Denotes different forms of the same species (ex. larvae, princess, queen, drone)
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.util.StringRepresentable
net.minecraft.util.StringRepresentable.EnumCodec<E extends Enum<E> & net.minecraft.util.StringRepresentable> -
Field Summary
Fields inherited from interface net.minecraft.util.StringRepresentable
PRE_BUILT_MAP_THRESHOLD -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.item.Item
-
Method Details
-
getSerializedName
String getSerializedName()- Specified by:
getSerializedNamein interfacenet.minecraft.util.StringRepresentable- Returns:
- The simple name of this life stage (ex.
"drone"), used in commands.
-
getItemForm
net.minecraft.world.item.Item getItemForm()- Returns:
- The item form of this life stage. Every life stage is associated with an item form.
-