Package net.minecraft.particle
Class DustParticleEffect
java.lang.Object
net.minecraft.particle.DustParticleEffect
- All Implemented Interfaces:
ParticleEffect
public class DustParticleEffect extends Object implements ParticleEffect
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.particle.ParticleEffect
ParticleEffect.Factory<T extends ParticleEffect> -
Field Summary
Fields Modifier and Type Field Description private floatbluestatic com.mojang.serialization.Codec<DustParticleEffect>CODECprivate floatgreenstatic ParticleEffect.Factory<DustParticleEffect>PARAMETERS_FACTORYprivate floatredstatic DustParticleEffectREDprivate floatscale -
Constructor Summary
Constructors Constructor Description DustParticleEffect(float red, float green, float blue, float scale) -
Method Summary
Modifier and Type Method Description StringasString()floatgetBlue()floatgetGreen()floatgetRed()floatgetScale()ParticleType<DustParticleEffect>getType()voidwrite(PacketByteBuf buf)
-
Field Details
-
RED
-
CODEC
-
PARAMETERS_FACTORY
-
red
private final float red -
green
private final float green -
blue
private final float blue -
scale
private final float scale
-
-
Constructor Details
-
DustParticleEffect
public DustParticleEffect(float red, float green, float blue, float scale)
-
-
Method Details
-
write
- Specified by:
writein interfaceParticleEffect
-
asString
- Specified by:
asStringin interfaceParticleEffect
-
getType
- Specified by:
getTypein interfaceParticleEffect
-
getRed
@Environment(CLIENT) public float getRed() -
getGreen
@Environment(CLIENT) public float getGreen() -
getBlue
@Environment(CLIENT) public float getBlue() -
getScale
@Environment(CLIENT) public float getScale()
-