Package net.minecraft
Record Class class_11136.class_11137
java.lang.Object
java.lang.Record
net.minecraft.class_11136.class_11137
- Record Components:
first-middle-last-
- Enclosing class:
class_11136
@Environment(CLIENT)
private static record class_11136.class_11137(Identifier first, Identifier middle, Identifier last)
extends Record
- Mappings:
Namespace Name named net/minecraft/class_11136$class_11137intermediary net/minecraft/class_11136$class_11137official giz$anamed firstintermediary comp_4015official anamed middleintermediary comp_4016official bnamed lastintermediary comp_4017official c
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final IdentifierThe field for thefirstrecord component.private final IdentifierThe field for thelastrecord component.private final IdentifierThe field for themiddlerecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_11137(Identifier identifier, Identifier identifier2, Identifier identifier3) -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.first()Returns the value of thefirstrecord component.final inthashCode()Returns a hash code value for this object.last()Returns the value of thelastrecord component.middle()Returns the value of themiddlerecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
Constructor Details
-
class_11137
class_11137(Identifier identifier, Identifier identifier2, Identifier identifier3)
-
-
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). -
first
Returns the value of thefirstrecord component.- Returns:
- the value of the
firstrecord component
-
middle
Returns the value of themiddlerecord component.- Returns:
- the value of the
middlerecord component
-
last
Returns the value of thelastrecord component.- Returns:
- the value of the
lastrecord component
-