Package net.minecraft
Record Class class_11055
java.lang.Object
java.lang.Record
net.minecraft.class_11055
- Record Components:
id-
- All Implemented Interfaces:
TooltipAppender
- Mappings:
Namespace Name named net/minecraft/class_11055intermediary net/minecraft/class_11055official dfynamed idintermediary comp_3945official e
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<class_11055> static final PacketCodec<RegistryByteBuf, class_11055> static final Stringstatic final Stringprivate final IdentifierThe field for theidrecord component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidappendTooltip(Item.TooltipContext context, Consumer<Text> textConsumer, TooltipType type, @Nullable PlayerEntity playerEntity, ItemStack itemStack) final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.static Identifiermethod_69587(Identifier identifier) static Identifiermethod_69590(Identifier identifier) final StringtoString()Returns a string representation of this record class.
-
Field Details
-
id
The field for theidrecord component. -
field_58853
- Mappings:
Namespace Name Mixin selector named field_58853Lnet/minecraft/class_11055;field_58853:Lcom/mojang/serialization/Codec;intermediary field_58853Lnet/minecraft/class_11055;field_58853:Lcom/mojang/serialization/Codec;official aLdfy;a:Lcom/mojang/serialization/Codec;
-
field_58854
- Mappings:
Namespace Name Mixin selector named field_58854Lnet/minecraft/class_11055;field_58854:Lnet/minecraft/network/codec/PacketCodec;intermediary field_58854Lnet/minecraft/class_11055;field_58854:Lnet/minecraft/class_9139;official bLdfy;b:Lzg;
-
field_58855
- See Also:
- Mappings:
Namespace Name Mixin selector named field_58855Lnet/minecraft/class_11055;field_58855:Ljava/lang/String;intermediary field_58855Lnet/minecraft/class_11055;field_58855:Ljava/lang/String;official cLdfy;c:Ljava/lang/String;
-
field_58856
- See Also:
- Mappings:
Namespace Name Mixin selector named field_58856Lnet/minecraft/class_11055;field_58856:Ljava/lang/String;intermediary field_58856Lnet/minecraft/class_11055;field_58856:Ljava/lang/String;official dLdfy;d:Ljava/lang/String;
-
-
Constructor Details
-
class_11055
-
-
Method Details
-
method_69586
- Mappings:
Namespace Name Mixin selector named method_69586Lnet/minecraft/class_11055;method_69586()Lnet/minecraft/util/Identifier;intermediary method_69586Lnet/minecraft/class_11055;method_69586()Lnet/minecraft/class_2960;official aLdfy;a()Lamb;
-
appendTooltip
public void appendTooltip(Item.TooltipContext context, Consumer<Text> textConsumer, TooltipType type, @Nullable @Nullable PlayerEntity playerEntity, ItemStack itemStack) - Specified by:
appendTooltipin interfaceTooltipAppender- Mappings:
Namespace Name Mixin selector named appendTooltipLnet/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;)Vintermediary method_57409Lnet/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;)Vofficial aLdgd;a(Ldco$b;Ljava/util/function/Consumer;Ldek;Lcuf;Ldcs;)V
-
method_69587
- Mappings:
Namespace Name Mixin selector named method_69587Lnet/minecraft/class_11055;method_69587(Lnet/minecraft/util/Identifier;)Lnet/minecraft/util/Identifier;intermediary method_69587Lnet/minecraft/class_11055;method_69587(Lnet/minecraft/class_2960;)Lnet/minecraft/class_2960;official aLdfy;a(Lamb;)Lamb;
-
method_69590
- Mappings:
Namespace Name Mixin selector named method_69590Lnet/minecraft/class_11055;method_69590(Lnet/minecraft/util/Identifier;)Lnet/minecraft/util/Identifier;intermediary method_69590Lnet/minecraft/class_11055;method_69590(Lnet/minecraft/class_2960;)Lnet/minecraft/class_2960;official bLdfy;b(Lamb;)Lamb;
-
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. -
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. -
equals
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 withObjects::equals(Object,Object). -
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-