Package net.minecraft
Enum Class class_11071
- All Implemented Interfaces:
Serializable,Comparable<class_11071>,Constable,TooltipAppender,StringIdentifiable
- Mappings:
Namespace Name named net/minecraft/class_11071intermediary net/minecraft/class_11071official dzt
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>Nested classes/interfaces inherited from interface net.minecraft.util.StringIdentifiable
StringIdentifiable.BasicCodec<S extends StringIdentifiable>, StringIdentifiable.EnumCodec<E extends Enum<E> & StringIdentifiable> -
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<class_11071> static final PacketCodec<ByteBuf, class_11071> private final StringFields inherited from interface net.minecraft.util.StringIdentifiable
CACHED_MAP_THRESHOLD -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidappendTooltip(Item.TooltipContext context, Consumer<Text> textConsumer, TooltipType type, @Nullable PlayerEntity playerEntity, ItemStack itemStack) asString()Returns the unique string representation of the enum, used for serialization.static class_11071Returns the enum constant of this class with the specified name.static class_11071[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
GOLD
- Mappings:
Namespace Name Mixin selector named GOLDLnet/minecraft/class_11071;GOLD:Lnet/minecraft/class_11071;intermediary field_58946Lnet/minecraft/class_11071;field_58946:Lnet/minecraft/class_11071;official aLdzt;a:Ldzt;
-
MEGA_SPUD
- Mappings:
Namespace Name Mixin selector named MEGA_SPUDLnet/minecraft/class_11071;MEGA_SPUD:Lnet/minecraft/class_11071;intermediary field_58947Lnet/minecraft/class_11071;field_58947:Lnet/minecraft/class_11071;official bLdzt;b:Ldzt;
-
NO_MEDAL
- Mappings:
Namespace Name Mixin selector named NO_MEDALLnet/minecraft/class_11071;NO_MEDAL:Lnet/minecraft/class_11071;intermediary field_58948Lnet/minecraft/class_11071;field_58948:Lnet/minecraft/class_11071;official cLdzt;c:Ldzt;
-
-
Field Details
-
field_58949
- Mappings:
Namespace Name Mixin selector named field_58949Lnet/minecraft/class_11071;field_58949:Lcom/mojang/serialization/Codec;intermediary field_58949Lnet/minecraft/class_11071;field_58949:Lcom/mojang/serialization/Codec;official dLdzt;d:Lcom/mojang/serialization/Codec;
-
field_58950
- Mappings:
Namespace Name Mixin selector named field_58950Lnet/minecraft/class_11071;field_58950:Lnet/minecraft/network/codec/PacketCodec;intermediary field_58950Lnet/minecraft/class_11071;field_58950:Lnet/minecraft/class_9139;official eLdzt;e:Lzg;
-
field_58951
- Mappings:
Namespace Name Mixin selector named field_58951Lnet/minecraft/class_11071;field_58951:Ljava/lang/String;intermediary field_58951Lnet/minecraft/class_11071;field_58951:Ljava/lang/String;official fLdzt;f:Ljava/lang/String;
-
-
Constructor Details
-
class_11071
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
asString
Returns the unique string representation of the enum, used for serialization.- Specified by:
asStringin interfaceStringIdentifiable- Returns:
- the unique string representation of the enum, used for serialization
- Mappings:
Namespace Name Mixin selector named asStringLnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;intermediary method_15434Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;official cLbbv;c()Ljava/lang/String;
-
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
-