implements Packet<ServerGamePacketListener>
ahw | |
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 Type | Field | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
private final Optional<Holder<MobEffect>> |
| ||||||||||||||
private final Optional<Holder<MobEffect>> |
| ||||||||||||||
public static final StreamCodec<RegistryFriendlyByteBuf, ServerboundSetBeaconPacket> |
|
Constructor summary
Modifier | Constructor |
---|---|
public | (Optional<Holder<MobEffect>> primaryEffectId, Optional<Holder<MobEffect>> secondaryEffectId) |
Method summary
Modifier and Type | Method | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
public PacketType<ServerboundSetBeaconPacket> |
| ||||||||||||||
public void |
| ||||||||||||||
public Optional<Holder<MobEffect>> |
| ||||||||||||||
public Optional<Holder<MobEffect>> |
|