Package net.minecraft

Record Class class_11109

java.lang.Object
java.lang.Record
net.minecraft.class_11109
Record Components:
key -
name -
description -
unlockHint -
itemModel -
components -
unlockMode -
unlockedBy -
unlockedAfter -
requiredUnlockCount -
inSets -
incompatibleWith -
experienceModifier -
randomWeight -
randomizationMode -
multiplayerOnly -
onMineEnter -
onMineLeave -
onMineTick -

public record class_11109(String key, Text name, Text description, Text unlockHint, @Nullable Identifier itemModel, List<class_11111> components, class_11108 unlockMode, List<class_11057> unlockedBy, List<class_11109> unlockedAfter, int requiredUnlockCount, Set<class_11112> inSets, Set<class_11109> incompatibleWith, float experienceModifier, int randomWeight, class_11104 randomizationMode, boolean multiplayerOnly, Consumer<ServerWorld> onMineEnter, Consumer<ServerWorld> onMineLeave, Consumer<ServerWorld> onMineTick) extends Record
Mappings:
Namespace Name
named net/minecraft/class_11109
intermediary net/minecraft/class_11109
official fca
named key
intermediary comp_3992
official c
named name
intermediary comp_3993
official d
named description
intermediary comp_3994
official e
named unlockHint
intermediary comp_3995
official f
named itemModel
intermediary comp_3996
official g
named components
intermediary comp_3997
official h
named unlockMode
intermediary comp_3998
official i
named unlockedBy
intermediary comp_3999
official j
named unlockedAfter
intermediary comp_4000
official k
named requiredUnlockCount
intermediary comp_4001
official l
named inSets
intermediary comp_4002
official m
named incompatibleWith
intermediary comp_4003
official n
named experienceModifier
intermediary comp_4004
official o
named randomWeight
intermediary comp_4005
official p
named randomizationMode
intermediary comp_4006
official q
named multiplayerOnly
intermediary comp_4007
official r
named onMineEnter
intermediary comp_4008
official s
named onMineLeave
intermediary comp_4009
official t
named onMineTick
intermediary comp_4010
official u
  • Field Details

    • key

      private final String key
      The field for the key record component.
    • name

      private final Text name
      The field for the name record component.
    • description

      private final Text description
      The field for the description record component.
    • unlockHint

      private final Text unlockHint
      The field for the unlockHint record component.
    • itemModel

      @Nullable private final @Nullable Identifier itemModel
      The field for the itemModel record component.
    • components

      private final List<class_11111> components
      The field for the components record component.
    • unlockMode

      private final class_11108 unlockMode
      The field for the unlockMode record component.
    • unlockedBy

      private final List<class_11057> unlockedBy
      The field for the unlockedBy record component.
    • unlockedAfter

      private final List<class_11109> unlockedAfter
      The field for the unlockedAfter record component.
    • requiredUnlockCount

      private final int requiredUnlockCount
      The field for the requiredUnlockCount record component.
    • inSets

      private final Set<class_11112> inSets
      The field for the inSets record component.
    • incompatibleWith

      private final Set<class_11109> incompatibleWith
      The field for the incompatibleWith record component.
    • experienceModifier

      private final float experienceModifier
      The field for the experienceModifier record component.
    • randomWeight

      private final int randomWeight
      The field for the randomWeight record component.
    • randomizationMode

      private final class_11104 randomizationMode
      The field for the randomizationMode record component.
    • multiplayerOnly

      private final boolean multiplayerOnly
      The field for the multiplayerOnly record component.
    • onMineEnter

      private final Consumer<ServerWorld> onMineEnter
      The field for the onMineEnter record component.
    • onMineLeave

      private final Consumer<ServerWorld> onMineLeave
      The field for the onMineLeave record component.
    • onMineTick

      private final Consumer<ServerWorld> onMineTick
      The field for the onMineTick record component.
    • field_59137

      public static final com.mojang.serialization.Codec<class_11109> field_59137
      Mappings:
      Namespace Name Mixin selector
      named field_59137 Lnet/minecraft/class_11109;field_59137:Lcom/mojang/serialization/Codec;
      intermediary field_59137 Lnet/minecraft/class_11109;field_59137:Lcom/mojang/serialization/Codec;
      official a Lfca;a:Lcom/mojang/serialization/Codec;
    • field_59138

      public static final PacketCodec<RegistryByteBuf,class_11109> field_59138
      Mappings:
      Namespace Name Mixin selector
      named field_59138 Lnet/minecraft/class_11109;field_59138:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_59138 Lnet/minecraft/class_11109;field_59138:Lnet/minecraft/class_9139;
      official b Lfca;b:Lzg;
  • Constructor Details

  • Method Details

    • method_69925

      public boolean method_69925(Collection<class_11109> collection)
      Mappings:
      Namespace Name Mixin selector
      named method_69925 Lnet/minecraft/class_11109;method_69925(Ljava/util/Collection;)Z
      intermediary method_69925 Lnet/minecraft/class_11109;method_69925(Ljava/util/Collection;)Z
      official a Lfca;a(Ljava/util/Collection;)Z
    • method_69921

      public static boolean method_69921(class_11109 class_11109, class_11109 class_111092)
      Mappings:
      Namespace Name Mixin selector
      named method_69921 Lnet/minecraft/class_11109;method_69921(Lnet/minecraft/class_11109;Lnet/minecraft/class_11109;)Z
      intermediary method_69921 Lnet/minecraft/class_11109;method_69921(Lnet/minecraft/class_11109;Lnet/minecraft/class_11109;)Z
      official a Lfca;a(Lfca;Lfca;)Z
    • method_69919

      public boolean method_69919(ServerWorld serverWorld)
      Mappings:
      Namespace Name Mixin selector
      named method_69919 Lnet/minecraft/class_11109;method_69919(Lnet/minecraft/server/world/ServerWorld;)Z
      intermediary method_69919 Lnet/minecraft/class_11109;method_69919(Lnet/minecraft/class_3218;)Z
      official a Lfca;a(Last;)Z
    • method_69926

      public boolean method_69926(ServerWorld serverWorld)
      Mappings:
      Namespace Name Mixin selector
      named method_69926 Lnet/minecraft/class_11109;method_69926(Lnet/minecraft/server/world/ServerWorld;)Z
      intermediary method_69926 Lnet/minecraft/class_11109;method_69926(Lnet/minecraft/class_3218;)Z
      official b Lfca;b(Last;)Z
    • method_69927

      public boolean method_69927(ServerWorld serverWorld)
      Mappings:
      Namespace Name Mixin selector
      named method_69927 Lnet/minecraft/class_11109;method_69927(Lnet/minecraft/server/world/ServerWorld;)Z
      intermediary method_69927 Lnet/minecraft/class_11109;method_69927(Lnet/minecraft/class_3218;)Z
      official c Lfca;c(Last;)Z
    • method_69924

      public static class_11109.class_11110 method_69924(String string)
      Mappings:
      Namespace Name Mixin selector
      named method_69924 Lnet/minecraft/class_11109;method_69924(Ljava/lang/String;)Lnet/minecraft/class_11109$class_11110;
      intermediary method_69924 Lnet/minecraft/class_11109;method_69924(Ljava/lang/String;)Lnet/minecraft/class_11109$class_11110;
      official a Lfca;a(Ljava/lang/String;)Lfca$a;
    • method_69922

      public <T extends class_11111> Stream<T> method_69922(Class<T> class2)
      Mappings:
      Namespace Name Mixin selector
      named method_69922 Lnet/minecraft/class_11109;method_69922(Ljava/lang/Class;)Ljava/util/stream/Stream;
      intermediary method_69922 Lnet/minecraft/class_11109;method_69922(Ljava/lang/Class;)Ljava/util/stream/Stream;
      official a Lfca;a(Ljava/lang/Class;)Ljava/util/stream/Stream;
    • 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
    • name

      public Text name()
      Returns the value of the name record component.
      Returns:
      the value of the name record component
    • description

      public Text description()
      Returns the value of the description record component.
      Returns:
      the value of the description record component
    • unlockHint

      public Text unlockHint()
      Returns the value of the unlockHint record component.
      Returns:
      the value of the unlockHint record component
    • itemModel

      @Nullable public @Nullable Identifier itemModel()
      Returns the value of the itemModel record component.
      Returns:
      the value of the itemModel record component
    • components

      public List<class_11111> components()
      Returns the value of the components record component.
      Returns:
      the value of the components record component
    • unlockMode

      public class_11108 unlockMode()
      Returns the value of the unlockMode record component.
      Returns:
      the value of the unlockMode record component
    • unlockedBy

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

      public List<class_11109> unlockedAfter()
      Returns the value of the unlockedAfter record component.
      Returns:
      the value of the unlockedAfter record component
    • requiredUnlockCount

      public int requiredUnlockCount()
      Returns the value of the requiredUnlockCount record component.
      Returns:
      the value of the requiredUnlockCount record component
    • inSets

      public Set<class_11112> inSets()
      Returns the value of the inSets record component.
      Returns:
      the value of the inSets record component
    • incompatibleWith

      public Set<class_11109> incompatibleWith()
      Returns the value of the incompatibleWith record component.
      Returns:
      the value of the incompatibleWith record component
    • experienceModifier

      public float experienceModifier()
      Returns the value of the experienceModifier record component.
      Returns:
      the value of the experienceModifier record component
    • randomWeight

      public int randomWeight()
      Returns the value of the randomWeight record component.
      Returns:
      the value of the randomWeight record component
    • randomizationMode

      public class_11104 randomizationMode()
      Returns the value of the randomizationMode record component.
      Returns:
      the value of the randomizationMode record component
    • multiplayerOnly

      public boolean multiplayerOnly()
      Returns the value of the multiplayerOnly record component.
      Returns:
      the value of the multiplayerOnly record component
    • onMineEnter

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

      public Consumer<ServerWorld> onMineLeave()
      Returns the value of the onMineLeave record component.
      Returns:
      the value of the onMineLeave record component
    • onMineTick

      public Consumer<ServerWorld> onMineTick()
      Returns the value of the onMineTick record component.
      Returns:
      the value of the onMineTick record component