Class LootModifierManager

java.lang.Object
net.minecraft.server.packs.resources.SimplePreparableReloadListener<Map<net.minecraft.resources.ResourceLocation,com.google.gson.JsonElement>>
net.minecraft.server.packs.resources.SimpleJsonResourceReloadListener
io.github.vampirestudios.vampirelib.loot.LootModifierManager
All Implemented Interfaces:
net.minecraft.server.packs.resources.PreparableReloadListener

public class LootModifierManager extends net.minecraft.server.packs.resources.SimpleJsonResourceReloadListener
  • 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 com.google.gson.Gson
     
    static final org.apache.logging.log4j.Logger
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    apply(Map<net.minecraft.resources.ResourceLocation,com.google.gson.JsonElement> resourceList, net.minecraft.server.packs.resources.ResourceManager resourceManagerIn, net.minecraft.util.profiling.ProfilerFiller profilerIn)
     

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

    prepare

    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

    • LOGGER

      public static final org.apache.logging.log4j.Logger LOGGER
    • GSON_INSTANCE

      public static final com.google.gson.Gson GSON_INSTANCE
  • Constructor Details

    • LootModifierManager

      public LootModifierManager()
  • Method Details

    • apply

      protected void apply(Map<net.minecraft.resources.ResourceLocation,com.google.gson.JsonElement> resourceList, net.minecraft.server.packs.resources.ResourceManager resourceManagerIn, net.minecraft.util.profiling.ProfilerFiller profilerIn)
      Specified by:
      apply in class net.minecraft.server.packs.resources.SimplePreparableReloadListener<Map<net.minecraft.resources.ResourceLocation,com.google.gson.JsonElement>>