Package net.minecraft

Record Class class_11055

java.lang.Object
java.lang.Record
net.minecraft.class_11055
Record Components:
id -
All Implemented Interfaces:
TooltipAppender

public record class_11055(Identifier id) extends Record implements TooltipAppender
Mappings:
Namespace Name
named net/minecraft/class_11055
intermediary net/minecraft/class_11055
official dfy
named id
intermediary comp_3945
official e
  • Field Details

    • id

      private final Identifier id
      The field for the id record component.
    • field_58853

      public static final com.mojang.serialization.Codec<class_11055> field_58853
      Mappings:
      Namespace Name Mixin selector
      named field_58853 Lnet/minecraft/class_11055;field_58853:Lcom/mojang/serialization/Codec;
      intermediary field_58853 Lnet/minecraft/class_11055;field_58853:Lcom/mojang/serialization/Codec;
      official a Ldfy;a:Lcom/mojang/serialization/Codec;
    • field_58854

      public static final PacketCodec<RegistryByteBuf,class_11055> field_58854
      Mappings:
      Namespace Name Mixin selector
      named field_58854 Lnet/minecraft/class_11055;field_58854:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_58854 Lnet/minecraft/class_11055;field_58854:Lnet/minecraft/class_9139;
      official b Ldfy;b:Lzg;
    • field_58855

      public static final String field_58855
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_58855 Lnet/minecraft/class_11055;field_58855:Ljava/lang/String;
      intermediary field_58855 Lnet/minecraft/class_11055;field_58855:Ljava/lang/String;
      official c Ldfy;c:Ljava/lang/String;
    • field_58856

      public static final String field_58856
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_58856 Lnet/minecraft/class_11055;field_58856:Ljava/lang/String;
      intermediary field_58856 Lnet/minecraft/class_11055;field_58856:Ljava/lang/String;
      official d Ldfy;d:Ljava/lang/String;
  • Constructor Details

    • class_11055

      public class_11055(Identifier identifier)
  • Method Details

    • method_69586

      public Identifier method_69586()
      Mappings:
      Namespace Name Mixin selector
      named method_69586 Lnet/minecraft/class_11055;method_69586()Lnet/minecraft/util/Identifier;
      intermediary method_69586 Lnet/minecraft/class_11055;method_69586()Lnet/minecraft/class_2960;
      official a Ldfy;a()Lamb;
    • appendTooltip

      public void appendTooltip(Item.TooltipContext context, Consumer<Text> textConsumer, TooltipType type, @Nullable @Nullable PlayerEntity playerEntity, ItemStack itemStack)
      Specified by:
      appendTooltip in interface TooltipAppender
      Mappings:
      Namespace Name Mixin selector
      named appendTooltip Lnet/minecraft/item/tooltip/TooltipAppender;appendTooltip(Lnet/minecraft/item/Item$TooltipContext;Ljava/util/function/Consumer;Lnet/minecraft/item/tooltip/TooltipType;Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/item/ItemStack;)V
      intermediary method_57409 Lnet/minecraft/class_9299;method_57409(Lnet/minecraft/class_1792$class_9635;Ljava/util/function/Consumer;Lnet/minecraft/class_1836;Lnet/minecraft/class_1657;Lnet/minecraft/class_1799;)V
      official a Ldgd;a(Ldco$b;Ljava/util/function/Consumer;Ldek;Lcuf;Ldcs;)V
    • method_69587

      public static Identifier method_69587(Identifier identifier)
      Mappings:
      Namespace Name Mixin selector
      named method_69587 Lnet/minecraft/class_11055;method_69587(Lnet/minecraft/util/Identifier;)Lnet/minecraft/util/Identifier;
      intermediary method_69587 Lnet/minecraft/class_11055;method_69587(Lnet/minecraft/class_2960;)Lnet/minecraft/class_2960;
      official a Ldfy;a(Lamb;)Lamb;
    • method_69590

      public static Identifier method_69590(Identifier identifier)
      Mappings:
      Namespace Name Mixin selector
      named method_69590 Lnet/minecraft/class_11055;method_69590(Lnet/minecraft/util/Identifier;)Lnet/minecraft/util/Identifier;
      intermediary method_69590 Lnet/minecraft/class_11055;method_69590(Lnet/minecraft/class_2960;)Lnet/minecraft/class_2960;
      official b Ldfy;b(Lamb;)Lamb;
    • 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.
    • id

      public Identifier id()
      Returns the value of the id record component.
      Returns:
      the value of the id record component