Class ClientboundExplodePacket
java.lang.Object
net.minecraft.network.protocol.game.ClientboundExplodePacket
- All Implemented Interfaces:
- Packet<ClientGamePacketListener>
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final floatprivate final floatprivate final floatprivate final floatprivate final doubleprivate final doubleprivate final double
- 
Constructor SummaryConstructorsConstructorDescriptionClientboundExplodePacket(double p_132115_, double p_132116_, double p_132117_, float p_132118_, List<BlockPos> p_132119_, Vec3 p_132120_) ClientboundExplodePacket(FriendlyByteBuf p_178845_) 
- 
Method SummaryModifier and TypeMethodDescriptionfloatfloatfloatfloatgetPower()doublegetX()doublegetY()doublegetZ()voidhandle(ClientGamePacketListener p_132126_) voidwrite(FriendlyByteBuf p_132129_) Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.network.protocol.PacketisSkippable, nextProtocol
- 
Field Details- 
xprivate final double x
- 
yprivate final double y
- 
zprivate final double z
- 
powerprivate final float power
- 
toBlow
- 
knockbackXprivate final float knockbackX
- 
knockbackYprivate final float knockbackY
- 
knockbackZprivate final float knockbackZ
 
- 
- 
Constructor Details- 
ClientboundExplodePacket
- 
ClientboundExplodePacket
 
- 
- 
Method Details- 
write- Specified by:
- writein interface- Packet<ClientGamePacketListener>
 
- 
handle- Specified by:
- handlein interface- Packet<ClientGamePacketListener>
 
- 
getKnockbackXpublic float getKnockbackX()
- 
getKnockbackYpublic float getKnockbackY()
- 
getKnockbackZpublic float getKnockbackZ()
- 
getXpublic double getX()
- 
getYpublic double getY()
- 
getZpublic double getZ()
- 
getPowerpublic float getPower()
- 
getToBlow
 
-