Package net.mcreator.generator
Class ListTemplate
java.lang.Object
net.mcreator.generator.GeneratorTemplate
net.mcreator.generator.ListTemplate
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 Summary
Modifier and TypeMethodDescriptionint
Methods inherited from class net.mcreator.generator.GeneratorTemplate
addDataModelEntry, equals, getDataModel, getFile, getTemplateDefinition, getTemplateIdentifier, getUsercodeComment, hashCode, isHidden, shouldBeSkippedBasedOnCondition, toGeneratorFile
-
Method Details
-
getTemplatesList
-
getListItemIndex
public int getListItemIndex()
-