net.minecraft.network.packet.s2c.play

public class ParticleS2CPacket

implements Packet<ClientPlayPacketListener>

net.minecraft.network.protocol.game.ClientboundLevelParticlesPacket
net.minecraft.class_2675
net.minecraft.network.packet.s2c.play.ParticleS2CPacket

Field summary

Modifier and TypeField
public static final PacketCodec<RegistryByteBuf, ParticleS2CPacket>
STREAM_CODEC
field_47935
CODEC
private final double
x
field_12258
x
private final double
y
field_12257
y
private final double
z
field_12256
z
private final float
xDist
field_12255
offsetX
private final float
yDist
field_12252
offsetY
private final float
zDist
field_12251
offsetZ
private final float
maxSpeed
field_12260
speed
private final int
count
field_12253
count
private final boolean
overrideLimiter
field_12254
forceSpawn
private final boolean
alwaysShow
field_54980
important
private final ParticleEffect
particle
field_12259
parameters

Constructor summary

ModifierConstructor
public <T extends ParticleEffect>(T parameters, boolean forceSpawn, boolean important, double x, double y, double z, float offsetX, float offsetY, float offsetZ, float speed, int count)
private (RegistryByteBuf buf)

Method summary

Modifier and TypeMethod
private void
write(RegistryFriendlyByteBuf output)
method_55885(class_9129 arg0)
write(RegistryByteBuf buf)
public PacketType<ParticleS2CPacket>
type()
method_65080()
getPacketType()
public void
handle(ClientGamePacketListener listener)
method_11553(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
public boolean
isOverrideLimiter()
method_11552()
shouldForceSpawn()
public boolean
alwaysShow()
method_65082()
isImportant()
public double
getX()
method_11544()
getX()
public double
getY()
method_11547()
getY()
public double
getZ()
method_11546()
getZ()
public float
getXDist()
method_11548()
getOffsetX()
public float
getYDist()
method_11549()
getOffsetY()
public float
getZDist()
method_11550()
getOffsetZ()
public float
getMaxSpeed()
method_11543()
getSpeed()
public int
getCount()
method_11545()
getCount()
public ParticleEffect
getParticle()
method_11551()
getParameters()
public void
handle(PacketListener listener)
method_65081(class_2547 arg0)
apply(PacketListener arg0)