public class SSpawnExperienceOrbPacket extends java.lang.Object implements IPacket<IClientPlayNetHandler>
| Modifier and Type | Field and Description | 
|---|---|
private int | 
entityID  | 
private double | 
posX  | 
private double | 
posY  | 
private double | 
posZ  | 
private int | 
xpValue  | 
| Constructor and Description | 
|---|
SSpawnExperienceOrbPacket()  | 
SSpawnExperienceOrbPacket(ExperienceOrbEntity orb)  | 
| Modifier and Type | Method and Description | 
|---|---|
int | 
getEntityID()  | 
double | 
getX()  | 
int | 
getXPValue()  | 
double | 
getY()  | 
double | 
getZ()  | 
void | 
processPacket(IClientPlayNetHandler handler)  | 
void | 
readPacketData(PacketBuffer buf)  | 
void | 
writePacketData(PacketBuffer buf)  | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitshouldSkipErrorsprivate int entityID
private double posX
private double posY
private double posZ
private int xpValue
public SSpawnExperienceOrbPacket()
public SSpawnExperienceOrbPacket(ExperienceOrbEntity orb)
public void readPacketData(PacketBuffer buf) throws java.io.IOException
readPacketData in interface IPacket<IClientPlayNetHandler>java.io.IOExceptionpublic void writePacketData(PacketBuffer buf) throws java.io.IOException
writePacketData in interface IPacket<IClientPlayNetHandler>java.io.IOExceptionpublic void processPacket(IClientPlayNetHandler handler)
processPacket in interface IPacket<IClientPlayNetHandler>public int getEntityID()
public double getX()
public double getY()
public double getZ()
public int getXPValue()