Class ListTemplate

java.lang.Object
net.mcreator.generator.GeneratorTemplate
net.mcreator.generator.ListTemplate

public class ListTemplate extends GeneratorTemplate
This is a subclass of GeneratorTemplate that is connected to a GeneratorTemplatesList it's created by and specific listData item index. These two are used by generator to generate the result file with the appropriate contents that in this case don't only depend on given mod element, but also on a certain listData item.
  • Method Details

    • getTemplatesList

      public GeneratorTemplatesList getTemplatesList()
    • getListItemIndex

      public int getListItemIndex()