net.minecraft.particle

public class TintedParticleEffect

implements ParticleEffect

net.minecraft.core.particles.ColorParticleOption
net.minecraft.class_9381
net.minecraft.particle.TintedParticleEffect

Field summary

Modifier and TypeField
private final ParticleType<TintedParticleEffect>
type
field_49909
type
private final int
color
field_49910
color

Constructor summary

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

Method summary

Modifier and TypeMethod
public static com.mojang.serialization.MapCodec<TintedParticleEffect>
codec(ParticleType<ColorParticleOption> type)
method_58254(class_2396<class_9381> arg0)
createCodec(ParticleType<TintedParticleEffect> type)
public static PacketCodec<? super io.netty.buffer.ByteBuf, TintedParticleEffect>
streamCodec(ParticleType<ColorParticleOption> type)
method_58261(class_2396<class_9381> arg0)
createPacketCodec(ParticleType<TintedParticleEffect> type)
public ParticleType<TintedParticleEffect>
getType()
method_10295()
getType()
public float
getRed()
method_58259()
getRed()
public float
getGreen()
method_58263()
getGreen()
public float
getBlue()
method_58264()
getBlue()
public float
getAlpha()
method_58265()
getAlpha()
public static TintedParticleEffect
create(ParticleType<ColorParticleOption> type, int color)
method_58256(class_2396<class_9381> arg0, int arg1)
create(ParticleType<TintedParticleEffect> type, int color)
public static TintedParticleEffect
create(ParticleType<ColorParticleOption> type, float red, float green, float blue)
method_58255(class_2396<class_9381> arg0, float arg1, float arg2, float arg3)
create(ParticleType<TintedParticleEffect> type, float r, float g, float b)
private static Integer
lambda$streamCodec$1(ColorParticleOption arg0)
method_58253(class_9381 arg0)
method_58253(TintedParticleEffect particleEffect)
private static TintedParticleEffect
lambda$streamCodec$0(ParticleType arg0, Integer arg1)
method_58258(class_2396 arg0, Integer arg1)
method_58258(ParticleType arg0, Integer color)
private static Integer
lambda$codec$1(ColorParticleOption arg0)
method_58260(class_9381 arg0)
method_58260(TintedParticleEffect effect)
private static TintedParticleEffect
lambda$codec$0(ParticleType arg0, Integer arg1)
method_58262(class_2396 arg0, Integer arg1)
method_58262(ParticleType arg0, Integer color)