Interface IdentifiableResourceReloadListener

All Superinterfaces:
net.minecraft.resource.ResourceReloader
All Known Subinterfaces:
SimpleResourceReloadListener<T>, SimpleSynchronousResourceReloadListener

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

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

See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from interface net.minecraft.resource.ResourceReloader

    net.minecraft.resource.ResourceReloader.Synchronizer
  • Method Summary

    Modifier and Type
    Method
    Description
    default Collection<net.minecraft.util.Identifier>
     
    net.minecraft.util.Identifier
     

    Methods inherited from interface net.minecraft.resource.ResourceReloader

    getName, reload
  • Method Details

    • getFabricId

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

      default Collection<net.minecraft.util.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!