Package net.minecraft

Record Class class_11105

java.lang.Object
java.lang.Record
net.minecraft.class_11105
Record Components:
key -
name -
description -
requiredEffects -
randomEffects -
unlockedBy -
unlockedAfter -
extraRandom -

public record class_11105(String key, Text name, Text description, List<class_11109> requiredEffects, List<List<class_11109>> randomEffects, List<class_11057> unlockedBy, List<class_11105> unlockedAfter, int extraRandom) extends Record
Mappings:
Namespace Name
named net/minecraft/class_11105
intermediary net/minecraft/class_11105
official fbx
named key
intermediary comp_3984
official c
named name
intermediary comp_3985
official d
named description
intermediary comp_3986
official e
named requiredEffects
intermediary comp_3987
official f
named randomEffects
intermediary comp_3988
official g
named unlockedBy
intermediary comp_3989
official h
named unlockedAfter
intermediary comp_3990
official i
named extraRandom
intermediary comp_3991
official j
  • 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.
    • requiredEffects

      private final List<class_11109> requiredEffects
      The field for the requiredEffects record component.
    • randomEffects

      private final List<List<class_11109>> randomEffects
      The field for the randomEffects record component.
    • unlockedBy

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

      private final List<class_11105> unlockedAfter
      The field for the unlockedAfter record component.
    • extraRandom

      private final int extraRandom
      The field for the extraRandom record component.
    • field_59113

      public static final com.mojang.serialization.Codec<class_11105> field_59113
      Mappings:
      Namespace Name Mixin selector
      named field_59113 Lnet/minecraft/class_11105;field_59113:Lcom/mojang/serialization/Codec;
      intermediary field_59113 Lnet/minecraft/class_11105;field_59113:Lcom/mojang/serialization/Codec;
      official a Lfbx;a:Lcom/mojang/serialization/Codec;
    • field_59114

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

  • Method Details

    • method_69904

      public static class_11105.class_11106 method_69904(String string)
      Mappings:
      Namespace Name Mixin selector
      named method_69904 Lnet/minecraft/class_11105;method_69904(Ljava/lang/String;)Lnet/minecraft/class_11105$class_11106;
      intermediary method_69904 Lnet/minecraft/class_11105;method_69904(Ljava/lang/String;)Lnet/minecraft/class_11105$class_11106;
      official a Lfbx;a(Ljava/lang/String;)Lfbx$a;
    • method_69903

      public List<class_11109> method_69903(ServerWorld serverWorld)
      Mappings:
      Namespace Name Mixin selector
      named method_69903 Lnet/minecraft/class_11105;method_69903(Lnet/minecraft/server/world/ServerWorld;)Ljava/util/List;
      intermediary method_69903 Lnet/minecraft/class_11105;method_69903(Lnet/minecraft/class_3218;)Ljava/util/List;
      official a Lfbx;a(Last;)Ljava/util/List;
    • 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
    • requiredEffects

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

      public List<List<class_11109>> randomEffects()
      Returns the value of the randomEffects record component.
      Returns:
      the value of the randomEffects 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_11105> unlockedAfter()
      Returns the value of the unlockedAfter record component.
      Returns:
      the value of the unlockedAfter record component
    • extraRandom

      public int extraRandom()
      Returns the value of the extraRandom record component.
      Returns:
      the value of the extraRandom record component