SideConfigMenu

class SideConfigMenu(endPoint: NetworkEndPoint, inventories: Map<NetworkedInventory, String>? = null, containers: Map<NetworkedFluidContainer, String>? = null, openPrevious: (Player) -> Unit)

The built-in implementation of a side-config menu that supports all built-in network types (energy, item, fluid).

Constructors

Link copied to clipboard
constructor(endPoint: NetworkEndPoint, inventories: Map<NetworkedInventory, String>? = null, containers: Map<NetworkedFluidContainer, String>? = null, openPrevious: () -> Unit)

Creates a new SideConfigMenu for endPoint using the given inventories and containers with their localized names.

constructor(endPoint: NetworkEndPoint, openPrevious: (Player) -> Unit)

Creates a new SideConfigMenu for endPoint.

constructor(endPoint: NetworkEndPoint, openPrevious: () -> Unit)

Creates a new SideConfigMenu for endPoint.

constructor(endPoint: NetworkEndPoint, inventories: Map<NetworkedInventory, String>? = null, containers: Map<NetworkedFluidContainer, String>? = null, openPrevious: (Player) -> Unit)

Functions

Link copied to clipboard
fun openWindow(player: Player)

Opens a Window of this SideConfigMenu for the given player.