NMSUtils

object NMSUtils

Properties

Link copied to clipboard
Link copied to clipboard
val REGISTRY_OPS: RegistryOps<JsonElement>

Functions

Link copied to clipboard
fun freezeRegistry(registry: Registry<*>)
Link copied to clipboard
fun <T, R : Registry<T>> getHolder(key: ResourceKey<T>): Holder.Reference<T>
Link copied to clipboard
fun <T, R : Registry<T>> getRegistry(location: ResourceKey<R>): Registry<T>
Link copied to clipboard
fun unfreezeRegistry(registry: Registry<*>)