public class PacketPlayOutParticle extends OutPacket
Modifier and Type | Field and Description |
---|---|
protected int |
count |
protected int[] |
data |
protected boolean |
distance |
protected Position |
loc |
protected Vector |
offset |
protected ParticleEffectType |
particle |
protected float |
particleData |
Constructor and Description |
---|
PacketPlayOutParticle() |
Modifier and Type | Method and Description |
---|---|
int |
count() |
int[] |
data() |
void |
encode(ByteBuf buf)
Serialized the data held by this packet into a buffer
|
int |
id()
Gets the ID of this packet, according to the protocol specification
|
boolean |
isDistance() |
Position |
location() |
Vector |
offset() |
ParticleEffectType |
particle() |
float |
particleData() |
decode, direction, handleReceived, set
protected ParticleEffectType particle
protected boolean distance
protected float particleData
protected int count
protected int[] data
public PacketPlayOutParticle()
public int id()
Packet
public ParticleEffectType particle()
public boolean isDistance()
public float particleData()
public int count()
public int[] data()
Copyright © 2016. All rights reserved.