public interface ResourceManagerHelper
ResourceManager
instances.Modifier and Type | Method and Description |
---|---|
default void |
addReloadListener(IdentifiableResourceReloadListener listener)
Deprecated.
|
static ResourceManagerHelper |
get(net.minecraft.resource.ResourceType type)
Get the ResourceManagerHelper instance for a given resource type.
|
void |
registerReloadListener(IdentifiableResourceReloadListener listener)
Register a resource reload listener for a given resource manager type.
|
@Deprecated default void addReloadListener(IdentifiableResourceReloadListener listener)
registerReloadListener(IdentifiableResourceReloadListener)
listener
- The resource reload listener.void registerReloadListener(IdentifiableResourceReloadListener listener)
listener
- The resource reload listener.static ResourceManagerHelper get(net.minecraft.resource.ResourceType type)
type
- The given resource type.