net.minecraft.network.packet.s2c.play

public class ParticleS2CPacket

implements Packet<ClientPlayPacketListener>

net.minecraft.network.protocol.game.ClientboundLevelParticlesPacket
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
STREAM_CODEC
field_47935
CODEC
private final double
x
x
field_12258
x
private final double
y
y
field_12257
y
private final double
z
z
field_12256
z
private final float
xDist
xDist
field_12255
offsetX
private final float
yDist
yDist
field_12252
offsetY
private final float
zDist
zDist
field_12251
offsetZ
private final float
maxSpeed
maxSpeed
field_12260
speed
private final int
count
count
field_12253
count
private final boolean
overrideLimiter
overrideLimiter
field_12254
forceSpawn
private final boolean
alwaysShow
alwaysShow
field_54980
important
private final ParticleEffect
particle
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)
write(RegistryFriendlyByteBuf output)
method_55885(class_9129 arg0)
write(RegistryByteBuf buf)
public PacketType<ParticleS2CPacket>
type()
type()
method_65080()
getPacketType()
public void
handle(ClientGamePacketListener listener)
handle(ClientGamePacketListener listener)
method_11553(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
public boolean
isOverrideLimiter()
isOverrideLimiter()
method_11552()
shouldForceSpawn()
public boolean
alwaysShow()
alwaysShow()
method_65082()
isImportant()
public double
getX()
getX()
method_11544()
getX()
public double
getY()
getY()
method_11547()
getY()
public double
getZ()
getZ()
method_11546()
getZ()
public float
getXDist()
getXDist()
method_11548()
getOffsetX()
public float
getYDist()
getYDist()
method_11549()
getOffsetY()
public float
getZDist()
getZDist()
method_11550()
getOffsetZ()
public float
getMaxSpeed()
getMaxSpeed()
method_11543()
getSpeed()
public int
getCount()
getCount()
method_11545()
getCount()
public ParticleEffect
getParticle()
getParticle()
method_11551()
getParameters()