Package net.minecraft.entity.passive
Record Class CopperGolemOxidationLevel
java.lang.Object
java.lang.Record
net.minecraft.entity.passive.CopperGolemOxidationLevel
- Record Components:
spinHeadSound-hurtSound-deathSound-stepSound-texture-eyeTexture-
public record CopperGolemOxidationLevel(SoundEvent spinHeadSound, SoundEvent hurtSound, SoundEvent deathSound, SoundEvent stepSound, Identifier texture, Identifier eyeTexture)
extends Record
- Mappings:
Namespace Name named net/minecraft/entity/passive/CopperGolemOxidationLevelintermediary net/minecraft/class_11575official csrnamed spinHeadSoundintermediary comp_4431official anamed hurtSoundintermediary comp_4432official bnamed deathSoundintermediary comp_4433official cnamed stepSoundintermediary comp_4434official dnamed textureintermediary comp_4435official enamed eyeTextureintermediary comp_4436official f
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final SoundEventThe field for thedeathSoundrecord component.private final IdentifierThe field for theeyeTexturerecord component.private final SoundEventThe field for thehurtSoundrecord component.private final SoundEventThe field for thespinHeadSoundrecord component.private final SoundEventThe field for thestepSoundrecord component.private final IdentifierThe field for thetexturerecord component. -
Constructor Summary
ConstructorsConstructorDescriptionCopperGolemOxidationLevel(SoundEvent soundEvent, SoundEvent soundEvent2, SoundEvent soundEvent3, SoundEvent soundEvent4, Identifier identifier, Identifier identifier2) -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedeathSoundrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theeyeTexturerecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thehurtSoundrecord component.Returns the value of thespinHeadSoundrecord component.Returns the value of thestepSoundrecord component.texture()Returns the value of thetexturerecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
spinHeadSound
The field for thespinHeadSoundrecord component. -
hurtSound
The field for thehurtSoundrecord component. -
deathSound
The field for thedeathSoundrecord component. -
stepSound
The field for thestepSoundrecord component. -
texture
The field for thetexturerecord component. -
eyeTexture
The field for theeyeTexturerecord component.
-
-
Constructor Details
-
CopperGolemOxidationLevel
public CopperGolemOxidationLevel(SoundEvent soundEvent, SoundEvent soundEvent2, SoundEvent soundEvent3, SoundEvent soundEvent4, Identifier identifier, Identifier identifier2)
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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). -
spinHeadSound
Returns the value of thespinHeadSoundrecord component.- Returns:
- the value of the
spinHeadSoundrecord component
-
hurtSound
Returns the value of thehurtSoundrecord component.- Returns:
- the value of the
hurtSoundrecord component
-
deathSound
Returns the value of thedeathSoundrecord component.- Returns:
- the value of the
deathSoundrecord component
-
stepSound
Returns the value of thestepSoundrecord component.- Returns:
- the value of the
stepSoundrecord component
-
texture
Returns the value of thetexturerecord component.- Returns:
- the value of the
texturerecord component
-
eyeTexture
Returns the value of theeyeTexturerecord component.- Returns:
- the value of the
eyeTexturerecord component
-