Package net.minecraft
Record Class class_12087.class_12089
java.lang.Object
java.lang.Record
net.minecraft.class_12087.class_12089
- Record Components:
level-
- All Implemented Interfaces:
class_12087
- Enclosing interface:
class_12087
public static record class_12087.class_12089(class_12094 level)
extends Record
implements class_12087
- Mappings:
Namespace Name named net/minecraft/class_12087$class_12089intermediary net/minecraft/class_12087$class_12089official bbo$bnamed levelintermediary comp_4943official d
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.class_12087
class_12087.class_12088, class_12087.class_12089 -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<class_12087.class_12089> private final class_12094The field for thelevelrecord component.Fields inherited from interface net.minecraft.class_12087
field_63188, field_63189 -
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.level()Returns the value of thelevelrecord component.com.mojang.serialization.MapCodec<class_12087.class_12089> final StringtoString()Returns a string representation of this record class.
-
Field Details
-
level
The field for thelevelrecord component. -
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/class_12087$class_12089;CODEC:Lcom/mojang/serialization/MapCodec;intermediary field_63191Lnet/minecraft/class_12087$class_12089;field_63191:Lcom/mojang/serialization/MapCodec;official cLbbo$b;c:Lcom/mojang/serialization/MapCodec;
-
-
Constructor Details
-
class_12089
-
-
Method Details
-
method_75012
- Specified by:
method_75012in interfaceclass_12087- Mappings:
Namespace Name Mixin selector named method_75012Lnet/minecraft/class_12087;method_75012()Lcom/mojang/serialization/MapCodec;intermediary method_75012Lnet/minecraft/class_12087;method_75012()Lcom/mojang/serialization/MapCodec;official aLbbo;a()Lcom/mojang/serialization/MapCodec;
-
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). -
level
Returns the value of thelevelrecord component.- Returns:
- the value of the
levelrecord component
-