public class DefaultParticleType extends ParticleType<DefaultParticleType> implements ParticleEffect
ParticleEffect.Factory<T extends ParticleEffect>
Modifier and Type | Field and Description |
---|---|
private com.mojang.serialization.Codec<DefaultParticleType> |
codec |
private static ParticleEffect.Factory<DefaultParticleType> |
PARAMETER_FACTORY |
Modifier | Constructor and Description |
---|---|
protected |
DefaultParticleType(boolean alwaysShow) |
Modifier and Type | Method and Description |
---|---|
String |
asString() |
com.mojang.serialization.Codec<DefaultParticleType> |
getCodec() |
DefaultParticleType |
getType() |
void |
write(PacketByteBuf buf) |
getParametersFactory, shouldAlwaysSpawn
private static final ParticleEffect.Factory<DefaultParticleType> PARAMETER_FACTORY
private final com.mojang.serialization.Codec<DefaultParticleType> codec
public DefaultParticleType getType()
getType
in interface ParticleEffect
public com.mojang.serialization.Codec<DefaultParticleType> getCodec()
getCodec
in class ParticleType<DefaultParticleType>
public void write(PacketByteBuf buf)
write
in interface ParticleEffect
public String asString()
asString
in interface ParticleEffect