Class SyncKeybindsPacket

java.lang.Object
dev.munebase.dynamickeybinds.network.SyncKeybindsPacket

public class SyncKeybindsPacket extends Object
Packet sent from server to client to sync all keybinds for the joining player.
  • Constructor Details

    • SyncKeybindsPacket

      public SyncKeybindsPacket(List<StoredKeybind> keybinds)
      Creates a sync packet with the given keybinds.
      Parameters:
      keybinds - The keybinds to sync
  • Method Details

    • getKeybinds

      public List<StoredKeybind> getKeybinds()
      Gets the keybinds in this packet.
      Returns:
      The list of keybinds