fix: recursion on Quaedam#<cinit>
This commit is contained in:
parent
294a5291b1
commit
e60de5a03a
@ -34,7 +34,7 @@ object Quaedam {
|
|||||||
val memoryTypes = DeferredRegister.create(ID, Registries.MEMORY_MODULE_TYPE)!!
|
val memoryTypes = DeferredRegister.create(ID, Registries.MEMORY_MODULE_TYPE)!!
|
||||||
val sensors = DeferredRegister.create(ID, Registries.SENSOR_TYPE)!!
|
val sensors = DeferredRegister.create(ID, Registries.SENSOR_TYPE)!!
|
||||||
val soundEvents = DeferredRegister.create(ID, Registries.SOUND_EVENT)!!
|
val soundEvents = DeferredRegister.create(ID, Registries.SOUND_EVENT)!!
|
||||||
val projectionEffects = DeferredRegister.create(ID, ProjectionEffectType.registryKey)!!
|
val projectionEffects by lazy { DeferredRegister.create(ID, ProjectionEffectType.registryKey)!! }
|
||||||
|
|
||||||
val creativeModeTab: RegistrySupplier<CreativeModeTab> = creativeModeTabs.register("quaedam") {
|
val creativeModeTab: RegistrySupplier<CreativeModeTab> = creativeModeTabs.register("quaedam") {
|
||||||
CreativeTabRegistry.create(Component.translatable("category.quaedam")) {
|
CreativeTabRegistry.create(Component.translatable("category.quaedam")) {
|
||||||
|
Loading…
Reference in New Issue
Block a user