BLOCKS
Registry for Katton blocks.
Properties
Link copied to clipboard
open override val entries: MutableSet<MutableMap.MutableEntry<Identifier, KattonRegistry.KattonBlockEntry>>
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
Clears all managed entries. Called at the start of a reload.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Initializes this registry. Override to perform initialization logic.
Link copied to clipboard
fun newNative(id: Identifier, registerMode: RegisterMode = RegisterMode.AUTO, blockFactory: (BlockBehaviour.Properties) -> Block): KattonRegistry.KattonBlockEntry
Registers a native Block instance with hot-reload support.
Link copied to clipboard
open override fun put(key: Identifier, value: KattonRegistry.KattonBlockEntry): KattonRegistry.KattonBlockEntry?
Link copied to clipboard