Package net.minecraft
Record Class class_10197.class_10198
java.lang.Object
java.lang.Record
net.minecraft.class_10197.class_10198
- Record Components:
layerType-layer-
- Enclosing class:
class_10197
@Environment(CLIENT)
private static record class_10197.class_10198(class_10186.class_10190 layerType, class_10186.class_10189 layer)
extends Record
- Mappings:
Namespace Name named net/minecraft/class_10197$class_10198intermediary net/minecraft/class_10197$class_10198official grx$anamed layerTypeintermediary comp_3197official anamed layerintermediary comp_3198official b
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final class_10186.class_10189The field for thelayerrecord component.private final class_10186.class_10190The field for thelayerTyperecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_10198(class_10186.class_10190 class_10190, class_10186.class_10189 class_10189) -
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.layer()Returns the value of thelayerrecord component.Returns the value of thelayerTyperecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
Constructor Details
-
class_10198
class_10198(class_10186.class_10190 class_10190, class_10186.class_10189 class_10189)
-
-
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). -
layerType
Returns the value of thelayerTyperecord component.- Returns:
- the value of the
layerTyperecord component
-
layer
Returns the value of thelayerrecord component.- Returns:
- the value of the
layerrecord component
-