net.minecraft.network.protocol.game

public class ServerboundSetBeaconPacket

implements Packet<ServerGamePacketListener>

aac
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<MobEffect>
a
primary
field_13050
primaryEffectId
f_134472_
private final Optional<MobEffect>
b
secondary
field_13049
secondaryEffectId
f_134473_

Constructor summary

ModifierConstructor
public (Optional<MobEffect> primaryEffectId, Optional<MobEffect> secondaryEffectId)
public (FriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
public void
a(sd arg0)
write(FriendlyByteBuf arg0)
method_11052(class_2540 arg0)
write(PacketByteBuf arg0)
m_5779_(C_4983_ arg0)
public void
a(yq arg0)
handle(ServerGamePacketListener arg0)
method_12434(class_2792 arg0)
apply(ServerPlayPacketListener arg0)
m_5797_(C_5145_ arg0)
public Optional<MobEffect>
b()
getPrimary()
method_12436()
getPrimaryEffectId()
m_237994_()
public Optional<MobEffect>
c()
getSecondary()
method_12435()
getSecondaryEffectId()
m_238000_()