public class FlameParticleData
extends java.lang.Object
implements net.minecraft.particles.IParticleData
Modifier and Type | Field and Description |
---|---|
static com.mojang.serialization.Codec<FlameParticleData> |
CODEC |
static net.minecraft.particles.IParticleData.IDeserializer<FlameParticleData> |
DESERIALIZER |
Constructor and Description |
---|
FlameParticleData(java.awt.Color tint,
double diameter) |
Modifier and Type | Method and Description |
---|---|
double |
getDiameter() |
java.awt.Color |
getTint() |
net.minecraft.particles.ParticleType<FlameParticleData> |
getType() |
void |
writeToNetwork(net.minecraft.network.PacketBuffer buf) |
java.lang.String |
writeToString() |
public static final com.mojang.serialization.Codec<FlameParticleData> CODEC
public static final net.minecraft.particles.IParticleData.IDeserializer<FlameParticleData> DESERIALIZER
public java.awt.Color getTint()
public double getDiameter()
@Nonnull public net.minecraft.particles.ParticleType<FlameParticleData> getType()
getType
in interface net.minecraft.particles.IParticleData
public void writeToNetwork(net.minecraft.network.PacketBuffer buf)
writeToNetwork
in interface net.minecraft.particles.IParticleData
@Nonnull public java.lang.String writeToString()
writeToString
in interface net.minecraft.particles.IParticleData