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 gkintermediary net/minecraft/class_1492named 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 velocity) -
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)
-
Field Details
-
x
private double x- Mappings:
Namespace Name Mixin selector official aLgk;a:Dintermediary field_6164Lnet/minecraft/class_1492;field_6164:Dnamed xLnet/minecraft/network/packet/s2c/play/ExplosionS2CPacket;x:D
-
y
private double y- Mappings:
Namespace Name Mixin selector official bLgk;b:Dintermediary field_6165Lnet/minecraft/class_1492;field_6165:Dnamed yLnet/minecraft/network/packet/s2c/play/ExplosionS2CPacket;y:D
-
z
private double z- Mappings:
Namespace Name Mixin selector official cLgk;c:Dintermediary field_6166Lnet/minecraft/class_1492;field_6166:Dnamed zLnet/minecraft/network/packet/s2c/play/ExplosionS2CPacket;z:D
-
radius
private float radius- Mappings:
Namespace Name Mixin selector official dLgk;d:Fintermediary field_6167Lnet/minecraft/class_1492;field_6167:Fnamed radiusLnet/minecraft/network/packet/s2c/play/ExplosionS2CPacket;radius:F
-
affectedBlocks
- Mappings:
Namespace Name Mixin selector official eLgk;e:Ljava/util/List;intermediary field_6168Lnet/minecraft/class_1492;field_6168: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 fLgk;f:Fintermediary field_6169Lnet/minecraft/class_1492;field_6169:Fnamed playerVelocityXLnet/minecraft/network/packet/s2c/play/ExplosionS2CPacket;playerVelocityX:F
-
playerVelocityY
private float playerVelocityY- Mappings:
Namespace Name Mixin selector official gLgk;g:Fintermediary field_6170Lnet/minecraft/class_1492;field_6170:Fnamed playerVelocityYLnet/minecraft/network/packet/s2c/play/ExplosionS2CPacket;playerVelocityY:F
-
playerVelocityZ
private float playerVelocityZ- Mappings:
Namespace Name Mixin selector official hLgk;h:Fintermediary field_6171Lnet/minecraft/class_1492;field_6171: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 velocity)- Mappings:
Namespace Name Mixin selector official <init>Lgk;<init>(DDDFLjava/util/List;Laui;)Vintermediary <init>Lnet/minecraft/class_1492;<init>(DDDFLjava/util/List;Lnet/minecraft/class_649;)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 aLff;a(Lem;)Vintermediary method_5238Lnet/minecraft/class_1457;method_5238(Lnet/minecraft/class_1435;)Vnamed readLnet/minecraft/network/Packet;read(Lnet/minecraft/util/PacketByteBuf;)V
-
write
- Specified by:
writein interfacePacket<ClientPlayPacketListener>- Throws:
IOException- Mappings:
Namespace Name Mixin selector official bLff;b(Lem;)Vintermediary method_5240Lnet/minecraft/class_1457;method_5240(Lnet/minecraft/class_1435;)Vnamed writeLnet/minecraft/network/Packet;write(Lnet/minecraft/util/PacketByteBuf;)V
-
apply
- Specified by:
applyin interfacePacket<ClientPlayPacketListener>- Mappings:
Namespace Name Mixin selector official aLgk;a(Lfj;)Vintermediary method_5456Lnet/minecraft/class_1492;method_5456(Lnet/minecraft/class_1462;)Vnamed applyLnet/minecraft/network/packet/s2c/play/ExplosionS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
-
getPlayerVelocityX
- Mappings:
Namespace Name Mixin selector official aLgk;a()Fintermediary method_5455Lnet/minecraft/class_1492;method_5455()Fnamed getPlayerVelocityXLnet/minecraft/network/packet/s2c/play/ExplosionS2CPacket;getPlayerVelocityX()F
-
getPlayerVelocityY
- Mappings:
Namespace Name Mixin selector official bLgk;b()Fintermediary method_5457Lnet/minecraft/class_1492;method_5457()Fnamed getPlayerVelocityYLnet/minecraft/network/packet/s2c/play/ExplosionS2CPacket;getPlayerVelocityY()F
-
getPlayerVelocityZ
- Mappings:
Namespace Name Mixin selector official cLgk;c()Fintermediary method_5458Lnet/minecraft/class_1492;method_5458()Fnamed getPlayerVelocityZLnet/minecraft/network/packet/s2c/play/ExplosionS2CPacket;getPlayerVelocityZ()F
-
getX
- Mappings:
Namespace Name Mixin selector official dLgk;d()Dintermediary method_5459Lnet/minecraft/class_1492;method_5459()Dnamed getXLnet/minecraft/network/packet/s2c/play/ExplosionS2CPacket;getX()D
-
getY
- Mappings:
Namespace Name Mixin selector official eLgk;e()Dintermediary method_5460Lnet/minecraft/class_1492;method_5460()Dnamed getYLnet/minecraft/network/packet/s2c/play/ExplosionS2CPacket;getY()D
-
getZ
- Mappings:
Namespace Name Mixin selector official fLgk;f()Dintermediary method_5461Lnet/minecraft/class_1492;method_5461()Dnamed getZLnet/minecraft/network/packet/s2c/play/ExplosionS2CPacket;getZ()D
-
getRadius
- Mappings:
Namespace Name Mixin selector official gLgk;g()Fintermediary method_5462Lnet/minecraft/class_1492;method_5462()Fnamed getRadiusLnet/minecraft/network/packet/s2c/play/ExplosionS2CPacket;getRadius()F
-
getAffectedBlocks
- Mappings:
Namespace Name Mixin selector official hLgk;h()Ljava/util/List;intermediary method_5463Lnet/minecraft/class_1492;method_5463()Ljava/util/List;named getAffectedBlocksLnet/minecraft/network/packet/s2c/play/ExplosionS2CPacket;getAffectedBlocks()Ljava/util/List;
-