net.minecraft.core.particles

public class ColorParticleOption

implements ParticleOptions

ll
net.minecraft.core.particles.ColorParticleOption
net.minecraft.class_9381
net.minecraft.particle.EntityEffectParticleEffect
net.minecraft.core.particles.ColorParticleOption

Field summary

Modifier and TypeField
private final ParticleType<ColorParticleOption>
a
type
field_49909
type
private final int
b
color
field_49910
color

Constructor summary

ModifierConstructor
private (ParticleType<ColorParticleOption> type, int color)

Method summary

Modifier and TypeMethod
public static com.mojang.serialization.MapCodec<ColorParticleOption>
a(lr<ll> arg0)
codec(ParticleType<ColorParticleOption> arg0)
method_58254(class_2396<class_9381> arg0)
createCodec(ParticleType<EntityEffectParticleEffect> type)
public static StreamCodec<? super io.netty.buffer.ByteBuf, ColorParticleOption>
b(lr<ll> arg0)
streamCodec(ParticleType<ColorParticleOption> arg0)
method_58261(class_2396<class_9381> arg0)
createPacketCodec(ParticleType<EntityEffectParticleEffect> type)
public ParticleType<ColorParticleOption>
a()
getType()
method_10295()
getType()
public float
b()
getRed()
method_58259()
getRed()
public float
c()
getGreen()
method_58263()
getGreen()
public float
d()
getBlue()
method_58264()
getBlue()
public float
e()
getAlpha()
method_58265()
getAlpha()
public static ColorParticleOption
a(lr<ll> arg0, int arg1)
create(ParticleType<ColorParticleOption> arg0, int arg1)
method_58256(class_2396<class_9381> arg0, int arg1)
create(ParticleType<EntityEffectParticleEffect> type, int color)
public static ColorParticleOption
a(lr<ll> arg0, float arg1, float arg2, float arg3)
create(ParticleType<ColorParticleOption> arg0, float arg1, float arg2, float arg3)
method_58255(class_2396<class_9381> arg0, float arg1, float arg2, float arg3)
create(ParticleType<EntityEffectParticleEffect> type, float r, float g, float b)