Package net.minecraft.block.enums
Enum Class TestBlockMode
- All Implemented Interfaces:
Serializable,Comparable<TestBlockMode>,Constable,StringIdentifiable
- Mappings:
Namespace Name named net/minecraft/block/enums/TestBlockModeintermediary net/minecraft/class_10641official ehk
-
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<TestBlockMode> private final Stringprivate final intprivate static final IntFunction<TestBlockMode> private final Textprivate final Textstatic final PacketCodec<ByteBuf, TestBlockMode> Fields inherited from interface net.minecraft.util.StringIdentifiable
CACHED_MAP_THRESHOLD -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasString()Returns the unique string representation of the enum, used for serialization.getInfo()getName()static TestBlockModeReturns the enum constant of this class with the specified name.static TestBlockMode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
START
- Mappings:
Namespace Name Mixin selector named STARTLnet/minecraft/block/enums/TestBlockMode;START:Lnet/minecraft/block/enums/TestBlockMode;intermediary field_56024Lnet/minecraft/class_10641;field_56024:Lnet/minecraft/class_10641;official aLehk;a:Lehk;
-
LOG
- Mappings:
Namespace Name Mixin selector named LOGLnet/minecraft/block/enums/TestBlockMode;LOG:Lnet/minecraft/block/enums/TestBlockMode;intermediary field_56025Lnet/minecraft/class_10641;field_56025:Lnet/minecraft/class_10641;official bLehk;b:Lehk;
-
FAIL
- Mappings:
Namespace Name Mixin selector named FAILLnet/minecraft/block/enums/TestBlockMode;FAIL:Lnet/minecraft/block/enums/TestBlockMode;intermediary field_56026Lnet/minecraft/class_10641;field_56026:Lnet/minecraft/class_10641;official cLehk;c:Lehk;
-
ACCEPT
- Mappings:
Namespace Name Mixin selector named ACCEPTLnet/minecraft/block/enums/TestBlockMode;ACCEPT:Lnet/minecraft/block/enums/TestBlockMode;intermediary field_56027Lnet/minecraft/class_10641;field_56027:Lnet/minecraft/class_10641;official dLehk;d:Lehk;
-
-
Field Details
-
INDEX_MAPPER
- Mappings:
Namespace Name Mixin selector named INDEX_MAPPERLnet/minecraft/block/enums/TestBlockMode;INDEX_MAPPER:Ljava/util/function/IntFunction;intermediary field_56030Lnet/minecraft/class_10641;field_56030:Ljava/util/function/IntFunction;official gLehk;g:Ljava/util/function/IntFunction;
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/block/enums/TestBlockMode;CODEC:Lcom/mojang/serialization/Codec;intermediary field_56028Lnet/minecraft/class_10641;field_56028:Lcom/mojang/serialization/Codec;official eLehk;e:Lcom/mojang/serialization/Codec;
-
PACKET_CODEC
- Mappings:
Namespace Name Mixin selector named PACKET_CODECLnet/minecraft/block/enums/TestBlockMode;PACKET_CODEC:Lnet/minecraft/network/codec/PacketCodec;intermediary field_56029Lnet/minecraft/class_10641;field_56029:Lnet/minecraft/class_9139;official fLehk;f:Lzv;
-
index
private final int index- Mappings:
Namespace Name Mixin selector named indexLnet/minecraft/block/enums/TestBlockMode;index:Iintermediary field_56031Lnet/minecraft/class_10641;field_56031:Iofficial hLehk;h:I
-
id
- Mappings:
Namespace Name Mixin selector named idLnet/minecraft/block/enums/TestBlockMode;id:Ljava/lang/String;intermediary field_56032Lnet/minecraft/class_10641;field_56032:Ljava/lang/String;official iLehk;i:Ljava/lang/String;
-
name
- Mappings:
Namespace Name Mixin selector named nameLnet/minecraft/block/enums/TestBlockMode;name:Lnet/minecraft/text/Text;intermediary field_56033Lnet/minecraft/class_10641;field_56033:Lnet/minecraft/class_2561;official jLehk;j:Lxv;
-
info
- Mappings:
Namespace Name Mixin selector named infoLnet/minecraft/block/enums/TestBlockMode;info:Lnet/minecraft/text/Text;intermediary field_56034Lnet/minecraft/class_10641;field_56034:Lnet/minecraft/class_2561;official kLehk;k:Lxv;
-
-
Constructor Details
-
TestBlockMode
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/block/enums/TestBlockMode;<init>(Ljava/lang/String;IILjava/lang/String;)Vintermediary <init>Lnet/minecraft/class_10641;<init>(Ljava/lang/String;IILjava/lang/String;)Vofficial <init>Lehk;<init>(Ljava/lang/String;IILjava/lang/String;)V
-
-
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 cLbdt;c()Ljava/lang/String;
-
getName
- Mappings:
Namespace Name Mixin selector named getNameLnet/minecraft/block/enums/TestBlockMode;getName()Lnet/minecraft/text/Text;intermediary method_66781Lnet/minecraft/class_10641;method_66781()Lnet/minecraft/class_2561;official aLehk;a()Lxv;
-
getInfo
- Mappings:
Namespace Name Mixin selector named getInfoLnet/minecraft/block/enums/TestBlockMode;getInfo()Lnet/minecraft/text/Text;intermediary method_66783Lnet/minecraft/class_10641;method_66783()Lnet/minecraft/class_2561;official bLehk;b()Lxv;
-