Package net.minecraft

Record Class class_11068

java.lang.Object
java.lang.Record
net.minecraft.class_11068
Record Components:
unlocked -
locked -
All Implemented Interfaces:
Predicate<ServerPlayerEntity>

public record class_11068(List<RegistryEntry<class_10976>> unlocked, List<RegistryEntry<class_10976>> locked) extends Record implements Predicate<ServerPlayerEntity>
Mappings:
Namespace Name
named net/minecraft/class_11068
intermediary net/minecraft/class_11068
official dy
named unlocked
intermediary comp_3949
official c
named locked
intermediary comp_3950
official d
  • Field Details

    • unlocked

      private final List<RegistryEntry<class_10976>> unlocked
      The field for the unlocked record component.
    • locked

      private final List<RegistryEntry<class_10976>> locked
      The field for the locked record component.
    • field_58940

      public static final com.mojang.serialization.Codec<class_11068> field_58940
      Mappings:
      Namespace Name Mixin selector
      named field_58940 Lnet/minecraft/class_11068;field_58940:Lcom/mojang/serialization/Codec;
      intermediary field_58940 Lnet/minecraft/class_11068;field_58940:Lcom/mojang/serialization/Codec;
      official a Ldy;a:Lcom/mojang/serialization/Codec;
    • field_58941

      public static final class_11068 field_58941
      Mappings:
      Namespace Name Mixin selector
      named field_58941 Lnet/minecraft/class_11068;field_58941:Lnet/minecraft/class_11068;
      intermediary field_58941 Lnet/minecraft/class_11068;field_58941:Lnet/minecraft/class_11068;
      official b Ldy;b:Ldy;
  • Constructor Details

  • Method Details

    • test

      public boolean test(ServerPlayerEntity serverPlayerEntity)
      Specified by:
      test in interface Predicate<ServerPlayerEntity>
      Mappings:
      Namespace Name Mixin selector
      named test Lnet/minecraft/class_11068;test(Lnet/minecraft/server/network/ServerPlayerEntity;)Z
      intermediary method_69721 Lnet/minecraft/class_11068;method_69721(Lnet/minecraft/class_3222;)Z
      official a Ldy;a(Lasu;)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.
    • unlocked

      public List<RegistryEntry<class_10976>> unlocked()
      Returns the value of the unlocked record component.
      Returns:
      the value of the unlocked record component
    • locked

      public List<RegistryEntry<class_10976>> locked()
      Returns the value of the locked record component.
      Returns:
      the value of the locked record component