net.minecraft.component.type

public enum FireworkExplosionComponent$Type

implements StringIdentifiable

net.minecraft.world.item.component.FireworkExplosion$Shape
net.minecraft.class_9283$class_1782
net.minecraft.component.type.FireworkExplosionComponent$Type

Enum constant summary

Enum Constant
SMALL_BALL
field_7976
SMALL_BALL
LARGE_BALL
field_7977
LARGE_BALL
STAR
field_7973
STAR
CREEPER
field_7974
CREEPER
BURST
field_7970
BURST

Field summary

Modifier and TypeField
private static final IntFunction<FireworkExplosionComponent$Type>
BY_ID
field_7975
BY_ID
public static final PacketCodec<io.netty.buffer.ByteBuf, FireworkExplosionComponent$Type>
STREAM_CODEC
field_49321
PACKET_CODEC
public static final com.mojang.serialization.Codec<FireworkExplosionComponent$Type>
CODEC
field_49322
CODEC
private final int
id
field_7972
id
private final String
name
field_7971
name
private static final FireworkExplosionComponent$Type[]
$VALUES
field_7978
field_7978

Constructor summary

ModifierConstructor
private (int $enum$name, String $enum$ordinal)

Method summary

Modifier and TypeMethod
public MutableText
getName()
method_7812()
getName()
public int
getId()
method_7816()
getId()
public static FireworkExplosionComponent$Type
byId(int id)
method_7813(int arg0)
byId(int id)
public String
getSerializedName()
method_15434()
asString()
private static FireworkExplosionComponent$Type[]
$values()
method_36677()
method_36677()