Package net.minecraft
Record Class class_12090.class_12092
java.lang.Object
java.lang.Record
net.minecraft.class_12090.class_12092
- Record Components:
permission-
- All Implemented Interfaces:
class_12090
- Enclosing interface:
class_12090
public static record class_12090.class_12092(class_12087 permission)
extends Record
implements class_12090
- Mappings:
Namespace Name named net/minecraft/class_12090$class_12092intermediary net/minecraft/class_12090$class_12092official bbp$bnamed permissionintermediary comp_4944official c
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.class_12090
class_12090.class_12091, class_12090.class_12092 -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<class_12090.class_12092> private final class_12087The field for thepermissionrecord component.Fields inherited from interface net.minecraft.class_12090
field_63192 -
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.com.mojang.serialization.MapCodec<class_12090.class_12092> booleanmethod_75022(class_12096 class_12096) Returns the value of thepermissionrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
permission
The field for thepermissionrecord component. -
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/class_12090$class_12092;CODEC:Lcom/mojang/serialization/MapCodec;intermediary field_63195Lnet/minecraft/class_12090$class_12092;field_63195:Lcom/mojang/serialization/MapCodec;official bLbbp$b;b:Lcom/mojang/serialization/MapCodec;
-
-
Constructor Details
-
class_12092
-
-
Method Details
-
method_75021
- Specified by:
method_75021in interfaceclass_12090- Mappings:
Namespace Name Mixin selector named method_75021Lnet/minecraft/class_12090;method_75021()Lcom/mojang/serialization/MapCodec;intermediary method_75021Lnet/minecraft/class_12090;method_75021()Lcom/mojang/serialization/MapCodec;official aLbbp;a()Lcom/mojang/serialization/MapCodec;
-
method_75022
- Specified by:
method_75022in interfaceclass_12090- Mappings:
Namespace Name Mixin selector named method_75022Lnet/minecraft/class_12090;method_75022(Lnet/minecraft/class_12096;)Zintermediary method_75022Lnet/minecraft/class_12090;method_75022(Lnet/minecraft/class_12096;)Zofficial aLbbp;a(Lbbt;)Z
-
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). -
permission
Returns the value of thepermissionrecord component.- Returns:
- the value of the
permissionrecord component
-