net.minecraft.network.protocol.game

public record ServerboundSetBeaconPacket

implements Packet<ServerGamePacketListener>

aii
net.minecraft.network.protocol.game.ServerboundSetBeaconPacket
net.minecraft.class_2866
net.minecraft.unmapped.C_cmduifyg
net.minecraft.network.packet.c2s.play.UpdateBeaconC2SPacket
net.minecraft.network.packet.c2s.play.BeaconUpdateC2SPacket
net.minecraft.src.C_5188_
net.minecraft.network.protocol.game.PacketPlayInBeacon

Field summary

Modifier and TypeField
private final Optional<Holder<MobEffect>>
b
primary
comp_2180
f_idgpfurd
primary
primaryEffectId
f_134472_
private final Optional<Holder<MobEffect>>
c
secondary
comp_2181
f_bijysjsr
secondary
secondaryEffectId
f_134473_
public static final StreamCodec<RegistryFriendlyByteBuf, ServerboundSetBeaconPacket>
a
STREAM_CODEC
field_48215
f_eercwmdv
CODEC
CODEC
f_314389_

Constructor summary

ModifierConstructor
public (Optional<Holder<MobEffect>> primaryEffectId, Optional<Holder<MobEffect>> secondaryEffectId)

Method summary

Modifier and TypeMethod
public PacketType<ServerboundSetBeaconPacket>
a()
type()
method_55846()
m_bbocywrf()
getPacketId()
getType()
m_5779_()
public void
a(agw arg0)
handle(ServerGamePacketListener arg0)
method_12434(class_2792 arg0)
m_xuvkxoii(C_eetcdhxt arg0)
apply(ServerPlayPacketListener arg0)
apply(ServerPlayPacketListener arg0)
m_5797_(C_5145_ arg0)
public Optional<Holder<MobEffect>>
b()
primary()
comp_2180()
m_bydlxejg()
primary()
primary()
f_134472_()
public Optional<Holder<MobEffect>>
e()
secondary()
comp_2181()
m_srfcuhfx()
secondary()
secondary()
f_134473_()