Class ServerboundResourcePackPacket
java.lang.Object
org.geysermc.mcprotocollib.protocol.packet.common.serverbound.ServerboundResourcePackPacket
- All Implemented Interfaces:
Packet, MinecraftPacket
-
Constructor Summary
ConstructorsConstructorDescriptionServerboundResourcePackPacket(io.netty.buffer.ByteBuf in) ServerboundResourcePackPacket(UUID id, ResourcePackStatus status) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleangetId()inthashCode()voidserialize(io.netty.buffer.ByteBuf out) @NonNull StringtoString()@NonNull ServerboundResourcePackPacket@NonNull ServerboundResourcePackPacketwithStatus(ResourcePackStatus status) Methods inherited from interface Packet
isPriority, isTerminal
-
Constructor Details
-
ServerboundResourcePackPacket
public ServerboundResourcePackPacket(io.netty.buffer.ByteBuf in) -
ServerboundResourcePackPacket
-
-
Method Details
-
serialize
public void serialize(io.netty.buffer.ByteBuf out) - Specified by:
serializein interfaceMinecraftPacket
-
getId
-
getStatus
-
equals
-
canEqual
-
hashCode
-
toString
-
withId
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withStatus
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-