public class SExplosionPacket extends java.lang.Object implements IPacket<IClientPlayNetHandler>
Modifier and Type | Field and Description |
---|---|
private java.util.List<BlockPos> |
affectedBlockPositions |
private float |
motionX |
private float |
motionY |
private float |
motionZ |
private double |
posX |
private double |
posY |
private double |
posZ |
private float |
strength |
Constructor and Description |
---|
SExplosionPacket() |
SExplosionPacket(double xIn,
double yIn,
double zIn,
float strengthIn,
java.util.List<BlockPos> affectedBlockPositionsIn,
Vec3d motion) |
Modifier and Type | Method and Description |
---|---|
java.util.List<BlockPos> |
getAffectedBlockPositions() |
float |
getMotionX() |
float |
getMotionY() |
float |
getMotionZ() |
float |
getStrength() |
double |
getX() |
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, wait
shouldSkipErrors
private double posX
private double posY
private double posZ
private float strength
private java.util.List<BlockPos> affectedBlockPositions
private float motionX
private float motionY
private float motionZ
public void readPacketData(PacketBuffer buf) throws java.io.IOException
readPacketData
in interface IPacket<IClientPlayNetHandler>
java.io.IOException
public void writePacketData(PacketBuffer buf) throws java.io.IOException
writePacketData
in interface IPacket<IClientPlayNetHandler>
java.io.IOException
public void processPacket(IClientPlayNetHandler handler)
processPacket
in interface IPacket<IClientPlayNetHandler>
public float getMotionX()
public float getMotionY()
public float getMotionZ()
public double getX()
public double getY()
public double getZ()
public float getStrength()
public java.util.List<BlockPos> getAffectedBlockPositions()