net.minecraft.network.protocol.game

public record ServerboundSetBeaconPacket

implements Packet<ServerGamePacketListener>

aja
net.minecraft.network.protocol.game.ServerboundSetBeaconPacket
net.minecraft.class_2866
net.minecraft.network.packet.c2s.play.UpdateBeaconC2SPacket
net.minecraft.network.protocol.game.PacketPlayInBeacon

Field summary

Modifier and TypeField
private final Optional<Holder<MobEffect>>
b
primary
comp_2180
primary
private final Optional<Holder<MobEffect>>
c
secondary
comp_2181
secondary
public static final StreamCodec<RegistryFriendlyByteBuf, ServerboundSetBeaconPacket>
a
STREAM_CODEC
field_48215
CODEC

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()
public void
a(ahm arg0)
handle(ServerGamePacketListener arg0)
method_12434(class_2792 arg0)
apply(ServerPlayPacketListener arg0)
public Optional<Holder<MobEffect>>
b()
primary()
comp_2180()
primary()
public Optional<Holder<MobEffect>>
e()
secondary()
comp_2181()
secondary()