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 SummaryFieldsModifier and TypeFieldDescriptionprivate final intprivate final floatprivate final booleanprivate final ParticleOptionsprivate final doubleprivate final floatprivate final doubleprivate final floatprivate final doubleprivate final float
- 
Constructor SummaryConstructorsConstructorDescriptionClientboundLevelParticlesPacket(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 SummaryModifier 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.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.network.protocol.PacketisSkippable, nextProtocol
- 
Field Details- 
xprivate final double x
- 
yprivate final double y
- 
zprivate final double z
- 
xDistprivate final float xDist
- 
yDistprivate final float yDist
- 
zDistprivate final float zDist
- 
maxSpeedprivate final float maxSpeed
- 
countprivate final int count
- 
overrideLimiterprivate final boolean overrideLimiter
- 
particle
 
- 
- 
Constructor Details- 
ClientboundLevelParticlesPacketpublic 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- 
readParticleprivate <T extends ParticleOptions> T readParticle(FriendlyByteBuf p_132305_, ParticleType<T> p_132306_) 
- 
write- Specified by:
- writein interface- Packet<ClientGamePacketListener>
 
- 
isOverrideLimiterpublic boolean isOverrideLimiter()
- 
getXpublic double getX()
- 
getYpublic double getY()
- 
getZpublic double getZ()
- 
getXDistpublic float getXDist()
- 
getYDistpublic float getYDist()
- 
getZDistpublic float getZDist()
- 
getMaxSpeedpublic float getMaxSpeed()
- 
getCountpublic int getCount()
- 
getParticle
- 
handle- Specified by:
- handlein interface- Packet<ClientGamePacketListener>
 
 
-