Class ForgeRegistrationFactory

java.lang.Object
com.helliongames.snifferplus.registration.ForgeRegistrationFactory
All Implemented Interfaces:
com.helliongames.snifferplus.registration.util.RegistrationProvider.Factory

public class ForgeRegistrationFactory extends Object implements com.helliongames.snifferplus.registration.util.RegistrationProvider.Factory
  • Field Summary

    Fields inherited from interface com.helliongames.snifferplus.registration.util.RegistrationProvider.Factory

    INSTANCE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    <T> com.helliongames.snifferplus.registration.util.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

    Methods inherited from interface com.helliongames.snifferplus.registration.util.RegistrationProvider.Factory

    create
  • Constructor Details

    • ForgeRegistrationFactory

      public ForgeRegistrationFactory()
  • Method Details

    • create

      public <T> com.helliongames.snifferplus.registration.util.RegistrationProvider<T> create(net.minecraft.resources.ResourceKey<? extends net.minecraft.core.Registry<T>> resourceKey, String modId)
      Specified by:
      create in interface com.helliongames.snifferplus.registration.util.RegistrationProvider.Factory