Record Class SoundMapKey
java.lang.Object
java.lang.Record
zombie.scripting.objects.SoundMapKey
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SoundMapKeystatic final SoundMapKeystatic final SoundMapKeystatic final SoundMapKeystatic final SoundMapKey -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
ACTIVATE
-
DEACTIVATE
-
DUMP_CONTENTS
-
EQUIPPED_AND_ACTIVATED
-
SPEAR_STAB
-
-
Constructor Details
-
SoundMapKey
Creates an instance of aSoundMapKeyrecord class.- Parameters:
id- the value for theidrecord 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 theidrecord component.- Returns:
- the value of the
idrecord component
-