Class NinePatchInternals.MetadataLoader
java.lang.Object
net.minecraft.resource.SinglePreparationResourceReloader<Map<net.minecraft.util.Identifier,Properties>>
io.github.cottonmc.cotton.gui.impl.client.NinePatchInternals.MetadataLoader
- All Implemented Interfaces:
net.fabricmc.fabric.api.resource.IdentifiableResourceReloadListener,net.minecraft.resource.ResourceReloader
- Enclosing class:
- NinePatchInternals
@Environment(CLIENT)
public static class NinePatchInternals.MetadataLoader
extends net.minecraft.resource.SinglePreparationResourceReloader<Map<net.minecraft.util.Identifier,Properties>>
implements net.fabricmc.fabric.api.resource.IdentifiableResourceReloadListener
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.resource.ResourceReloader
net.minecraft.resource.ResourceReloader.Synchronizer -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidapply(Map<net.minecraft.util.Identifier,Properties> meta, net.minecraft.resource.ResourceManager manager, net.minecraft.util.profiler.Profiler profiler)net.minecraft.util.IdentifiergetProperties(net.minecraft.util.Identifier texture)protected Map<net.minecraft.util.Identifier,Properties>prepare(net.minecraft.resource.ResourceManager manager, net.minecraft.util.profiler.Profiler profiler)Methods inherited from class net.minecraft.resource.SinglePreparationResourceReloader
reloadMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.fabricmc.fabric.api.resource.IdentifiableResourceReloadListener
getFabricDependenciesMethods inherited from interface net.minecraft.resource.ResourceReloader
getName, reload
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
MetadataLoader
public MetadataLoader()
-
-
Method Details
-
getProperties
-
getFabricId
public net.minecraft.util.Identifier getFabricId()- Specified by:
getFabricIdin interfacenet.fabricmc.fabric.api.resource.IdentifiableResourceReloadListener
-
prepare
protected Map<net.minecraft.util.Identifier,Properties> prepare(net.minecraft.resource.ResourceManager manager, net.minecraft.util.profiler.Profiler profiler)- Specified by:
preparein classnet.minecraft.resource.SinglePreparationResourceReloader<Map<net.minecraft.util.Identifier,Properties>>
-
apply
protected void apply(Map<net.minecraft.util.Identifier,Properties> meta, net.minecraft.resource.ResourceManager manager, net.minecraft.util.profiler.Profiler profiler)- Specified by:
applyin classnet.minecraft.resource.SinglePreparationResourceReloader<Map<net.minecraft.util.Identifier,Properties>>
-