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_12092
intermediary net/minecraft/class_12090$class_12092
official bbp$b
named permission
intermediary comp_4944
official c
  • Field Details

    • permission

      private final class_12087 permission
      The field for the permission record component.
    • CODEC

      public static final com.mojang.serialization.MapCodec<class_12090.class_12092> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/class_12090$class_12092;CODEC:Lcom/mojang/serialization/MapCodec;
      intermediary field_63195 Lnet/minecraft/class_12090$class_12092;field_63195:Lcom/mojang/serialization/MapCodec;
      official b Lbbp$b;b:Lcom/mojang/serialization/MapCodec;
  • Constructor Details

    • class_12092

      public class_12092(class_12087 class_12087)
  • Method Details

    • method_75021

      public com.mojang.serialization.MapCodec<class_12090.class_12092> method_75021()
      Specified by:
      method_75021 in interface class_12090
      Mappings:
      Namespace Name Mixin selector
      named method_75021 Lnet/minecraft/class_12090;method_75021()Lcom/mojang/serialization/MapCodec;
      intermediary method_75021 Lnet/minecraft/class_12090;method_75021()Lcom/mojang/serialization/MapCodec;
      official a Lbbp;a()Lcom/mojang/serialization/MapCodec;
    • method_75022

      public boolean method_75022(class_12096 class_12096)
      Specified by:
      method_75022 in interface class_12090
      Mappings:
      Namespace Name Mixin selector
      named method_75022 Lnet/minecraft/class_12090;method_75022(Lnet/minecraft/class_12096;)Z
      intermediary method_75022 Lnet/minecraft/class_12090;method_75022(Lnet/minecraft/class_12096;)Z
      official a Lbbp;a(Lbbt;)Z
    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object object)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      object - the object with which to compare
      Returns:
      true if this object is the same as the object argument; false otherwise.
    • permission

      public class_12087 permission()
      Returns the value of the permission record component.
      Returns:
      the value of the permission record component