Package net.minecraft.entity.decoration
Record Class DisplayEntity.class_8399.class_8400
java.lang.Object
java.lang.Record
net.minecraft.entity.decoration.DisplayEntity.class_8399.class_8400
- Record Components:
color-lod-shape-
- Enclosing class:
DisplayEntity.class_8399
public static record DisplayEntity.class_8399.class_8400(DisplayEntity.IntLerper color, DisplayEntity.IntLerper lod, DisplayEntity.IntLerper shape)
extends Record
- Mappings:
Namespace Name official biq$m$aintermediary net/minecraft/class_8113$class_8399$class_8400named net/minecraft/entity/decoration/DisplayEntity$class_8399$class_8400official aintermediary comp_1425named colorofficial bintermediary comp_1426named lodofficial cintermediary comp_1427named shape
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final DisplayEntity.IntLerperThe field for thecolorrecord component.private final DisplayEntity.IntLerperThe field for thelodrecord component.private final DisplayEntity.IntLerperThe field for theshaperecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_8400(DisplayEntity.IntLerper intLerper, DisplayEntity.IntLerper intLerper2, DisplayEntity.IntLerper intLerper3) -
Method Summary
Modifier and TypeMethodDescriptioncolor()Returns the value of thecolorrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.lod()Returns the value of thelodrecord component.shape()Returns the value of theshaperecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
Constructor Details
-
class_8400
public class_8400(DisplayEntity.IntLerper intLerper, DisplayEntity.IntLerper intLerper2, DisplayEntity.IntLerper intLerper3)
-
-
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). -
color
Returns the value of thecolorrecord component.- Returns:
- the value of the
colorrecord component
-
lod
Returns the value of thelodrecord component.- Returns:
- the value of the
lodrecord component
-
shape
Returns the value of theshaperecord component.- Returns:
- the value of the
shaperecord component
-