public class EvolutionBeamParticleData
extends java.lang.Object
implements net.minecraft.particles.IParticleData
Modifier and Type | Field and Description |
---|---|
static com.mojang.serialization.Codec<EvolutionBeamParticleData> |
CODEC |
static net.minecraft.particles.IParticleData.IDeserializer<EvolutionBeamParticleData> |
DESERIALIZER |
Constructor and Description |
---|
EvolutionBeamParticleData(java.awt.Color tint,
double diameter,
int beams,
int lifetime) |
EvolutionBeamParticleData(int tintRGB,
double diameter,
int beams,
int lifetime) |
Modifier and Type | Method and Description |
---|---|
int |
getBeams() |
double |
getDiameter() |
int |
getLifetime() |
java.awt.Color |
getTint() |
net.minecraft.particles.ParticleType<EvolutionBeamParticleData> |
getType() |
void |
writeToNetwork(net.minecraft.network.PacketBuffer buf) |
java.lang.String |
writeToString() |
public static final com.mojang.serialization.Codec<EvolutionBeamParticleData> CODEC
public static final net.minecraft.particles.IParticleData.IDeserializer<EvolutionBeamParticleData> DESERIALIZER
public EvolutionBeamParticleData(java.awt.Color tint, double diameter, int beams, int lifetime)
public EvolutionBeamParticleData(int tintRGB, double diameter, int beams, int lifetime)
public java.awt.Color getTint()
public double getDiameter()
public int getBeams()
public int getLifetime()
@Nonnull public net.minecraft.particles.ParticleType<EvolutionBeamParticleData> 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