Package org.quiltmc.qkl.wrapper.qsl.registry
Functions
Link copied to clipboard
fun <R> buildBooleanRegistryEntryAttachment( registry: Registry<R>, id: Identifier, block: RegistryEntryAttachment.Builder<R, Boolean>.() -> Unit = {}): RegistryEntryAttachment<R, Boolean>
Content copied to clipboard
Create a new boolean RegistryEntryAttachment for the given registry with the given information.
Link copied to clipboard
fun <R> buildDoubleRegistryEntryAttachment( registry: Registry<R>, id: Identifier, block: RegistryEntryAttachment.Builder<R, Double>.() -> Unit = {}): RegistryEntryAttachment<R, Double>
Content copied to clipboard
Create a new double RegistryEntryAttachment for the given registry with the given information.
Link copied to clipboard
fun <R> buildFloatRegistryEntryAttachment( registry: Registry<R>, id: Identifier, block: RegistryEntryAttachment.Builder<R, Float>.() -> Unit = {}): RegistryEntryAttachment<R, Float>
Content copied to clipboard
Create a new float RegistryEntryAttachment for the given registry with the given information.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun <R> buildStringRegistryEntryAttachment( registry: Registry<R>, id: Identifier, block: RegistryEntryAttachment.Builder<R, String>.() -> Unit = {}): RegistryEntryAttachment<R, String>
Content copied to clipboard
Create a new String RegistryEntryAttachment for the given registry with the given information.
Link copied to clipboard
fun <V> EventRegistration.onRegistryEntryAdded(registry: Registry<V>, callback: (RegistryEntryContext<V>) -> Unit)
Content copied to clipboard
Get a callback when a given registry gets a new entry.