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
  • Field Details

  • 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:
      createBuiltinRegistry in interface com.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:
      registerDynamicRegistry in interface com.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:
      registerSyncedDynamicRegistry in interface com.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:
      addAlias in interface com.github.thedeathlycow.thermoo.impl.platform.ThermooRegistries