Interface RegistryEntryAddedCallback<T>

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface RegistryEntryAddedCallback<T>
  • Method Summary

    Modifier and Type
    Method
    Description
    event​(net.minecraft.util.registry.Registry<T> registry)
     
    void
    onEntryAdded​(int rawId, net.minecraft.util.Identifier id, T object)
     
  • Method Details

    • onEntryAdded

      void onEntryAdded(int rawId, net.minecraft.util.Identifier id, T object)
    • event

      static <T> Event<RegistryEntryAddedCallback<T>> event(net.minecraft.util.registry.Registry<T> registry)