Package net.fabricmc.fabric.api.resource
Interface IdentifiableResourceReloadListener
- All Superinterfaces:
net.minecraft.resource.ResourceReloadListener
- All Known Subinterfaces:
SimpleResourceReloadListener<T>
,SimpleSynchronousResourceReloadListener
public interface IdentifiableResourceReloadListener
extends net.minecraft.resource.ResourceReloadListener
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:
ResourceReloadListenerKeys
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.resource.ResourceReloadListener
net.minecraft.resource.ResourceReloadListener.Synchronizer
-
Method Summary
Modifier and TypeMethodDescriptiondefault Collection<net.minecraft.util.Identifier>
net.minecraft.util.Identifier
Methods inherited from interface net.minecraft.resource.ResourceReloadListener
getName, reload
-
Method Details
-
getFabricId
net.minecraft.util.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!
-