Class ClientboundExplodePacket
java.lang.Object
net.minecraft.network.protocol.game.ClientboundExplodePacket
- All Implemented Interfaces:
Packet<ClientGamePacketListener>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate floatprivate floatprivate floatprivate floatprivate doubleprivate doubleprivate double -
Constructor Summary
ConstructorsConstructorDescriptionClientboundExplodePacket(double p_132115_, double p_132116_, double p_132117_, float p_132118_, List<BlockPos> p_132119_, Vec3 p_132120_)ClientboundExplodePacket(FriendlyByteBuf p_178845_) -
Method Summary
Modifier and TypeMethodDescriptionfloatfloatfloatfloatgetPower()doublegetX()doublegetY()doublegetZ()voidhandle(ClientGamePacketListener p_132126_)voidwrite(FriendlyByteBuf p_132129_)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.network.protocol.Packet
isSkippable
-
Field Details
-
x
private final double x -
y
private final double y -
z
private final double z -
power
private final float power -
toBlow
-
knockbackX
private final float knockbackX -
knockbackY
private final float knockbackY -
knockbackZ
private final float knockbackZ
-
-
Constructor Details
-
ClientboundExplodePacket
-
ClientboundExplodePacket
-
-
Method Details
-
write
- Specified by:
writein interfacePacket<ClientGamePacketListener>
-
handle
- Specified by:
handlein interfacePacket<ClientGamePacketListener>
-
getKnockbackX
public float getKnockbackX() -
getKnockbackY
public float getKnockbackY() -
getKnockbackZ
public float getKnockbackZ() -
getX
public double getX() -
getY
public double getY() -
getZ
public double getZ() -
getPower
public float getPower() -
getToBlow
-