Class EvolutionBeamParticleData
java.lang.Object
com.pixelmonmod.pixelmon.client.particle.particles.beams.EvolutionBeamParticleData
- All Implemented Interfaces:
net.minecraft.core.particles.ParticleOptions
public class EvolutionBeamParticleData
extends Object
implements net.minecraft.core.particles.ParticleOptions
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.core.particles.ParticleOptions
net.minecraft.core.particles.ParticleOptions.Deserializer<T extends net.minecraft.core.particles.ParticleOptions>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<EvolutionBeamParticleData>
static final net.minecraft.core.particles.ParticleOptions.Deserializer<EvolutionBeamParticleData>
-
Constructor Summary
ConstructorDescriptionEvolutionBeamParticleData
(int tintRGB, double diameter, int beams, int lifetime) EvolutionBeamParticleData
(Color tint, double diameter, int beams, int lifetime) -
Method Summary
Modifier and TypeMethodDescriptionint
getBeams()
double
int
getTint()
net.minecraft.core.particles.ParticleType<EvolutionBeamParticleData>
getType()
void
writeToNetwork
(net.minecraft.network.FriendlyByteBuf buf)
-
Field Details
-
CODEC
-
DESERIALIZER
public static final net.minecraft.core.particles.ParticleOptions.Deserializer<EvolutionBeamParticleData> DESERIALIZER
-
-
Constructor Details
-
EvolutionBeamParticleData
-
EvolutionBeamParticleData
public EvolutionBeamParticleData(int tintRGB, double diameter, int beams, int lifetime)
-
-
Method Details
-
getTint
-
getDiameter
public double getDiameter() -
getBeams
public int getBeams() -
getLifetime
public int getLifetime() -
getType
- Specified by:
getType
in interfacenet.minecraft.core.particles.ParticleOptions
-
writeToNetwork
public void writeToNetwork(net.minecraft.network.FriendlyByteBuf buf) - Specified by:
writeToNetwork
in interfacenet.minecraft.core.particles.ParticleOptions
-
writeToString
- Specified by:
writeToString
in interfacenet.minecraft.core.particles.ParticleOptions
-