Interface RegistryEntryRemovedCallback<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 RegistryEntryRemovedCallback<T>
  • Method Summary

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

    • onEntryRemoved

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

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