Package-level declarations
Types
Link copied to clipboard
Link copied to clipboard
abstract class ContainerSideConfigMenu<C : EndPointContainer, H : ContainerEndPointDataHolder<C>> : AbstractSideConfigMenu<H>
Link copied to clipboard
class EnergySideConfigMenu(endPoint: NetworkEndPoint, holder: EnergyHolder) : AbstractSideConfigMenu<EnergyHolder>
Link copied to clipboard
class FluidSideConfigMenu(endPoint: NetworkEndPoint, holder: FluidHolder, containers: Map<NetworkedFluidContainer, String>) : ContainerSideConfigMenu<NetworkedFluidContainer, FluidHolder>
Link copied to clipboard
class ItemSideConfigMenu(endPoint: NetworkEndPoint, holder: ItemHolder, namedInventories: Map<NetworkedInventory, String>, mergedInventory: NetworkedInventory?) : ContainerSideConfigMenu<NetworkedInventory, ItemHolder>
Link copied to clipboard
An ui item that opens the sideConfigMenu when clicked.
Link copied to clipboard
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).
Functions
Link copied to clipboard
fun ItemSideConfigMenu(endPoint: NetworkEndPoint, holder: ItemHolder, namedInventories: Map<NetworkedInventory, String>): ItemSideConfigMenu
Link copied to clipboard
fun SideConfigMenu(endPoint: NetworkEndPoint, containers: Map<NetworkedFluidContainer, String>, openPrevious: () -> Unit): SideConfigMenu
fun SideConfigMenu(endPoint: NetworkEndPoint, containers: Map<NetworkedFluidContainer, String>, openPrevious: (Player) -> Unit): SideConfigMenu
Creates a new SideConfigMenu for endPoint using the given containers with their localized names.
fun SideConfigMenu(endPoint: NetworkEndPoint, inventories: Map<NetworkedInventory, String>, openPrevious: () -> Unit): SideConfigMenu
fun SideConfigMenu(endPoint: NetworkEndPoint, inventories: Map<NetworkedInventory, String>, openPrevious: (Player) -> Unit): SideConfigMenu
Creates a new SideConfigMenu for endPoint using the given inventories with their localized names.