Package net.minecraft.block.enums
Enum Class TestBlockMode
- All Implemented Interfaces:
Serializable
,Comparable<TestBlockMode>
,Constable
,StringIdentifiable
- Mappings:
Namespace Name named net/minecraft/block/enums/TestBlockMode
intermediary net/minecraft/class_10641
official edb
-
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 String
private final int
private static final IntFunction
<TestBlockMode> private final Text
private final Text
static 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 TestBlockMode
Returns 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 START
Lnet/minecraft/block/enums/TestBlockMode;START:Lnet/minecraft/block/enums/TestBlockMode;
intermediary field_56024
Lnet/minecraft/class_10641;field_56024:Lnet/minecraft/class_10641;
official a
Ledb;a:Ledb;
-
LOG
- Mappings:
Namespace Name Mixin selector named LOG
Lnet/minecraft/block/enums/TestBlockMode;LOG:Lnet/minecraft/block/enums/TestBlockMode;
intermediary field_56025
Lnet/minecraft/class_10641;field_56025:Lnet/minecraft/class_10641;
official b
Ledb;b:Ledb;
-
FAIL
- Mappings:
Namespace Name Mixin selector named FAIL
Lnet/minecraft/block/enums/TestBlockMode;FAIL:Lnet/minecraft/block/enums/TestBlockMode;
intermediary field_56026
Lnet/minecraft/class_10641;field_56026:Lnet/minecraft/class_10641;
official c
Ledb;c:Ledb;
-
ACCEPT
- Mappings:
Namespace Name Mixin selector named ACCEPT
Lnet/minecraft/block/enums/TestBlockMode;ACCEPT:Lnet/minecraft/block/enums/TestBlockMode;
intermediary field_56027
Lnet/minecraft/class_10641;field_56027:Lnet/minecraft/class_10641;
official d
Ledb;d:Ledb;
-
-
Field Details
-
INDEX_MAPPER
- Mappings:
Namespace Name Mixin selector named INDEX_MAPPER
Lnet/minecraft/block/enums/TestBlockMode;INDEX_MAPPER:Ljava/util/function/IntFunction;
intermediary field_56030
Lnet/minecraft/class_10641;field_56030:Ljava/util/function/IntFunction;
official g
Ledb;g:Ljava/util/function/IntFunction;
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODEC
Lnet/minecraft/block/enums/TestBlockMode;CODEC:Lcom/mojang/serialization/Codec;
intermediary field_56028
Lnet/minecraft/class_10641;field_56028:Lcom/mojang/serialization/Codec;
official e
Ledb;e:Lcom/mojang/serialization/Codec;
-
PACKET_CODEC
- Mappings:
Namespace Name Mixin selector named PACKET_CODEC
Lnet/minecraft/block/enums/TestBlockMode;PACKET_CODEC:Lnet/minecraft/network/codec/PacketCodec;
intermediary field_56029
Lnet/minecraft/class_10641;field_56029:Lnet/minecraft/class_9139;
official f
Ledb;f:Lze;
-
index
private final int index- Mappings:
Namespace Name Mixin selector named index
Lnet/minecraft/block/enums/TestBlockMode;index:I
intermediary field_56031
Lnet/minecraft/class_10641;field_56031:I
official h
Ledb;h:I
-
id
- Mappings:
Namespace Name Mixin selector named id
Lnet/minecraft/block/enums/TestBlockMode;id:Ljava/lang/String;
intermediary field_56032
Lnet/minecraft/class_10641;field_56032:Ljava/lang/String;
official i
Ledb;i:Ljava/lang/String;
-
name
- Mappings:
Namespace Name Mixin selector named name
Lnet/minecraft/block/enums/TestBlockMode;name:Lnet/minecraft/text/Text;
intermediary field_56033
Lnet/minecraft/class_10641;field_56033:Lnet/minecraft/class_2561;
official j
Ledb;j:Lxg;
-
info
- Mappings:
Namespace Name Mixin selector named info
Lnet/minecraft/block/enums/TestBlockMode;info:Lnet/minecraft/text/Text;
intermediary field_56034
Lnet/minecraft/class_10641;field_56034:Lnet/minecraft/class_2561;
official k
Ledb;k:Lxg;
-
-
Constructor Details
-
TestBlockMode
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/block/enums/TestBlockMode;<init>(Ljava/lang/String;IILjava/lang/String;)V
intermediary <init>
Lnet/minecraft/class_10641;<init>(Ljava/lang/String;IILjava/lang/String;)V
official <init>
Ledb;<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:
asString
in interfaceStringIdentifiable
- Returns:
- the unique string representation of the enum, used for serialization
- Mappings:
Namespace Name Mixin selector named asString
Lnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
intermediary method_15434
Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;
official c
Lbax;c()Ljava/lang/String;
-
getName
- Mappings:
Namespace Name Mixin selector named getName
Lnet/minecraft/block/enums/TestBlockMode;getName()Lnet/minecraft/text/Text;
intermediary method_66781
Lnet/minecraft/class_10641;method_66781()Lnet/minecraft/class_2561;
official a
Ledb;a()Lxg;
-
getInfo
- Mappings:
Namespace Name Mixin selector named getInfo
Lnet/minecraft/block/enums/TestBlockMode;getInfo()Lnet/minecraft/text/Text;
intermediary method_66783
Lnet/minecraft/class_10641;method_66783()Lnet/minecraft/class_2561;
official b
Ledb;b()Lxg;
-