Research
class Research(key: NamespacedKey, itemTemplate: ItemStack, val name: Component, val cost: Long?, val unlocks: Set<NamespacedKey>) : Keyed(source)
A Rebar research as seem in the 'researches' guide section.
Researches typically have a research point cost specified. However, this is optional, and you can implement your own methods to unlock a research.
Constructors
Link copied to clipboard
constructor(key: NamespacedKey, itemTemplate: ItemStack, name: Component, cost: Long?, unlocks: Set<NamespacedKey>)
A constructor that sets the name to a default language file key.