Class ThermooRegistriesImpl

java.lang.Object
com.github.thedeathlycow.thermoo.impl.fabric.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
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addAlias(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> void
    registerDynamicRegistry(net.minecraft.resources.ResourceKey<net.minecraft.core.Registry<T>> key, com.mojang.serialization.Codec<T> codec)
     
    <T> void
    registerSyncedDynamicRegistry(net.minecraft.resources.ResourceKey<net.minecraft.core.Registry<T>> key, com.mojang.serialization.Codec<T> codec)
     

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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