Class HTJsonResourceReloadListener

  • All Implemented Interfaces:
    net.minecraft.server.packs.resources.PreparableReloadListener

    
    public final class HTJsonResourceReloadListener<T extends Object>
    extends SimpleJsonResourceReloadListener
                        

    Hiiragi Coreとそれを前提とするmodで使用されるSimpleJsonResourceReloadListenerの実装クラスです。

    Since:

    0.14.0

    Author:

    Hiiragi Tsubasa

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final Map<ResourceLocation, T> resultMap
      private final String name
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Map<ResourceLocation, T> getResultMap()
      final static <T extends Any> HTJsonResourceReloadListener<T> create(String directory, Codec<T> codec)
      • Methods inherited from class net.minecraft.server.packs.resources.PreparableReloadListener

        getName, reload
      • Methods inherited from class net.neoforged.neoforge.resource.ContextAwareReloadListener

        injectContext
      • Methods inherited from class java.lang.Object

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