public class ParticleExplosionExtendedData
extends java.lang.Object
implements net.minecraft.particles.IParticleData
| Modifier and Type | Field and Description |
|---|---|
static com.mojang.serialization.Codec<ParticleExplosionExtendedData> |
CODEC |
static net.minecraft.particles.IParticleData.IDeserializer<ParticleExplosionExtendedData> |
DESERIALIZER |
| Constructor and Description |
|---|
ParticleExplosionExtendedData(float r,
float g,
float b,
float alpha) |
| Modifier and Type | Method and Description |
|---|---|
float |
getAlpha() |
float |
getB() |
float |
getG() |
java.lang.String |
getParameters() |
float |
getR() |
net.minecraft.particles.ParticleType<?> |
getType() |
void |
write(net.minecraft.network.PacketBuffer buffer) |
public static final net.minecraft.particles.IParticleData.IDeserializer<ParticleExplosionExtendedData> DESERIALIZER
public static final com.mojang.serialization.Codec<ParticleExplosionExtendedData> CODEC
public ParticleExplosionExtendedData(float r,
float g,
float b,
float alpha)
public float getR()
public float getG()
public float getB()
public float getAlpha()
public net.minecraft.particles.ParticleType<?> getType()
getType in interface net.minecraft.particles.IParticleDatapublic void write(net.minecraft.network.PacketBuffer buffer)
write in interface net.minecraft.particles.IParticleDatapublic java.lang.String getParameters()
getParameters in interface net.minecraft.particles.IParticleData