Package net.minecraft
Record Class class_11931.class_11933
java.lang.Object
java.lang.Record
net.minecraft.class_11931.class_11933
- Record Components:
states-
- All Implemented Interfaces:
class_11942
- Enclosing class:
class_11931
@Environment(CLIENT)
private static record class_11931.class_11933(List<class_11931.class_11932> states)
extends Record
implements class_11942
- Mappings:
Namespace Name named net/minecraft/class_11931$class_11933intermediary net/minecraft/class_11931$class_11933official hbd$bnamed statesintermediary comp_4811official a
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<class_11931.class_11932> The field for thestatesrecord component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.states()Returns the value of thestatesrecord component.voidsubmit(OrderedRenderCommandQueue orderedRenderCommandQueue) final StringtoString()Returns a string representation of this record class.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.class_11942
method_74316
-
Field Details
-
states
The field for thestatesrecord component.
-
-
Constructor Details
-
class_11933
class_11933(List<class_11931.class_11932> list)
-
-
Method Details
-
submit
- Specified by:
submitin interfaceclass_11942
-
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). -
states
Returns the value of thestatesrecord component.- Returns:
- the value of the
statesrecord component
-