Class CreateRegistrateRegistrationCallback

java.lang.Object
com.simibubi.create.api.registrate.CreateRegistrateRegistrationCallback

public class CreateRegistrateRegistrationCallback extends Object
Register a callback for when an entry is added to any CreateRegistrate instance
  • Method Summary

    Modifier and Type
    Method
    Description
    static <T> void
    register(net.minecraft.resources.ResourceKey<? extends net.minecraft.core.Registry<T>> registry, net.minecraft.resources.ResourceLocation id, Consumer<com.tterrag.registrate.util.entry.RegistryEntry<T,? extends T>> callback)
     

    Methods inherited from class java.lang.Object

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

    • register

      public static <T> void register(net.minecraft.resources.ResourceKey<? extends net.minecraft.core.Registry<T>> registry, net.minecraft.resources.ResourceLocation id, Consumer<com.tterrag.registrate.util.entry.RegistryEntry<T,? extends T>> callback)