Class DropletSpellParticleOption
java.lang.Object
nokunami.floral_warfare.client.particles.DropletSpellParticleOption
- All Implemented Interfaces:
net.minecraft.core.particles.ParticleOptions
public class DropletSpellParticleOption
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
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<DropletSpellParticleOption>static final net.minecraft.core.particles.ParticleOptions.Deserializer<DropletSpellParticleOption> -
Constructor Summary
ConstructorsConstructorDescriptionDropletSpellParticleOption(float r, float g, float b, float powerMultiplier) DropletSpellParticleOption(float r, float g, float b, int life, float powerMultiplier) -
Method Summary
-
Field Details
-
CODEC
-
DESERIALIZER
public static final net.minecraft.core.particles.ParticleOptions.Deserializer<DropletSpellParticleOption> DESERIALIZER
-
-
Constructor Details
-
DropletSpellParticleOption
public DropletSpellParticleOption(float r, float g, float b, float powerMultiplier) -
DropletSpellParticleOption
public DropletSpellParticleOption(float r, float g, float b, int life, float powerMultiplier)
-
-
Method Details
-
getType
public net.minecraft.core.particles.ParticleType<?> getType()- Specified by:
getTypein interfacenet.minecraft.core.particles.ParticleOptions
-
writeToNetwork
public void writeToNetwork(net.minecraft.network.FriendlyByteBuf buf) - Specified by:
writeToNetworkin interfacenet.minecraft.core.particles.ParticleOptions
-
writeToString
- Specified by:
writeToStringin interfacenet.minecraft.core.particles.ParticleOptions
-
getRed
public float getRed() -
getGreen
public float getGreen() -
getBlue
public float getBlue() -
getLifeTime
public int getLifeTime() -
getPower
public float getPower()
-