DataComponentTypes

Component types added by AVM Staffs mod.

Properties

Link copied to clipboard

Bell data component type. Stores when to apply the glowing effect.

Link copied to clipboard

Block pickup data component type. Stores info about to block to be picked up from the world.

Link copied to clipboard

Furnace data component type. If present, the furnace is rendered lit.

Link copied to clipboard

Staff item component type. Stores the item inserted into the staff.

Link copied to clipboard

TNT data component type. Stores the impact TNT to be detonated remotely.

Inherited properties

Link copied to clipboard
protected val modId: String
Link copied to clipboard
Link copied to clipboard

Creates a RegistryKey from the registry and namespace specified in the constructor and a given path. The path is derived from the property name (converted to camel_case).

Link copied to clipboard

Creates a TagKey from the registry and namespace specified in the constructor and a given path. The path is derived from the property name (converted to camel_case).

Inherited functions

Link copied to clipboard

Gets the registry entry of the given registry key from the given registry manager or null, if it's not found.

Link copied to clipboard
fun id(path: String): Identifier

Creates an Identifier from the namespace specified in the constructor and a given path.

Link copied to clipboard
protected fun <T : ComponentType<*>> register(path: String, factory: Supplier<T>): RegistrySupplier<T>
protected inline fun <T : ComponentType<*>> register(path: String, crossinline factory: (RegistryKey<ComponentType<*>>) -> T): RegistrySupplier<T>

Adds a content to be registered in a Minecraft registry using Architectury API.

Link copied to clipboard
protected inline fun <T : ComponentType<*>> registering(crossinline factory: (RegistryKey<ComponentType<*>>) -> T): PropertyDelegateProvider<Registrar<ComponentType<*>>, Lazy<T>>

Adds a content to be registered in a Minecraft registry using Architectury API. The path is derived from the property name (converted to camel_case).

protected inline fun <T : ComponentType<*>> registering(path: String, crossinline factory: (RegistryKey<ComponentType<*>>) -> T): Lazy<T>

Adds a content to be registered in a Minecraft registry using Architectury API.

Link copied to clipboard

Creates a RegistryKey from the registry and namespace specified in the constructor and a given path.

Link copied to clipboard

Creates a TagKey from the registry and namespace specified in the constructor and a given path.