Class SSpawnParticlePacket
- java.lang.Object
-
- net.minecraft.network.play.server.SSpawnParticlePacket
-
- All Implemented Interfaces:
IPacket<IClientPlayNetHandler>
public class SSpawnParticlePacket extends java.lang.Object implements IPacket<IClientPlayNetHandler>
-
-
Constructor Summary
Constructors Constructor Description SSpawnParticlePacket()
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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCount()
float
getMaxSpeed()
IParticleData
getParticle()
double
getX()
float
getXDist()
double
getY()
float
getYDist()
double
getZ()
float
getZDist()
void
handle(IClientPlayNetHandler p_148833_1_)
boolean
isOverrideLimiter()
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 Detail
-
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
private IParticleData particle
-
-
Constructor Detail
-
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 Detail
-
read
public void read(PacketBuffer p_148837_1_) throws java.io.IOException
- Specified by:
read
in interfaceIPacket<IClientPlayNetHandler>
- Throws:
java.io.IOException
-
readParticle
private <T extends IParticleData> T readParticle(PacketBuffer p_199855_1_, ParticleType<T> p_199855_2_)
-
write
public void write(PacketBuffer p_148840_1_) throws java.io.IOException
- Specified by:
write
in interfaceIPacket<IClientPlayNetHandler>
- Throws:
java.io.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
public IParticleData getParticle()
-
handle
public void handle(IClientPlayNetHandler p_148833_1_)
- Specified by:
handle
in interfaceIPacket<IClientPlayNetHandler>
-
-