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 qg
intermediary net/minecraft/class_2664
named net/minecraft/network/packet/s2c/play/ExplosionS2CPacket
-
Field Summary
Fields Modifier and Type Field Description private List<BlockPos>
affectedBlocks
private float
playerVelocityX
private float
playerVelocityY
private float
playerVelocityZ
private float
radius
private double
x
private double
y
private double
z
-
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 void
apply(ClientPlayPacketListener clientPlayPacketListener)
List<BlockPos>
getAffectedBlocks()
float
getPlayerVelocityX()
float
getPlayerVelocityY()
float
getPlayerVelocityZ()
float
getRadius()
double
getX()
double
getY()
double
getZ()
void
read(PacketByteBuf buf)
void
write(PacketByteBuf buf)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.network.Packet
isWritingErrorSkippable
-
Field Details
-
x
private double x- Mappings:
Namespace Name Mixin selector official a
Lqg;a:D
intermediary field_12180
Lnet/minecraft/class_2664;field_12180:D
named x
Lnet/minecraft/network/packet/s2c/play/ExplosionS2CPacket;x:D
-
y
private double y- Mappings:
Namespace Name Mixin selector official b
Lqg;b:D
intermediary field_12178
Lnet/minecraft/class_2664;field_12178:D
named y
Lnet/minecraft/network/packet/s2c/play/ExplosionS2CPacket;y:D
-
z
private double z- Mappings:
Namespace Name Mixin selector official c
Lqg;c:D
intermediary field_12177
Lnet/minecraft/class_2664;field_12177:D
named z
Lnet/minecraft/network/packet/s2c/play/ExplosionS2CPacket;z:D
-
radius
private float radius- Mappings:
Namespace Name Mixin selector official d
Lqg;d:F
intermediary field_12179
Lnet/minecraft/class_2664;field_12179:F
named radius
Lnet/minecraft/network/packet/s2c/play/ExplosionS2CPacket;radius:F
-
affectedBlocks
- Mappings:
Namespace Name Mixin selector official e
Lqg;e:Ljava/util/List;
intermediary field_12181
Lnet/minecraft/class_2664;field_12181:Ljava/util/List;
named affectedBlocks
Lnet/minecraft/network/packet/s2c/play/ExplosionS2CPacket;affectedBlocks:Ljava/util/List;
-
playerVelocityX
private float playerVelocityX- Mappings:
Namespace Name Mixin selector official f
Lqg;f:F
intermediary field_12176
Lnet/minecraft/class_2664;field_12176:F
named playerVelocityX
Lnet/minecraft/network/packet/s2c/play/ExplosionS2CPacket;playerVelocityX:F
-
playerVelocityY
private float playerVelocityY- Mappings:
Namespace Name Mixin selector official g
Lqg;g:F
intermediary field_12183
Lnet/minecraft/class_2664;field_12183:F
named playerVelocityY
Lnet/minecraft/network/packet/s2c/play/ExplosionS2CPacket;playerVelocityY:F
-
playerVelocityZ
private float playerVelocityZ- Mappings:
Namespace Name Mixin selector official h
Lqg;h:F
intermediary field_12182
Lnet/minecraft/class_2664;field_12182:F
named playerVelocityZ
Lnet/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;)V
intermediary <init>
Lnet/minecraft/class_2664;<init>(DDDFLjava/util/List;Lnet/minecraft/class_243;)V
named <init>
Lnet/minecraft/network/packet/s2c/play/ExplosionS2CPacket;<init>(DDDFLjava/util/List;Lnet/minecraft/util/math/Vec3d;)V
-
-
Method Details
-
read
- Specified by:
read
in interfacePacket<ClientPlayPacketListener>
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official a
Lpa;a(Lnw;)V
intermediary method_11053
Lnet/minecraft/class_2596;method_11053(Lnet/minecraft/class_2540;)V
named read
Lnet/minecraft/network/Packet;read(Lnet/minecraft/network/PacketByteBuf;)V
-
write
- Specified by:
write
in interfacePacket<ClientPlayPacketListener>
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official b
Lpa;b(Lnw;)V
intermediary method_11052
Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)V
named write
Lnet/minecraft/network/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
-
apply
- Specified by:
apply
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Lqg;a(Lpd;)V
intermediary method_11480
Lnet/minecraft/class_2664;method_11480(Lnet/minecraft/class_2602;)V
named apply
Lnet/minecraft/network/packet/s2c/play/ExplosionS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
-
getPlayerVelocityX
- Mappings:
Namespace Name Mixin selector official b
Lqg;b()F
intermediary method_11472
Lnet/minecraft/class_2664;method_11472()F
named getPlayerVelocityX
Lnet/minecraft/network/packet/s2c/play/ExplosionS2CPacket;getPlayerVelocityX()F
-
getPlayerVelocityY
- Mappings:
Namespace Name Mixin selector official c
Lqg;c()F
intermediary method_11473
Lnet/minecraft/class_2664;method_11473()F
named getPlayerVelocityY
Lnet/minecraft/network/packet/s2c/play/ExplosionS2CPacket;getPlayerVelocityY()F
-
getPlayerVelocityZ
- Mappings:
Namespace Name Mixin selector official d
Lqg;d()F
intermediary method_11474
Lnet/minecraft/class_2664;method_11474()F
named getPlayerVelocityZ
Lnet/minecraft/network/packet/s2c/play/ExplosionS2CPacket;getPlayerVelocityZ()F
-
getX
- Mappings:
Namespace Name Mixin selector official e
Lqg;e()D
intermediary method_11475
Lnet/minecraft/class_2664;method_11475()D
named getX
Lnet/minecraft/network/packet/s2c/play/ExplosionS2CPacket;getX()D
-
getY
- Mappings:
Namespace Name Mixin selector official f
Lqg;f()D
intermediary method_11477
Lnet/minecraft/class_2664;method_11477()D
named getY
Lnet/minecraft/network/packet/s2c/play/ExplosionS2CPacket;getY()D
-
getZ
- Mappings:
Namespace Name Mixin selector official g
Lqg;g()D
intermediary method_11478
Lnet/minecraft/class_2664;method_11478()D
named getZ
Lnet/minecraft/network/packet/s2c/play/ExplosionS2CPacket;getZ()D
-
getRadius
- Mappings:
Namespace Name Mixin selector official h
Lqg;h()F
intermediary method_11476
Lnet/minecraft/class_2664;method_11476()F
named getRadius
Lnet/minecraft/network/packet/s2c/play/ExplosionS2CPacket;getRadius()F
-
getAffectedBlocks
- Mappings:
Namespace Name Mixin selector official i
Lqg;i()Ljava/util/List;
intermediary method_11479
Lnet/minecraft/class_2664;method_11479()Ljava/util/List;
named getAffectedBlocks
Lnet/minecraft/network/packet/s2c/play/ExplosionS2CPacket;getAffectedBlocks()Ljava/util/List;
-