Class SSpawnParticlePacket
java.lang.Object
net.minecraft.network.play.server.SSpawnParticlePacket
- All Implemented Interfaces:
IPacket<IClientPlayNetHandler>
-
Field Summary
-
Constructor Summary
ConstructorDescriptionSSpawnParticlePacket
(T p_i229960_1_, boolean p_i229960_2_, double p_i229960_3_, double p_i229960_5_, double p_i229960_7_, float p_i229960_9_, float p_i229960_10_, float p_i229960_11_, float p_i229960_12_, int p_i229960_13_) -
Method Summary
Modifier and TypeMethodDescriptionint
getCount()
float
double
getX()
float
getXDist()
double
getY()
float
getYDist()
double
getZ()
float
getZDist()
void
handle
(IClientPlayNetHandler p_148833_1_) boolean
void
read
(PacketBuffer p_148837_1_) private <T extends IParticleData>
TreadParticle
(PacketBuffer p_199855_1_, ParticleType<T> p_199855_2_) void
write
(PacketBuffer p_148840_1_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.network.IPacket
isSkippable
-
Field Details
-
x
private double x -
y
private double y -
z
private double z -
xDist
private float xDist -
yDist
private float yDist -
zDist
private float zDist -
maxSpeed
private float maxSpeed -
count
private int count -
overrideLimiter
private boolean overrideLimiter -
particle
-
-
Constructor Details
-
SSpawnParticlePacket
public SSpawnParticlePacket() -
SSpawnParticlePacket
public SSpawnParticlePacket(T p_i229960_1_, boolean p_i229960_2_, double p_i229960_3_, double p_i229960_5_, double p_i229960_7_, float p_i229960_9_, float p_i229960_10_, float p_i229960_11_, float p_i229960_12_, int p_i229960_13_)
-
-
Method Details
-
read
- Specified by:
read
in interfaceIPacket<IClientPlayNetHandler>
- Throws:
IOException
-
readParticle
private <T extends IParticleData> T readParticle(PacketBuffer p_199855_1_, ParticleType<T> p_199855_2_) -
write
- Specified by:
write
in interfaceIPacket<IClientPlayNetHandler>
- Throws:
IOException
-
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:
handle
in interfaceIPacket<IClientPlayNetHandler>
-