Interface RegistryCallback<T>

All Known Implementing Classes:
DirectRegistryCallback
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 RegistryCallback<T>
  • Method Summary

    Modifier and Type
    Method
    Description
    <R extends T>
    Supplier<R>
    register(net.minecraft.resources.ResourceLocation id, Supplier<R> value)
     
  • Method Details

    • register

      <R extends T> Supplier<R> register(net.minecraft.resources.ResourceLocation id, Supplier<R> value)