Package net.minecraft.entity
Record Class LivingEntity.FallSounds
java.lang.Object
java.lang.Record
net.minecraft.entity.LivingEntity.FallSounds
- Record Components:
small-big-
- Enclosing class:
LivingEntity
- Mappings:
Namespace Name official bfx$aintermediary net/minecraft/class_1309$class_6823named net/minecraft/entity/LivingEntity$FallSoundsofficial aintermediary comp_301named smallofficial bintermediary comp_302named big
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final SoundEventThe field for thebigrecord component.private final SoundEventThe field for thesmallrecord component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbig()Returns the value of thebigrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.small()Returns the value of thesmallrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
Constructor Details
-
FallSounds
-
-
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). -
small
Returns the value of thesmallrecord component.- Returns:
- the value of the
smallrecord component
-
big
Returns the value of thebigrecord component.- Returns:
- the value of the
bigrecord component
-