Package net.minecraft

Record Class class_10976

java.lang.Object
java.lang.Record
net.minecraft.class_10976

Mappings:
Namespace Name
named net/minecraft/class_10976
intermediary net/minecraft/class_10976
official awy
  • Field Details

    • b

      private final String b
      The field for the b record component.
    • c

      private final Optional<RegistryEntry<class_10976>> c
      The field for the c record component.
    • d

      private final List<RegistryEntry<class_10976>> d
      The field for the d record component.
    • e

      private final AdvancementDisplay e
      The field for the e record component.
    • f

      private final Consumer<ServerPlayerEntity> f
      The field for the f record component.
    • g

      private final Consumer<ServerPlayerEntity> g
      The field for the g record component.
    • h

      private final List<class_11057> h
      The field for the h record component.
    • i

      private final class_10976.class_10978 i
      The field for the i record component.
    • j

      private final Map<TagKey<Item>,Float> j
      The field for the j record component.
    • k

      private final Map<Item,Float> k
      The field for the k record component.
    • l

      private final int l
      The field for the l record component.
    • m

      private final String m
      The field for the m record component.
    • field_58340

      public static final com.mojang.serialization.Codec<RegistryEntry<class_10976>> field_58340
      Mappings:
      Namespace Name Mixin selector
      named field_58340 Lnet/minecraft/class_10976;field_58340:Lcom/mojang/serialization/Codec;
      intermediary field_58340 Lnet/minecraft/class_10976;field_58340:Lcom/mojang/serialization/Codec;
      official a Lawy;a:Lcom/mojang/serialization/Codec;
  • Constructor Details

  • Method Details

    • method_69188

      public static class_10976.class_10977 method_69188(String string)
      Mappings:
      Namespace Name Mixin selector
      named method_69188 Lnet/minecraft/class_10976;method_69188(Ljava/lang/String;)Lnet/minecraft/class_10976$class_10977;
      intermediary method_69188 Lnet/minecraft/class_10976;method_69188(Ljava/lang/String;)Lnet/minecraft/class_10976$class_10977;
      official a Lawy;a(Ljava/lang/String;)Lawy$a;
    • method_69189

      public static class_10976.class_10977 method_69189(String string, RegistryEntry<class_10976> registryEntry)
      Mappings:
      Namespace Name Mixin selector
      named method_69189 Lnet/minecraft/class_10976;method_69189(Ljava/lang/String;Lnet/minecraft/registry/entry/RegistryEntry;)Lnet/minecraft/class_10976$class_10977;
      intermediary method_69189 Lnet/minecraft/class_10976;method_69189(Ljava/lang/String;Lnet/minecraft/class_6880;)Lnet/minecraft/class_10976$class_10977;
      official a Lawy;a(Ljava/lang/String;Ljh;)Lawy$a;
    • method_69190

      public static RegistryEntry<class_10976> method_69190(RegistryEntry<class_10976> registryEntry)
      Mappings:
      Namespace Name Mixin selector
      named method_69190 Lnet/minecraft/class_10976;method_69190(Lnet/minecraft/registry/entry/RegistryEntry;)Lnet/minecraft/registry/entry/RegistryEntry;
      intermediary method_69190 Lnet/minecraft/class_10976;method_69190(Lnet/minecraft/class_6880;)Lnet/minecraft/class_6880;
      official a Lawy;a(Ljh;)Ljh;
    • 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. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      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.
    • b

      public String b()
      Returns the value of the b record component.
      Returns:
      the value of the b record component
    • c

      Returns the value of the c record component.
      Returns:
      the value of the c record component
    • d

      Returns the value of the d record component.
      Returns:
      the value of the d record component
    • e

      public AdvancementDisplay e()
      Returns the value of the e record component.
      Returns:
      the value of the e record component
    • f

      Returns the value of the f record component.
      Returns:
      the value of the f record component
    • g

      Returns the value of the g record component.
      Returns:
      the value of the g record component
    • h

      public List<class_11057> h()
      Returns the value of the h record component.
      Returns:
      the value of the h record component
    • i

      Returns the value of the i record component.
      Returns:
      the value of the i record component
    • j

      public Map<TagKey<Item>,Float> j()
      Returns the value of the j record component.
      Returns:
      the value of the j record component
    • k

      public Map<Item,Float> k()
      Returns the value of the k record component.
      Returns:
      the value of the k record component
    • l

      public int l()
      Returns the value of the l record component.
      Returns:
      the value of the l record component
    • m

      public String m()
      Returns the value of the m record component.
      Returns:
      the value of the m record component