public class SPacketExplosion extends java.lang.Object implements Packet<INetHandlerPlayClient>
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 |
---|
SPacketExplosion() |
SPacketExplosion(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(INetHandlerPlayClient handler) |
void |
readPacketData(PacketBuffer buf) |
void |
writePacketData(PacketBuffer buf) |
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 Packet<INetHandlerPlayClient>
java.io.IOException
public void writePacketData(PacketBuffer buf) throws java.io.IOException
writePacketData
in interface Packet<INetHandlerPlayClient>
java.io.IOException
public void processPacket(INetHandlerPlayClient handler)
processPacket
in interface Packet<INetHandlerPlayClient>
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()