net.minecraft.core.particles

public class ColorParticleOption

implements ParticleOptions

lb
net.minecraft.core.particles.ColorParticleOption
net.minecraft.class_9381
net.minecraft.particle.EntityEffectParticleEffect
net.minecraft.src.C_313561_
net.minecraft.core.particles.ColorParticleOption

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public static com.mojang.serialization.MapCodec<ColorParticleOption>
a(lh<lb> arg0)
codec(ParticleType<ColorParticleOption> arg0)
method_58254(class_2396<class_9381> arg0)
createCodec(ParticleType<EntityEffectParticleEffect> type)
m_321856_(C_4758_<C_313561_> p_329922_)
public static StreamCodec<? super io.netty.buffer.ByteBuf, ColorParticleOption>
b(lh<lb> arg0)
streamCodec(ParticleType<ColorParticleOption> arg0)
method_58261(class_2396<class_9381> arg0)
createPacketCodec(ParticleType<EntityEffectParticleEffect> type)
m_323084_(C_4758_<C_313561_> p_328683_)
public ParticleType<ColorParticleOption>
a()
getType()
method_10295()
getType()
m_6012_()
public float
b()
getRed()
method_58259()
getRed()
m_320442_()
public float
c()
getGreen()
method_58263()
getGreen()
m_319328_()
public float
d()
getBlue()
method_58264()
getBlue()
m_321365_()
public float
e()
getAlpha()
method_58265()
getAlpha()
m_323169_()
public static ColorParticleOption
a(lh<lb> arg0, int arg1)
create(ParticleType<ColorParticleOption> arg0, int arg1)
method_58256(class_2396<class_9381> arg0, int arg1)
create(ParticleType<EntityEffectParticleEffect> type, int color)
m_318840_(C_4758_<C_313561_> p_329254_, int p_327671_)
public static ColorParticleOption
a(lh<lb> 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)
m_321894_(C_4758_<C_313561_> p_328973_, float p_334118_, float p_330068_, float p_330217_)