Package-level declarations

Types

Link copied to clipboard
open class Canvas(canvasItem: NovaItem, itemResolution: Int, image: BufferedImage) : Supplier<Item>

An Item supplier for the canvasItem that splits image into square parts of itemResolutionxitemResolution px.

Link copied to clipboard
class ColorPickerWindow(colorPreviewItem: ColorPreviewItem, color: Color, openPrevious: (Player) -> Unit)
Link copied to clipboard
abstract class ColorPreviewItem(color: Color) : AbstractItem
Link copied to clipboard
class EnergyBar @JvmOverloads constructor(height: Int, energy: Provider<Long>, maxEnergy: Provider<Long>, getEnergyPlus: () -> Long, getEnergyMinus: () -> Long, item: NovaItem = DefaultGuiItems.BAR_RED) : VerticalBar

A multi-item gui component for displaying energy levels.

Link copied to clipboard
class FluidBar @JvmOverloads constructor(height: Int, fluidHolder: FluidHolder, fluidContainer: NetworkedFluidContainer, capacity: Provider<Long>, type: Provider<FluidType?>, amount: Provider<Long>, items: Map<FluidType?, NovaItem> = DEFAULT_FLUID_BAR_ITEMS) : VerticalBar

A multi-item gui component for displaying fluid levels.

Link copied to clipboard
class OpenColorPickerWindowItem(window: ColorPickerWindow) : AbstractItem
Link copied to clipboard
class StaticFluidBar(height: Int, capacity: Long, type: FluidType, amount: Long, items: Map<FluidType?, NovaItem> = DEFAULT_FLUID_BAR_ITEMS) : VerticalBar

A multi-item gui component for displaying a constant fluid level.

Link copied to clipboard
abstract class VerticalBar(height: Int, customModelDataIndex: Int = 0) : Supplier<Item>

Functions

Link copied to clipboard
fun <S : IngredientMapper<S>> IngredientMapper<S>.addIngredient(char: Char, item: NovaItem): S
fun <S : IngredientMapper<S>> IngredientMapper<S>.addIngredient(char: Char, inventory: Inventory, background: NovaItem): S