Package net.fabricmc.fabric.api.resource
Interface IdentifiableResourceReloadListener
- All Superinterfaces:
ResourceReloader
- All Known Subinterfaces:
SimpleResourceReloadListener<T>
,SimpleSynchronousResourceReloadListener
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:
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.resource.ResourceReloader
ResourceReloader.Synchronizer
-
Method Summary
Methods inherited from interface net.minecraft.resource.ResourceReloader
getName, reload
-
Method Details
-
getFabricId
Identifier getFabricId()- Returns:
- The unique identifier of this listener.
-
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!
-