Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ItemShowcase

Masterbench/Currency hybrid

Hierarchy

Index

Constructors

constructor

Properties

enchantment

enchantment: EnchantmentBench

explicits

explicits: Alchemy

master

master: MasterBench

mods

mods: Mod[]

vaal

vaal: Vaal

Methods

applicableTo

  • not applicable to anything

    Parameters

    Returns Flags

applyTo

  • only abstract showcase, not for actual usage

    Parameters

    Returns Item

getAvailableMods

  • getAvailableMods(): Mod[]
  • returns a copy of #mods

    we can stick with a shallow copy since Mod are supposed to be immutable

    Returns Mod[]

isApplicableTo

  • isApplicableTo(container: Item, whitelist?: string[]): boolean
  • Parameters

    • container: Item
    • Default value whitelist: string[] = []

    Returns boolean

isModApplicableTo

modsFor

  • greps mod::applicableTo and (if implemented) mod::spawnableOn if we have all the space for mods we need

    Parameters

    • item: Item
    • Default value whitelist: string[] = []

    Returns Array<GeneratorDetails<Mod>>

    master-, enchantment-, vaal-, explicit-, (top tier) essence-mods

Generated using TypeDoc