Class ItemOverrideReloadListener

java.lang.Object
net.minecraft.server.packs.resources.SimplePreparableReloadListener<Map<net.minecraft.resources.ResourceLocation,List<com.google.gson.JsonObject>>>
dev.dhyces.trimmed.impl.client.models.override.ItemOverrideReloadListener
All Implemented Interfaces:
net.minecraft.server.packs.resources.PreparableReloadListener

public class ItemOverrideReloadListener extends net.minecraft.server.packs.resources.SimplePreparableReloadListener<Map<net.minecraft.resources.ResourceLocation,List<com.google.gson.JsonObject>>>
  • Nested Class Summary

    Nested classes/interfaces inherited from interface net.minecraft.server.packs.resources.PreparableReloadListener

    net.minecraft.server.packs.resources.PreparableReloadListener.PreparationBarrier
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    apply(Map<net.minecraft.resources.ResourceLocation,List<com.google.gson.JsonObject>> jsonFiles, net.minecraft.server.packs.resources.ResourceManager resourceManager, net.minecraft.util.profiling.ProfilerFiller profiler)
     
    protected Map<net.minecraft.resources.ResourceLocation,List<com.google.gson.JsonObject>>
    prepare(net.minecraft.server.packs.resources.ResourceManager resourceManager, net.minecraft.util.profiling.ProfilerFiller profiler)
     

    Methods inherited from class net.minecraft.server.packs.resources.SimplePreparableReloadListener

    reload

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface net.minecraft.server.packs.resources.PreparableReloadListener

    getName
  • Field Details

  • Constructor Details

    • ItemOverrideReloadListener

      public ItemOverrideReloadListener()
  • Method Details

    • prepare

      protected Map<net.minecraft.resources.ResourceLocation,List<com.google.gson.JsonObject>> prepare(net.minecraft.server.packs.resources.ResourceManager resourceManager, net.minecraft.util.profiling.ProfilerFiller profiler)
      Specified by:
      prepare in class net.minecraft.server.packs.resources.SimplePreparableReloadListener<Map<net.minecraft.resources.ResourceLocation,List<com.google.gson.JsonObject>>>
    • apply

      protected void apply(Map<net.minecraft.resources.ResourceLocation,List<com.google.gson.JsonObject>> jsonFiles, net.minecraft.server.packs.resources.ResourceManager resourceManager, net.minecraft.util.profiling.ProfilerFiller profiler)
      Specified by:
      apply in class net.minecraft.server.packs.resources.SimplePreparableReloadListener<Map<net.minecraft.resources.ResourceLocation,List<com.google.gson.JsonObject>>>