Class AbstractAttributeGenerator
java.lang.Object
studio.magemonkey.divinity.modules.list.itemgenerator.api.AbstractAttributeGenerator
- All Implemented Interfaces:
IAttributeGenerator
- Direct Known Subclasses:
AbilityGenerator,AttributeGenerator,SingleAttributeGenerator,TypedStatGenerator
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ItemGeneratorManager.GeneratorItemprotected intprotected intprotected final Stringprotected Divinity -
Constructor Summary
ConstructorsConstructorDescriptionAbstractAttributeGenerator(Divinity plugin, ItemGeneratorManager.GeneratorItem generatorItem, String placeholder) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface studio.magemonkey.divinity.modules.list.itemgenerator.api.IAttributeGenerator
generate
-
Field Details
-
plugin
-
generatorItem
-
minAmount
protected int minAmount -
maxAmount
protected int maxAmount -
loreFormat
-
placeholder
-
-
Constructor Details
-
AbstractAttributeGenerator
public AbstractAttributeGenerator(@NotNull Divinity plugin, @NotNull ItemGeneratorManager.GeneratorItem generatorItem, @NotNull String placeholder)
-
-
Method Details
-
getMaxAmount
public final int getMaxAmount()- Specified by:
getMaxAmountin interfaceIAttributeGenerator
-
getMinAmount
public final int getMinAmount()- Specified by:
getMinAmountin interfaceIAttributeGenerator
-
getLoreFormat
- Specified by:
getLoreFormatin interfaceIAttributeGenerator
-
getPlaceholder
- Specified by:
getPlaceholderin interfaceIAttributeGenerator
-