Class BookLoader

java.lang.Object
net.minecraft.server.packs.resources.SimplePreparableReloadListener<Map<net.minecraft.resources.ResourceLocation,com.google.gson.JsonElement>>
net.minecraft.server.packs.resources.SimpleJsonResourceReloadListener
com.falkory.arcanumapi.book.BookLoader
All Implemented Interfaces:
net.minecraft.server.packs.resources.PreparableReloadListener
Direct Known Subclasses:
BookLoadListener

public class BookLoader 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
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    apply(Map<net.minecraft.resources.ResourceLocation,com.google.gson.JsonElement> jobject, net.minecraft.server.packs.resources.ResourceManager manager, net.minecraft.util.profiling.ProfilerFiller prof)
     
    static void
    applyJson(com.google.gson.JsonObject json, net.minecraft.resources.ResourceLocation rl)
     

    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

    • GSON

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

    • BookLoader

      public BookLoader()
  • Method Details

    • applyJson

      public static void applyJson(com.google.gson.JsonObject json, net.minecraft.resources.ResourceLocation rl)
    • apply

      @ParametersAreNonnullByDefault protected void apply(Map<net.minecraft.resources.ResourceLocation,com.google.gson.JsonElement> jobject, net.minecraft.server.packs.resources.ResourceManager manager, net.minecraft.util.profiling.ProfilerFiller prof)
      Specified by:
      apply in class net.minecraft.server.packs.resources.SimplePreparableReloadListener<Map<net.minecraft.resources.ResourceLocation,com.google.gson.JsonElement>>