Class FabricRegistrationFactory

java.lang.Object
dev.thomasglasser.aliysium.rainbowoaks.registration.FabricRegistrationFactory
All Implemented Interfaces:
dev.thomasglasser.aliysium.rainbowoaks.registration.RegistrationProvider.Factory

public class FabricRegistrationFactory extends Object implements dev.thomasglasser.aliysium.rainbowoaks.registration.RegistrationProvider.Factory
  • Field Summary

    Fields inherited from interface dev.thomasglasser.aliysium.rainbowoaks.registration.RegistrationProvider.Factory

    INSTANCE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    <T> dev.thomasglasser.aliysium.rainbowoaks.registration.RegistrationProvider<T>
    create(net.minecraft.core.Registry<T> registry, String modId)
     
    <T> dev.thomasglasser.aliysium.rainbowoaks.registration.RegistrationProvider<T>
    create(net.minecraft.resources.ResourceKey<? extends net.minecraft.core.Registry<T>> resourceKey, String modId)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • FabricRegistrationFactory

      public FabricRegistrationFactory()
  • Method Details

    • create

      public <T> dev.thomasglasser.aliysium.rainbowoaks.registration.RegistrationProvider<T> create(net.minecraft.resources.ResourceKey<? extends net.minecraft.core.Registry<T>> resourceKey, String modId)
      Specified by:
      create in interface dev.thomasglasser.aliysium.rainbowoaks.registration.RegistrationProvider.Factory
    • create

      public <T> dev.thomasglasser.aliysium.rainbowoaks.registration.RegistrationProvider<T> create(net.minecraft.core.Registry<T> registry, String modId)
      Specified by:
      create in interface dev.thomasglasser.aliysium.rainbowoaks.registration.RegistrationProvider.Factory