Class ClientboundLevelParticlesPacket
java.lang.Object
net.minecraft.network.protocol.game.ClientboundLevelParticlesPacket
- All Implemented Interfaces:
 Packet<ClientGamePacketListener>
public class ClientboundLevelParticlesPacket
extends Object
implements Packet<ClientGamePacketListener>
- 
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intprivate final floatprivate final booleanprivate final ParticleOptionsprivate final doubleprivate final floatprivate final doubleprivate final floatprivate final doubleprivate final float - 
Constructor Summary
ConstructorsConstructorDescriptionClientboundLevelParticlesPacket(FriendlyByteBuf p_178910_) ClientboundLevelParticlesPacket(T p_132292_, boolean p_132293_, double p_132294_, double p_132295_, double p_132296_, float p_132297_, float p_132298_, float p_132299_, float p_132300_, int p_132301_)  - 
Method Summary
Modifier and TypeMethodDescriptionintgetCount()floatdoublegetX()floatgetXDist()doublegetY()floatgetYDist()doublegetZ()floatgetZDist()voidhandle(ClientGamePacketListener p_132310_) booleanprivate <T extends ParticleOptions>
TreadParticle(FriendlyByteBuf p_132305_, ParticleType<T> p_132306_) voidwrite(FriendlyByteBuf p_132313_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.network.protocol.Packet
isSkippable, nextProtocol 
- 
Field Details
- 
x
private final double x - 
y
private final double y - 
z
private final double z - 
xDist
private final float xDist - 
yDist
private final float yDist - 
zDist
private final float zDist - 
maxSpeed
private final float maxSpeed - 
count
private final int count - 
overrideLimiter
private final boolean overrideLimiter - 
particle
 
 - 
 - 
Constructor Details
- 
ClientboundLevelParticlesPacket
public ClientboundLevelParticlesPacket(T p_132292_, boolean p_132293_, double p_132294_, double p_132295_, double p_132296_, float p_132297_, float p_132298_, float p_132299_, float p_132300_, int p_132301_)  - 
ClientboundLevelParticlesPacket
 
 - 
 - 
Method Details
- 
readParticle
private <T extends ParticleOptions> T readParticle(FriendlyByteBuf p_132305_, ParticleType<T> p_132306_)  - 
write
- Specified by:
 writein interfacePacket<ClientGamePacketListener>
 - 
isOverrideLimiter
public boolean isOverrideLimiter() - 
getX
public double getX() - 
getY
public double getY() - 
getZ
public double getZ() - 
getXDist
public float getXDist() - 
getYDist
public float getYDist() - 
getZDist
public float getZDist() - 
getMaxSpeed
public float getMaxSpeed() - 
getCount
public int getCount() - 
getParticle
 - 
handle
- Specified by:
 handlein interfacePacket<ClientGamePacketListener>
 
 -