net.minecraft.network.protocol.game

public record ClientboundExplodePacket

implements Packet<ClientGamePacketListener>

acr
net.minecraft.network.protocol.game.ClientboundExplodePacket
net.minecraft.class_2664
net.minecraft.network.packet.s2c.play.ExplosionS2CPacket
net.minecraft.src.C_5064_
net.minecraft.network.protocol.game.PacketPlayOutExplosion

Field summary

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

Constructor summary

ModifierConstructor
public (Vec3 playerKnockback, Optional<Vec3> explosionParticle, ParticleOptions explosionSound, Holder<SoundEvent> arg3)

Method summary

Modifier and TypeMethod
public PacketType<ClientboundExplodePacket>
a()
type()
method_65080()
getPacketType()
m_5779_()
public void
a(abl arg0)
handle(ClientGamePacketListener arg0)
method_11480(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
m_5797_(C_5031_ arg0)
public Vec3
b()
center()
comp_2883()
center()
f_347843_()
public Optional<Vec3>
e()
playerKnockback()
comp_2884()
playerKnockback()
f_347110_()
public ParticleOptions
f()
explosionParticle()
comp_2885()
explosionParticle()
f_346754_()
public Holder<SoundEvent>
g()
explosionSound()
comp_2886()
explosionSound()
f_303703_()