Interface IdentifiableResourceReloadListener

All Superinterfaces:
ResourceReloader
All Known Subinterfaces:
SimpleResourceReloadListener<T>, SimpleSynchronousResourceReloadListener

public interface IdentifiableResourceReloadListener extends ResourceReloader
Interface for "identifiable" resource reload listeners.

"Identifiable" listeners have a unique identifier, which can be depended on, and can provide dependencies that they would like to see executed before themselves.

See Also:
  • Method Details

    • getFabricId

      Identifier getFabricId()
      Returns:
      The unique identifier of this listener.
    • getFabricDependencies

      default Collection<Identifier> getFabricDependencies()
      Returns:
      The identifiers of listeners this listener expects to have been executed before itself. Please keep in mind that this only takes effect during the application stage!