net.minecraft.network.protocol.game

public record ServerboundSetBeaconPacket

implements Packet<ServerGamePacketListener>

ahu
net.minecraft.network.protocol.game.ServerboundSetBeaconPacket
net.minecraft.class_2866
net.minecraft.network.packet.c2s.play.UpdateBeaconC2SPacket
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
primary
f_134472_
private final Optional<Holder<MobEffect>>
c
secondary
comp_2181
secondary
f_134473_
public static final StreamCodec<RegistryFriendlyByteBuf, ServerboundSetBeaconPacket>
a
STREAM_CODEC
field_48215
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()
getPacketId()
m_5779_()
public void
a(agi arg0)
handle(ServerGamePacketListener arg0)
method_12434(class_2792 arg0)
apply(ServerPlayPacketListener arg0)
m_5797_(C_5145_ arg0)
public Optional<Holder<MobEffect>>
b()
primary()
comp_2180()
primary()
f_134472_()
public Optional<Holder<MobEffect>>
e()
secondary()
comp_2181()
secondary()
f_134473_()