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(@NonNull UUID id, @NonNull ResourcePackStatus status) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanboolean@NonNull UUIDgetId()@NonNull ResourcePackStatusinthashCode()voidserialize(io.netty.buffer.ByteBuf out) @NonNull StringtoString()@NonNull ServerboundResourcePackPacket@NonNull ServerboundResourcePackPacketwithStatus(@NonNull ResourcePackStatus status) Methods inherited from interface Packet
isPriority, isTerminal
-
Constructor Details
-
ServerboundResourcePackPacket
public ServerboundResourcePackPacket(io.netty.buffer.ByteBuf in) -
ServerboundResourcePackPacket
public ServerboundResourcePackPacket(@NonNull @NonNull UUID id, @NonNull @NonNull ResourcePackStatus status)
-
-
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
public @NonNull ServerboundResourcePackPacket withStatus(@NonNull @NonNull ResourcePackStatus status) - Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-