Class ThermooRegistriesImpl
java.lang.Object
com.github.thedeathlycow.thermoo.impl.neoforge.platform.ThermooRegistriesImpl
- All Implemented Interfaces:
com.github.thedeathlycow.thermoo.impl.platform.ThermooRegistries
public class ThermooRegistriesImpl
extends Object
implements com.github.thedeathlycow.thermoo.impl.platform.ThermooRegistries
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAlias(net.minecraft.core.Registry<?> registry, net.minecraft.resources.Identifier oldId, net.minecraft.resources.Identifier newId) <T> net.minecraft.core.Registry<T> createBuiltinRegistry(net.minecraft.resources.ResourceKey<net.minecraft.core.Registry<T>> key) <T> voidregisterDynamicRegistry(net.minecraft.resources.ResourceKey<net.minecraft.core.Registry<T>> key, com.mojang.serialization.Codec<T> codec) <T> voidregisterSyncedDynamicRegistry(net.minecraft.resources.ResourceKey<net.minecraft.core.Registry<T>> key, com.mojang.serialization.Codec<T> codec)
-
Field Details
-
DYNAMIC_REGISTRIES
-
-
Constructor Details
-
ThermooRegistriesImpl
public ThermooRegistriesImpl()
-
-
Method Details
-
createBuiltinRegistry
public <T> net.minecraft.core.Registry<T> createBuiltinRegistry(net.minecraft.resources.ResourceKey<net.minecraft.core.Registry<T>> key) - Specified by:
createBuiltinRegistryin interfacecom.github.thedeathlycow.thermoo.impl.platform.ThermooRegistries
-
registerDynamicRegistry
public <T> void registerDynamicRegistry(net.minecraft.resources.ResourceKey<net.minecraft.core.Registry<T>> key, com.mojang.serialization.Codec<T> codec) - Specified by:
registerDynamicRegistryin interfacecom.github.thedeathlycow.thermoo.impl.platform.ThermooRegistries
-
registerSyncedDynamicRegistry
public <T> void registerSyncedDynamicRegistry(net.minecraft.resources.ResourceKey<net.minecraft.core.Registry<T>> key, com.mojang.serialization.Codec<T> codec) - Specified by:
registerSyncedDynamicRegistryin interfacecom.github.thedeathlycow.thermoo.impl.platform.ThermooRegistries
-
addAlias
public void addAlias(net.minecraft.core.Registry<?> registry, net.minecraft.resources.Identifier oldId, net.minecraft.resources.Identifier newId) - Specified by:
addAliasin interfacecom.github.thedeathlycow.thermoo.impl.platform.ThermooRegistries
-