Class ExplosionS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.play.ExplosionS2CPacket
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
Sent when an explosion occurs in the world.
The client will update the player's velocity as well as performing an explosion.
- See Also:
- Mappings:
Namespace Name intermediary net/minecraft/class_2664official vvnamed net/minecraft/network/packet/s2c/play/ExplosionS2CPacket
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final floatprivate final floatprivate final floatprivate final floatprivate final doubleprivate final doubleprivate final double -
Constructor Summary
ConstructorsConstructorDescriptionExplosionS2CPacket(double x, double y, double z, float radius, List<BlockPos> affectedBlocks, @Nullable Vec3d playerVelocity) -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(ClientPlayPacketListener clientPlayPacketListener) floatfloatfloatfloatdoublegetX()doublegetY()doublegetZ()voidwrite(PacketByteBuf buf) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.network.packet.Packet
isWritingErrorSkippable
-
Field Details
-
x
private final double x- Mappings:
Namespace Name Mixin selector intermediary field_12180Lnet/minecraft/class_2664;field_12180:Dofficial aLvv;a:Dnamed xLnet/minecraft/network/packet/s2c/play/ExplosionS2CPacket;x:D
-
y
private final double y- Mappings:
Namespace Name Mixin selector intermediary field_12178Lnet/minecraft/class_2664;field_12178:Dofficial bLvv;b:Dnamed yLnet/minecraft/network/packet/s2c/play/ExplosionS2CPacket;y:D
-
z
private final double z- Mappings:
Namespace Name Mixin selector intermediary field_12177Lnet/minecraft/class_2664;field_12177:Dofficial cLvv;c:Dnamed zLnet/minecraft/network/packet/s2c/play/ExplosionS2CPacket;z:D
-
radius
private final float radius- Mappings:
Namespace Name Mixin selector intermediary field_12179Lnet/minecraft/class_2664;field_12179:Fofficial dLvv;d:Fnamed radiusLnet/minecraft/network/packet/s2c/play/ExplosionS2CPacket;radius:F
-
affectedBlocks
- Mappings:
Namespace Name Mixin selector intermediary field_12181Lnet/minecraft/class_2664;field_12181:Ljava/util/List;official eLvv;e:Ljava/util/List;named affectedBlocksLnet/minecraft/network/packet/s2c/play/ExplosionS2CPacket;affectedBlocks:Ljava/util/List;
-
playerVelocityX
private final float playerVelocityX- Mappings:
Namespace Name Mixin selector intermediary field_12176Lnet/minecraft/class_2664;field_12176:Fofficial fLvv;f:Fnamed playerVelocityXLnet/minecraft/network/packet/s2c/play/ExplosionS2CPacket;playerVelocityX:F
-
playerVelocityY
private final float playerVelocityY- Mappings:
Namespace Name Mixin selector intermediary field_12183Lnet/minecraft/class_2664;field_12183:Fofficial gLvv;g:Fnamed playerVelocityYLnet/minecraft/network/packet/s2c/play/ExplosionS2CPacket;playerVelocityY:F
-
playerVelocityZ
private final float playerVelocityZ- Mappings:
Namespace Name Mixin selector intermediary field_12182Lnet/minecraft/class_2664;field_12182:Fofficial hLvv;h:Fnamed playerVelocityZLnet/minecraft/network/packet/s2c/play/ExplosionS2CPacket;playerVelocityZ:F
-
-
Constructor Details
-
ExplosionS2CPacket
public ExplosionS2CPacket(double x, double y, double z, float radius, List<BlockPos> affectedBlocks, @Nullable @Nullable Vec3d playerVelocity) - Mappings:
Namespace Name Mixin selector intermediary <init>Lnet/minecraft/class_2664;<init>(DDDFLjava/util/List;Lnet/minecraft/class_243;)Vofficial <init>Lvv;<init>(DDDFLjava/util/List;Leea;)Vnamed <init>Lnet/minecraft/network/packet/s2c/play/ExplosionS2CPacket;<init>(DDDFLjava/util/List;Lnet/minecraft/util/math/Vec3d;)V
-
ExplosionS2CPacket
- Mappings:
Namespace Name Mixin selector intermediary <init>Lnet/minecraft/class_2664;<init>(Lnet/minecraft/class_2540;)Vofficial <init>Lvv;<init>(Lsf;)Vnamed <init>Lnet/minecraft/network/packet/s2c/play/ExplosionS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
-
-
Method Details
-
write
- Specified by:
writein interfacePacket<ClientPlayPacketListener>- Mappings:
Namespace Name Mixin selector intermediary method_11052Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)Vofficial aLuo;a(Lsf;)Vnamed writeLnet/minecraft/network/packet/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
-
apply
- Specified by:
applyin interfacePacket<ClientPlayPacketListener>- Mappings:
Namespace Name Mixin selector intermediary method_11480Lnet/minecraft/class_2664;method_11480(Lnet/minecraft/class_2602;)Vofficial aLvv;a(Lur;)Vnamed applyLnet/minecraft/network/packet/s2c/play/ExplosionS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
-
getPlayerVelocityX
public float getPlayerVelocityX()- Mappings:
Namespace Name Mixin selector intermediary method_11472Lnet/minecraft/class_2664;method_11472()Fofficial aLvv;a()Fnamed getPlayerVelocityXLnet/minecraft/network/packet/s2c/play/ExplosionS2CPacket;getPlayerVelocityX()F
-
getPlayerVelocityY
public float getPlayerVelocityY()- Mappings:
Namespace Name Mixin selector intermediary method_11473Lnet/minecraft/class_2664;method_11473()Fofficial cLvv;c()Fnamed getPlayerVelocityYLnet/minecraft/network/packet/s2c/play/ExplosionS2CPacket;getPlayerVelocityY()F
-
getPlayerVelocityZ
public float getPlayerVelocityZ()- Mappings:
Namespace Name Mixin selector intermediary method_11474Lnet/minecraft/class_2664;method_11474()Fofficial dLvv;d()Fnamed getPlayerVelocityZLnet/minecraft/network/packet/s2c/play/ExplosionS2CPacket;getPlayerVelocityZ()F
-
getX
public double getX()- Mappings:
Namespace Name Mixin selector intermediary method_11475Lnet/minecraft/class_2664;method_11475()Dofficial eLvv;e()Dnamed getXLnet/minecraft/network/packet/s2c/play/ExplosionS2CPacket;getX()D
-
getY
public double getY()- Mappings:
Namespace Name Mixin selector intermediary method_11477Lnet/minecraft/class_2664;method_11477()Dofficial fLvv;f()Dnamed getYLnet/minecraft/network/packet/s2c/play/ExplosionS2CPacket;getY()D
-
getZ
public double getZ()- Mappings:
Namespace Name Mixin selector intermediary method_11478Lnet/minecraft/class_2664;method_11478()Dofficial gLvv;g()Dnamed getZLnet/minecraft/network/packet/s2c/play/ExplosionS2CPacket;getZ()D
-
getRadius
public float getRadius()- Mappings:
Namespace Name Mixin selector intermediary method_11476Lnet/minecraft/class_2664;method_11476()Fofficial hLvv;h()Fnamed getRadiusLnet/minecraft/network/packet/s2c/play/ExplosionS2CPacket;getRadius()F
-
getAffectedBlocks
- Mappings:
Namespace Name Mixin selector intermediary method_11479Lnet/minecraft/class_2664;method_11479()Ljava/util/List;official iLvv;i()Ljava/util/List;named getAffectedBlocksLnet/minecraft/network/packet/s2c/play/ExplosionS2CPacket;getAffectedBlocks()Ljava/util/List;
-