net.minecraft.network.protocol.game

public record ClientboundExplodePacket

implements Packet<ClientGamePacketListener>

adx
net.minecraft.network.protocol.game.ClientboundExplodePacket
net.minecraft.class_2664
net.minecraft.network.packet.s2c.play.ExplosionS2CPacket
net.minecraft.network.protocol.game.PacketPlayOutExplosion

Field summary

Modifier and TypeField
private final Vec3
b
center
comp_2883
center
private final Optional<Vec3>
c
playerKnockback
comp_2884
playerKnockback
private final ParticleOptions
d
explosionParticle
comp_2885
explosionParticle
private final Holder<SoundEvent>
e
explosionSound
comp_2886
explosionSound
public static final StreamCodec<RegistryFriendlyByteBuf, ClientboundExplodePacket>
a
STREAM_CODEC
field_47925
CODEC

Constructor summary

ModifierConstructor
public (Vec3 arg0, Optional<Vec3> arg1, ParticleOptions arg2, Holder<SoundEvent> arg3)

Method summary

Modifier and TypeMethod
public PacketType<ClientboundExplodePacket>
a()
type()
method_55846()
getPacketId()
public void
a(acr arg0)
handle(ClientGamePacketListener arg0)
method_11480(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
public Vec3
b()
center()
comp_2883()
center()
public Optional<Vec3>
e()
playerKnockback()
comp_2884()
playerKnockback()
public ParticleOptions
f()
explosionParticle()
comp_2885()
explosionParticle()
public Holder<SoundEvent>
g()
explosionSound()
comp_2886()
explosionSound()