Class ServerboundSetBeaconPacket
java.lang.Object
org.geysermc.mcprotocollib.protocol.packet.ingame.serverbound.inventory.ServerboundSetBeaconPacket
- All Implemented Interfaces:
Packet, MinecraftPacket
-
Constructor Summary
ConstructorsConstructorDescriptionServerboundSetBeaconPacket(io.netty.buffer.ByteBuf in) ServerboundSetBeaconPacket(OptionalInt primaryEffect, OptionalInt secondaryEffect) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleaninthashCode()voidserialize(io.netty.buffer.ByteBuf out) @NonNull StringtoString()@NonNull ServerboundSetBeaconPacketwithPrimaryEffect(OptionalInt primaryEffect) @NonNull ServerboundSetBeaconPacketwithSecondaryEffect(OptionalInt secondaryEffect) Methods inherited from interface Packet
isPriority, isTerminal
-
Constructor Details
-
ServerboundSetBeaconPacket
public ServerboundSetBeaconPacket(io.netty.buffer.ByteBuf in) -
ServerboundSetBeaconPacket
-
-
Method Details
-
serialize
public void serialize(io.netty.buffer.ByteBuf out) - Specified by:
serializein interfaceMinecraftPacket
-
getPrimaryEffect
-
getSecondaryEffect
-
equals
-
canEqual
-
hashCode
-
toString
-
withPrimaryEffect
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withSecondaryEffect
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-