Record Class TeachedRecipeConstantKey
java.lang.Object
java.lang.Record
zombie.scripting.objects.TeachedRecipeConstantKey
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final TeachedRecipeConstantKey
static final TeachedRecipeConstantKey
static final TeachedRecipeConstantKey
static final TeachedRecipeConstantKey
static final TeachedRecipeConstantKey
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of aTeachedRecipeConstantKey
record class. -
Method Summary
-
Field Details
-
ADVANCED_MECHANICS
-
BASIC_MECHANICS
-
GENERATOR
-
HERBALIST
-
INTERMEDIATE_MECHANICS
-
-
Constructor Details
-
TeachedRecipeConstantKey
Creates an instance of aTeachedRecipeConstantKey
record class.- Parameters:
id
- the value for theid
record component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object)
. -
id
Returns the value of theid
record component.- Returns:
- the value of the
id
record component
-