public class SPacketExplosion extends java.lang.Object implements Packet<INetHandlerPlayClient>
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) |
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()