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
    Modifier and Type
    Field
    Description
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    apply​(Map<net.minecraft.util.Identifier,​Properties> meta, net.minecraft.resource.ResourceManager manager, net.minecraft.util.profiler.Profiler profiler)
     
    net.minecraft.util.Identifier
     
    getProperties​(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

    reload

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface net.fabricmc.fabric.api.resource.IdentifiableResourceReloadListener

    getFabricDependencies

    Methods inherited from interface net.minecraft.resource.ResourceReloader

    getName, reload
  • Field Details

  • Constructor Details

    • MetadataLoader

      public MetadataLoader()
  • Method Details

    • getProperties

      public NinePatchInternals.TextureProperties getProperties(net.minecraft.util.Identifier texture)
    • getFabricId

      public net.minecraft.util.Identifier getFabricId()
      Specified by:
      getFabricId in interface net.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:
      prepare in class net.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:
      apply in class net.minecraft.resource.SinglePreparationResourceReloader<Map<net.minecraft.util.Identifier,​Properties>>