Class SyncKeybindsPacket
java.lang.Object
dev.munebase.dynamickeybinds.network.SyncKeybindsPacket
Packet sent from server to client to sync all keybinds for the joining player.
-
Constructor Summary
ConstructorsConstructorDescriptionSyncKeybindsPacket(List<StoredKeybind> keybinds) Creates a sync packet with the given keybinds. -
Method Summary
Modifier and TypeMethodDescriptionGets the keybinds in this packet.
-
Constructor Details
-
SyncKeybindsPacket
Creates a sync packet with the given keybinds.- Parameters:
keybinds- The keybinds to sync
-
-
Method Details
-
getKeybinds
Gets the keybinds in this packet.- Returns:
- The list of keybinds
-