Class ExplosionS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.play.ExplosionS2CPacket
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
public class ExplosionS2CPacket extends Object implements Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name official qgintermediary net/minecraft/class_2664named net/minecraft/network/packet/s2c/play/ExplosionS2CPacket
-
Field Summary
Fields Modifier and Type Field Description private List<BlockPos>affectedBlocksprivate floatplayerVelocityXprivate floatplayerVelocityYprivate floatplayerVelocityZprivate floatradiusprivate doublexprivate doubleyprivate doublez -
Constructor Summary
Constructors Constructor Description ExplosionS2CPacket()ExplosionS2CPacket(double x, double y, double z, float radius, List<BlockPos> affectedBlocks, Vec3d playerVelocity) -
Method Summary
Modifier and Type Method Description voidapply(ClientPlayPacketListener clientPlayPacketListener)List<BlockPos>getAffectedBlocks()floatgetPlayerVelocityX()floatgetPlayerVelocityY()floatgetPlayerVelocityZ()floatgetRadius()doublegetX()doublegetY()doublegetZ()voidread(PacketByteBuf buf)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
isWritingErrorSkippable
-
Field Details
-
x
private double x- Mappings:
Namespace Name Mixin selector official aLqg;a:Dintermediary field_12180Lnet/minecraft/class_2664;field_12180:Dnamed xLnet/minecraft/network/packet/s2c/play/ExplosionS2CPacket;x:D
-
y
private double y- Mappings:
Namespace Name Mixin selector official bLqg;b:Dintermediary field_12178Lnet/minecraft/class_2664;field_12178:Dnamed yLnet/minecraft/network/packet/s2c/play/ExplosionS2CPacket;y:D
-
z
private double z- Mappings:
Namespace Name Mixin selector official cLqg;c:Dintermediary field_12177Lnet/minecraft/class_2664;field_12177:Dnamed zLnet/minecraft/network/packet/s2c/play/ExplosionS2CPacket;z:D
-
radius
private float radius- Mappings:
Namespace Name Mixin selector official dLqg;d:Fintermediary field_12179Lnet/minecraft/class_2664;field_12179:Fnamed radiusLnet/minecraft/network/packet/s2c/play/ExplosionS2CPacket;radius:F
-
affectedBlocks
- Mappings:
Namespace Name Mixin selector official eLqg;e:Ljava/util/List;intermediary field_12181Lnet/minecraft/class_2664;field_12181:Ljava/util/List;named affectedBlocksLnet/minecraft/network/packet/s2c/play/ExplosionS2CPacket;affectedBlocks:Ljava/util/List;
-
playerVelocityX
private float playerVelocityX- Mappings:
Namespace Name Mixin selector official fLqg;f:Fintermediary field_12176Lnet/minecraft/class_2664;field_12176:Fnamed playerVelocityXLnet/minecraft/network/packet/s2c/play/ExplosionS2CPacket;playerVelocityX:F
-
playerVelocityY
private float playerVelocityY- Mappings:
Namespace Name Mixin selector official gLqg;g:Fintermediary field_12183Lnet/minecraft/class_2664;field_12183:Fnamed playerVelocityYLnet/minecraft/network/packet/s2c/play/ExplosionS2CPacket;playerVelocityY:F
-
playerVelocityZ
private float playerVelocityZ- Mappings:
Namespace Name Mixin selector official hLqg;h:Fintermediary field_12182Lnet/minecraft/class_2664;field_12182:Fnamed playerVelocityZLnet/minecraft/network/packet/s2c/play/ExplosionS2CPacket;playerVelocityZ:F
-
-
Constructor Details
-
ExplosionS2CPacket
public ExplosionS2CPacket() -
ExplosionS2CPacket
public ExplosionS2CPacket(double x, double y, double z, float radius, List<BlockPos> affectedBlocks, Vec3d playerVelocity)- Mappings:
Namespace Name Mixin selector official <init>Lqg;<init>(DDDFLjava/util/List;Ldiu;)Vintermediary <init>Lnet/minecraft/class_2664;<init>(DDDFLjava/util/List;Lnet/minecraft/class_243;)Vnamed <init>Lnet/minecraft/network/packet/s2c/play/ExplosionS2CPacket;<init>(DDDFLjava/util/List;Lnet/minecraft/util/math/Vec3d;)V
-
-
Method Details
-
read
- Specified by:
readin interfacePacket<ClientPlayPacketListener>- Throws:
IOException- Mappings:
Namespace Name Mixin selector official aLpa;a(Lnw;)Vintermediary method_11053Lnet/minecraft/class_2596;method_11053(Lnet/minecraft/class_2540;)Vnamed readLnet/minecraft/network/Packet;read(Lnet/minecraft/network/PacketByteBuf;)V
-
write
- Specified by:
writein interfacePacket<ClientPlayPacketListener>- Throws:
IOException- Mappings:
Namespace Name Mixin selector official bLpa;b(Lnw;)Vintermediary method_11052Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)Vnamed writeLnet/minecraft/network/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
-
apply
- Specified by:
applyin interfacePacket<ClientPlayPacketListener>- Mappings:
Namespace Name Mixin selector official aLqg;a(Lpd;)Vintermediary method_11480Lnet/minecraft/class_2664;method_11480(Lnet/minecraft/class_2602;)Vnamed applyLnet/minecraft/network/packet/s2c/play/ExplosionS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
-
getPlayerVelocityX
- Mappings:
Namespace Name Mixin selector official bLqg;b()Fintermediary method_11472Lnet/minecraft/class_2664;method_11472()Fnamed getPlayerVelocityXLnet/minecraft/network/packet/s2c/play/ExplosionS2CPacket;getPlayerVelocityX()F
-
getPlayerVelocityY
- Mappings:
Namespace Name Mixin selector official cLqg;c()Fintermediary method_11473Lnet/minecraft/class_2664;method_11473()Fnamed getPlayerVelocityYLnet/minecraft/network/packet/s2c/play/ExplosionS2CPacket;getPlayerVelocityY()F
-
getPlayerVelocityZ
- Mappings:
Namespace Name Mixin selector official dLqg;d()Fintermediary method_11474Lnet/minecraft/class_2664;method_11474()Fnamed getPlayerVelocityZLnet/minecraft/network/packet/s2c/play/ExplosionS2CPacket;getPlayerVelocityZ()F
-
getX
- Mappings:
Namespace Name Mixin selector official eLqg;e()Dintermediary method_11475Lnet/minecraft/class_2664;method_11475()Dnamed getXLnet/minecraft/network/packet/s2c/play/ExplosionS2CPacket;getX()D
-
getY
- Mappings:
Namespace Name Mixin selector official fLqg;f()Dintermediary method_11477Lnet/minecraft/class_2664;method_11477()Dnamed getYLnet/minecraft/network/packet/s2c/play/ExplosionS2CPacket;getY()D
-
getZ
- Mappings:
Namespace Name Mixin selector official gLqg;g()Dintermediary method_11478Lnet/minecraft/class_2664;method_11478()Dnamed getZLnet/minecraft/network/packet/s2c/play/ExplosionS2CPacket;getZ()D
-
getRadius
- Mappings:
Namespace Name Mixin selector official hLqg;h()Fintermediary method_11476Lnet/minecraft/class_2664;method_11476()Fnamed getRadiusLnet/minecraft/network/packet/s2c/play/ExplosionS2CPacket;getRadius()F
-
getAffectedBlocks
- Mappings:
Namespace Name Mixin selector official iLqg;i()Ljava/util/List;intermediary method_11479Lnet/minecraft/class_2664;method_11479()Ljava/util/List;named getAffectedBlocksLnet/minecraft/network/packet/s2c/play/ExplosionS2CPacket;getAffectedBlocks()Ljava/util/List;
-