| Package | Description |
|---|---|
| com.github.steveice10.packetlib.packet |
| Modifier and Type | Method and Description |
|---|---|
void |
PacketProtocol.register(PacketDefinition<? extends Packet> definition)
Registers a packet to this protocol as both serverbound and clientbound.
|
void |
PacketProtocol.registerClientbound(PacketDefinition<? extends Packet> definition)
Registers a clientbound packet to this protocol.
|
void |
PacketProtocol.registerServerbound(PacketDefinition<? extends Packet> definition)
Registers a serverbound packet to this protocol.
|
Copyright © 2021. All rights reserved.