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$Type
intermediary net/minecraft/class_9283$class_1782
official 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
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final IntFunction
<FireworkExplosionComponent.Type> static final com.mojang.serialization.Codec
<FireworkExplosionComponent.Type> private final int
private final String
static final PacketCodec
<ByteBuf, FireworkExplosionComponent.Type> Fields inherited from interface net.minecraft.util.StringIdentifiable
CACHED_MAP_THRESHOLD
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionasString()
Returns the unique string representation of the enum, used for serialization.byId
(int id) int
getId()
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_BALL
Lnet/minecraft/component/type/FireworkExplosionComponent$Type;SMALL_BALL:Lnet/minecraft/component/type/FireworkExplosionComponent$Type;
intermediary field_7976
Lnet/minecraft/class_9283$class_1782;field_7976:Lnet/minecraft/class_9283$class_1782;
official a
Lcxk$a;a:Lcxk$a;
-
LARGE_BALL
- Mappings:
Namespace Name Mixin selector named LARGE_BALL
Lnet/minecraft/component/type/FireworkExplosionComponent$Type;LARGE_BALL:Lnet/minecraft/component/type/FireworkExplosionComponent$Type;
intermediary field_7977
Lnet/minecraft/class_9283$class_1782;field_7977:Lnet/minecraft/class_9283$class_1782;
official b
Lcxk$a;b:Lcxk$a;
-
STAR
- Mappings:
Namespace Name Mixin selector named STAR
Lnet/minecraft/component/type/FireworkExplosionComponent$Type;STAR:Lnet/minecraft/component/type/FireworkExplosionComponent$Type;
intermediary field_7973
Lnet/minecraft/class_9283$class_1782;field_7973:Lnet/minecraft/class_9283$class_1782;
official c
Lcxk$a;c:Lcxk$a;
-
CREEPER
- Mappings:
Namespace Name Mixin selector named CREEPER
Lnet/minecraft/component/type/FireworkExplosionComponent$Type;CREEPER:Lnet/minecraft/component/type/FireworkExplosionComponent$Type;
intermediary field_7974
Lnet/minecraft/class_9283$class_1782;field_7974:Lnet/minecraft/class_9283$class_1782;
official d
Lcxk$a;d:Lcxk$a;
-
BURST
- Mappings:
Namespace Name Mixin selector named BURST
Lnet/minecraft/component/type/FireworkExplosionComponent$Type;BURST:Lnet/minecraft/component/type/FireworkExplosionComponent$Type;
intermediary field_7970
Lnet/minecraft/class_9283$class_1782;field_7970:Lnet/minecraft/class_9283$class_1782;
official e
Lcxk$a;e:Lcxk$a;
-
-
Field Details
-
BY_ID
- Mappings:
Namespace Name Mixin selector named BY_ID
Lnet/minecraft/component/type/FireworkExplosionComponent$Type;BY_ID:Ljava/util/function/IntFunction;
intermediary field_7975
Lnet/minecraft/class_9283$class_1782;field_7975:Ljava/util/function/IntFunction;
official h
Lcxk$a;h:Ljava/util/function/IntFunction;
-
PACKET_CODEC
- Mappings:
Namespace Name Mixin selector named PACKET_CODEC
Lnet/minecraft/component/type/FireworkExplosionComponent$Type;PACKET_CODEC:Lnet/minecraft/network/codec/PacketCodec;
intermediary field_49321
Lnet/minecraft/class_9283$class_1782;field_49321:Lnet/minecraft/class_9139;
official f
Lcxk$a;f:Lzn;
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODEC
Lnet/minecraft/component/type/FireworkExplosionComponent$Type;CODEC:Lcom/mojang/serialization/Codec;
intermediary field_49322
Lnet/minecraft/class_9283$class_1782;field_49322:Lcom/mojang/serialization/Codec;
official g
Lcxk$a;g:Lcom/mojang/serialization/Codec;
-
id
private final int id- Mappings:
Namespace Name Mixin selector named id
Lnet/minecraft/component/type/FireworkExplosionComponent$Type;id:I
intermediary field_7972
Lnet/minecraft/class_9283$class_1782;field_7972:I
official i
Lcxk$a;i:I
-
name
- Mappings:
Namespace Name Mixin selector named name
Lnet/minecraft/component/type/FireworkExplosionComponent$Type;name:Ljava/lang/String;
intermediary field_7971
Lnet/minecraft/class_9283$class_1782;field_7971:Ljava/lang/String;
official j
Lcxk$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;)V
intermediary <init>
Lnet/minecraft/class_9283$class_1782;<init>(Ljava/lang/String;IILjava/lang/String;)V
official <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 getName
Lnet/minecraft/component/type/FireworkExplosionComponent$Type;getName()Lnet/minecraft/text/MutableText;
intermediary method_7812
Lnet/minecraft/class_9283$class_1782;method_7812()Lnet/minecraft/class_5250;
official a
Lcxk$a;a()Lyd;
-
getId
public int getId()- Mappings:
Namespace Name Mixin selector named getId
Lnet/minecraft/component/type/FireworkExplosionComponent$Type;getId()I
intermediary method_7816
Lnet/minecraft/class_9283$class_1782;method_7816()I
official b
Lcxk$a;b()I
-
byId
- Mappings:
Namespace Name Mixin selector named byId
Lnet/minecraft/component/type/FireworkExplosionComponent$Type;byId(I)Lnet/minecraft/component/type/FireworkExplosionComponent$Type;
intermediary method_7813
Lnet/minecraft/class_9283$class_1782;method_7813(I)Lnet/minecraft/class_9283$class_1782;
official a
Lcxk$a;a(I)Lcxk$a;
-
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
Lazu;c()Ljava/lang/String;
-