Class VectorGeneratorMul
java.lang.Object
wbs.utils.util.providers.generator.vector.VectorGenerator
wbs.utils.util.providers.generator.vector.VectorFunctionalGenerator
wbs.utils.util.providers.generator.vector.VectorGeneratorMul
- All Implemented Interfaces:
Provider,Refreshable
A functional generator that takes two or more VectorProviders and
returns their product
-
Nested Class Summary
Nested classes/interfaces inherited from class wbs.utils.util.providers.generator.vector.VectorGenerator
VectorGenerator.VectorGeneratorType -
Field Summary
Fields inherited from class wbs.utils.util.providers.generator.vector.VectorFunctionalGenerator
args -
Constructor Summary
ConstructorsConstructorDescriptionVectorGeneratorMul(List<org.bukkit.util.Vector> args) VectorGeneratorMul(org.bukkit.configuration.ConfigurationSection section, WbsSettings settings, String directory) Create this generator from a ConfigurationSection, logging errors in the given settingsVectorGeneratorMul(org.bukkit.util.Vector... args) Clone constructor.VectorGeneratorMul(VectorProvider... args) -
Method Summary
Methods inherited from class wbs.utils.util.providers.generator.vector.VectorFunctionalGenerator
refreshInternal, writeToConfigMethods inherited from class wbs.utils.util.providers.generator.vector.VectorGenerator
buildGenerator, getValue, refresh
-
Constructor Details
-
VectorGeneratorMul
Clone constructor.- Parameters:
clone- The object to clone from.
-
VectorGeneratorMul
-
VectorGeneratorMul
-
VectorGeneratorMul
public VectorGeneratorMul(org.bukkit.util.Vector... args) -
VectorGeneratorMul
public VectorGeneratorMul(org.bukkit.configuration.ConfigurationSection section, WbsSettings settings, String directory) Create this generator from a ConfigurationSection, logging errors in the given settings- Parameters:
section- The section where this generator is definedsettings- The settings to log errors againstdirectory- The path taken through the config to get to this point, for logging purposes
-
-
Method Details
-
getNewValue
protected org.bukkit.util.Vector getNewValue()- Specified by:
getNewValuein classVectorGenerator
-
clone
- Specified by:
clonein classVectorGenerator
-