Class AbstractTraitType
java.lang.Object
com.hexagram2021.chromosomelib.common.trait.AbstractTraitType
- All Implemented Interfaces:
TraitType
Abstract trait type.
-
Field Summary
Fields inherited from interface com.hexagram2021.chromosomelib.common.trait.TraitType
COMPARATOR -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractTraitType(net.minecraft.resources.ResourceLocation name) Constructor. -
Method Summary
-
Constructor Details
-
AbstractTraitType
protected AbstractTraitType(net.minecraft.resources.ResourceLocation name) Constructor.- Parameters:
name- the name of this trait type
-
-
Method Details
-
toString
Description copied from interface:TraitTypeThe string representation of this trait type. It is recommended to use the registry name of this trait type. -
values
All traits bound to this trait type. -
setValues
Set all traits bound to this trait type.
-