Class TemplateManager


  • public class TemplateManager
    extends java.lang.Object
    • Field Detail

      • LOGGER

        private static final org.apache.logging.log4j.Logger LOGGER
      • fixerUpper

        private final com.mojang.datafixers.DataFixer fixerUpper
      • generatedDir

        private final java.nio.file.Path generatedDir
    • Method Detail

      • onResourceManagerReload

        public void onResourceManagerReload​(IResourceManager p_195410_1_)
      • readStructure

        private Template readStructure​(java.io.InputStream p_209205_1_)
                                throws java.io.IOException
        Throws:
        java.io.IOException
      • createPathToStructure

        public java.nio.file.Path createPathToStructure​(ResourceLocation p_209509_1_,
                                                        java.lang.String p_209509_2_)
      • createAndValidatePathToStructure

        private java.nio.file.Path createAndValidatePathToStructure​(ResourceLocation p_209510_1_,
                                                                    java.lang.String p_209510_2_)