Package net.minecraft.component.type
Enum Class FireworkExplosionComponent.Type
java.lang.Object
java.lang.Enum<FireworkExplosionComponent.Type>
net.minecraft.component.type.FireworkExplosionComponent.Type
- All Implemented Interfaces:
Serializable,Comparable<FireworkExplosionComponent.Type>,Constable,StringIdentifiable
- Enclosing class:
FireworkExplosionComponent
public static enum FireworkExplosionComponent.Type
extends Enum<FireworkExplosionComponent.Type>
implements StringIdentifiable
- Mappings:
Namespace Name named net/minecraft/component/type/FireworkExplosionComponent$Typeintermediary net/minecraft/class_9283$class_1782official cxk$a
-
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 TypeFieldDescriptionprivate static final IntFunction<FireworkExplosionComponent.Type> static final com.mojang.serialization.Codec<FireworkExplosionComponent.Type> private final intprivate final Stringstatic final PacketCodec<ByteBuf, FireworkExplosionComponent.Type> 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.byId(int id) intgetId()getName()Returns the enum constant of this class with the specified name.static FireworkExplosionComponent.Type[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SMALL_BALL
- Mappings:
Namespace Name Mixin selector named SMALL_BALLLnet/minecraft/component/type/FireworkExplosionComponent$Type;SMALL_BALL:Lnet/minecraft/component/type/FireworkExplosionComponent$Type;intermediary field_7976Lnet/minecraft/class_9283$class_1782;field_7976:Lnet/minecraft/class_9283$class_1782;official aLcxk$a;a:Lcxk$a;
-
LARGE_BALL
- Mappings:
Namespace Name Mixin selector named LARGE_BALLLnet/minecraft/component/type/FireworkExplosionComponent$Type;LARGE_BALL:Lnet/minecraft/component/type/FireworkExplosionComponent$Type;intermediary field_7977Lnet/minecraft/class_9283$class_1782;field_7977:Lnet/minecraft/class_9283$class_1782;official bLcxk$a;b:Lcxk$a;
-
STAR
- Mappings:
Namespace Name Mixin selector named STARLnet/minecraft/component/type/FireworkExplosionComponent$Type;STAR:Lnet/minecraft/component/type/FireworkExplosionComponent$Type;intermediary field_7973Lnet/minecraft/class_9283$class_1782;field_7973:Lnet/minecraft/class_9283$class_1782;official cLcxk$a;c:Lcxk$a;
-
CREEPER
- Mappings:
Namespace Name Mixin selector named CREEPERLnet/minecraft/component/type/FireworkExplosionComponent$Type;CREEPER:Lnet/minecraft/component/type/FireworkExplosionComponent$Type;intermediary field_7974Lnet/minecraft/class_9283$class_1782;field_7974:Lnet/minecraft/class_9283$class_1782;official dLcxk$a;d:Lcxk$a;
-
BURST
- Mappings:
Namespace Name Mixin selector named BURSTLnet/minecraft/component/type/FireworkExplosionComponent$Type;BURST:Lnet/minecraft/component/type/FireworkExplosionComponent$Type;intermediary field_7970Lnet/minecraft/class_9283$class_1782;field_7970:Lnet/minecraft/class_9283$class_1782;official eLcxk$a;e:Lcxk$a;
-
-
Field Details
-
BY_ID
- Mappings:
Namespace Name Mixin selector named BY_IDLnet/minecraft/component/type/FireworkExplosionComponent$Type;BY_ID:Ljava/util/function/IntFunction;intermediary field_7975Lnet/minecraft/class_9283$class_1782;field_7975:Ljava/util/function/IntFunction;official hLcxk$a;h:Ljava/util/function/IntFunction;
-
PACKET_CODEC
- Mappings:
Namespace Name Mixin selector named PACKET_CODECLnet/minecraft/component/type/FireworkExplosionComponent$Type;PACKET_CODEC:Lnet/minecraft/network/codec/PacketCodec;intermediary field_49321Lnet/minecraft/class_9283$class_1782;field_49321:Lnet/minecraft/class_9139;official fLcxk$a;f:Lzn;
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/component/type/FireworkExplosionComponent$Type;CODEC:Lcom/mojang/serialization/Codec;intermediary field_49322Lnet/minecraft/class_9283$class_1782;field_49322:Lcom/mojang/serialization/Codec;official gLcxk$a;g:Lcom/mojang/serialization/Codec;
-
id
private final int id- Mappings:
Namespace Name Mixin selector named idLnet/minecraft/component/type/FireworkExplosionComponent$Type;id:Iintermediary field_7972Lnet/minecraft/class_9283$class_1782;field_7972:Iofficial iLcxk$a;i:I
-
name
- Mappings:
Namespace Name Mixin selector named nameLnet/minecraft/component/type/FireworkExplosionComponent$Type;name:Ljava/lang/String;intermediary field_7971Lnet/minecraft/class_9283$class_1782;field_7971:Ljava/lang/String;official jLcxk$a;j:Ljava/lang/String;
-
-
Constructor Details
-
Type
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/component/type/FireworkExplosionComponent$Type;<init>(Ljava/lang/String;IILjava/lang/String;)Vintermediary <init>Lnet/minecraft/class_9283$class_1782;<init>(Ljava/lang/String;IILjava/lang/String;)Vofficial <init>Lcxk$a;<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
-
getName
- Mappings:
Namespace Name Mixin selector named getNameLnet/minecraft/component/type/FireworkExplosionComponent$Type;getName()Lnet/minecraft/text/MutableText;intermediary method_7812Lnet/minecraft/class_9283$class_1782;method_7812()Lnet/minecraft/class_5250;official aLcxk$a;a()Lyd;
-
getId
public int getId()- Mappings:
Namespace Name Mixin selector named getIdLnet/minecraft/component/type/FireworkExplosionComponent$Type;getId()Iintermediary method_7816Lnet/minecraft/class_9283$class_1782;method_7816()Iofficial bLcxk$a;b()I
-
byId
- Mappings:
Namespace Name Mixin selector named byIdLnet/minecraft/component/type/FireworkExplosionComponent$Type;byId(I)Lnet/minecraft/component/type/FireworkExplosionComponent$Type;intermediary method_7813Lnet/minecraft/class_9283$class_1782;method_7813(I)Lnet/minecraft/class_9283$class_1782;official aLcxk$a;a(I)Lcxk$a;
-
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 cLazu;c()Ljava/lang/String;
-