Package net.minecraft

Record Class class_10976

java.lang.Object
java.lang.Record
net.minecraft.class_10976
Record Components:
key -
parent -
disables -
display -
activation -
onMineEnter -
madeVisibleBy -
defaultVisibility -
experienceFactorForItemTag -
experienceFactorForItem -
unlockPrice -
exclusiveKey -

public record class_10976(String key, Optional<RegistryEntry<class_10976>> parent, List<RegistryEntry<class_10976>> disables, AdvancementDisplay display, Consumer<ServerPlayerEntity> activation, Consumer<ServerPlayerEntity> onMineEnter, List<class_11057> madeVisibleBy, class_10976.class_10978 defaultVisibility, Map<TagKey<Item>,Float> experienceFactorForItemTag, Map<Item,Float> experienceFactorForItem, int unlockPrice, String exclusiveKey) extends Record
Mappings:
Namespace Name
named net/minecraft/class_10976
intermediary net/minecraft/class_10976
official awy
named key
intermediary comp_3912
official b
named parent
intermediary comp_3913
official c
named disables
intermediary comp_3914
official d
named display
intermediary comp_3915
official e
named activation
intermediary comp_3916
official f
named onMineEnter
intermediary comp_3917
official g
named madeVisibleBy
intermediary comp_3918
official h
named defaultVisibility
intermediary comp_3919
official i
named experienceFactorForItemTag
intermediary comp_3920
official j
named experienceFactorForItem
intermediary comp_3921
official k
named unlockPrice
intermediary comp_3922
official l
named exclusiveKey
intermediary comp_3923
official m
  • Field Details

  • 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.
    • key

      public String key()
      Returns the value of the key record component.
      Returns:
      the value of the key record component
    • parent

      public Optional<RegistryEntry<class_10976>> parent()
      Returns the value of the parent record component.
      Returns:
      the value of the parent record component
    • disables

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

      public AdvancementDisplay display()
      Returns the value of the display record component.
      Returns:
      the value of the display record component
    • activation

      public Consumer<ServerPlayerEntity> activation()
      Returns the value of the activation record component.
      Returns:
      the value of the activation record component
    • onMineEnter

      public Consumer<ServerPlayerEntity> onMineEnter()
      Returns the value of the onMineEnter record component.
      Returns:
      the value of the onMineEnter record component
    • madeVisibleBy

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

      public class_10976.class_10978 defaultVisibility()
      Returns the value of the defaultVisibility record component.
      Returns:
      the value of the defaultVisibility record component
    • experienceFactorForItemTag

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

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

      public int unlockPrice()
      Returns the value of the unlockPrice record component.
      Returns:
      the value of the unlockPrice record component
    • exclusiveKey

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