Package net.minecraft
Enum Class class_9274
- All Implemented Interfaces:
Serializable,Comparable<class_9274>,Constable,StringIdentifiable
- Mappings:
Namespace Name official bqdintermediary net/minecraft/class_9274named net/minecraft/class_9274
-
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 IntFunction<class_9274> static final com.mojang.serialization.Codec<class_9274> static final PacketCodec<ByteBuf, class_9274> private final intprivate final Stringprivate final Predicate<EquipmentSlot> Fields inherited from interface net.minecraft.util.StringIdentifiable
CACHED_MAP_THRESHOLD -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateclass_9274(int int2, String string, Predicate<EquipmentSlot> predicate) privateclass_9274(int int2, String string, EquipmentSlot equipmentSlot) -
Method Summary
Modifier and TypeMethodDescriptionasString()Returns the unique string representation of the enum, used for serialization.booleanmethod_57286(EquipmentSlot equipmentSlot) static class_9274Returns the enum constant of this class with the specified name.static class_9274[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ANY
- Mappings:
Namespace Name Mixin selector official aLbqd;a:Lbqd;intermediary field_49216Lnet/minecraft/class_9274;field_49216:Lnet/minecraft/class_9274;named ANYLnet/minecraft/class_9274;ANY:Lnet/minecraft/class_9274;
-
MAINHAND
- Mappings:
Namespace Name Mixin selector official bLbqd;b:Lbqd;intermediary field_49217Lnet/minecraft/class_9274;field_49217:Lnet/minecraft/class_9274;named MAINHANDLnet/minecraft/class_9274;MAINHAND:Lnet/minecraft/class_9274;
-
OFFHAND
- Mappings:
Namespace Name Mixin selector official cLbqd;c:Lbqd;intermediary field_49218Lnet/minecraft/class_9274;field_49218:Lnet/minecraft/class_9274;named OFFHANDLnet/minecraft/class_9274;OFFHAND:Lnet/minecraft/class_9274;
-
HAND
- Mappings:
Namespace Name Mixin selector official dLbqd;d:Lbqd;intermediary field_49219Lnet/minecraft/class_9274;field_49219:Lnet/minecraft/class_9274;named HANDLnet/minecraft/class_9274;HAND:Lnet/minecraft/class_9274;
-
FEET
- Mappings:
Namespace Name Mixin selector official eLbqd;e:Lbqd;intermediary field_49220Lnet/minecraft/class_9274;field_49220:Lnet/minecraft/class_9274;named FEETLnet/minecraft/class_9274;FEET:Lnet/minecraft/class_9274;
-
LEGS
- Mappings:
Namespace Name Mixin selector official fLbqd;f:Lbqd;intermediary field_49221Lnet/minecraft/class_9274;field_49221:Lnet/minecraft/class_9274;named LEGSLnet/minecraft/class_9274;LEGS:Lnet/minecraft/class_9274;
-
CHEST
- Mappings:
Namespace Name Mixin selector official gLbqd;g:Lbqd;intermediary field_49222Lnet/minecraft/class_9274;field_49222:Lnet/minecraft/class_9274;named CHESTLnet/minecraft/class_9274;CHEST:Lnet/minecraft/class_9274;
-
HEAD
- Mappings:
Namespace Name Mixin selector official hLbqd;h:Lbqd;intermediary field_49223Lnet/minecraft/class_9274;field_49223:Lnet/minecraft/class_9274;named HEADLnet/minecraft/class_9274;HEAD:Lnet/minecraft/class_9274;
-
ARMOR
- Mappings:
Namespace Name Mixin selector official iLbqd;i:Lbqd;intermediary field_49224Lnet/minecraft/class_9274;field_49224:Lnet/minecraft/class_9274;named ARMORLnet/minecraft/class_9274;ARMOR:Lnet/minecraft/class_9274;
-
-
Field Details
-
field_49225
- Mappings:
Namespace Name Mixin selector official jLbqd;j:Ljava/util/function/IntFunction;intermediary field_49225Lnet/minecraft/class_9274;field_49225:Ljava/util/function/IntFunction;named field_49225Lnet/minecraft/class_9274;field_49225:Ljava/util/function/IntFunction;
-
field_49226
- Mappings:
Namespace Name Mixin selector official kLbqd;k:Lcom/mojang/serialization/Codec;intermediary field_49226Lnet/minecraft/class_9274;field_49226:Lcom/mojang/serialization/Codec;named field_49226Lnet/minecraft/class_9274;field_49226:Lcom/mojang/serialization/Codec;
-
field_49227
- Mappings:
Namespace Name Mixin selector official lLbqd;l:Lye;intermediary field_49227Lnet/minecraft/class_9274;field_49227:Lnet/minecraft/class_9139;named field_49227Lnet/minecraft/class_9274;field_49227:Lnet/minecraft/network/codec/PacketCodec;
-
field_49228
private final int field_49228- Mappings:
Namespace Name Mixin selector official mLbqd;m:Iintermediary field_49228Lnet/minecraft/class_9274;field_49228:Inamed field_49228Lnet/minecraft/class_9274;field_49228:I
-
field_49229
- Mappings:
Namespace Name Mixin selector official nLbqd;n:Ljava/lang/String;intermediary field_49229Lnet/minecraft/class_9274;field_49229:Ljava/lang/String;named field_49229Lnet/minecraft/class_9274;field_49229:Ljava/lang/String;
-
field_49230
- Mappings:
Namespace Name Mixin selector official oLbqd;o:Ljava/util/function/Predicate;intermediary field_49230Lnet/minecraft/class_9274;field_49230:Ljava/util/function/Predicate;named field_49230Lnet/minecraft/class_9274;field_49230:Ljava/util/function/Predicate;
-
-
Constructor Details
-
class_9274
-
class_9274
-
-
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 official cLaye;c()Ljava/lang/String;intermediary method_15434Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;named asStringLnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
-
method_57286
- Mappings:
Namespace Name Mixin selector official aLbqd;a(Lbqc;)Zintermediary method_57286Lnet/minecraft/class_9274;method_57286(Lnet/minecraft/class_1304;)Znamed method_57286Lnet/minecraft/class_9274;method_57286(Lnet/minecraft/entity/EquipmentSlot;)Z
-