Class VectorGeneratorCross
java.lang.Object
wbs.utils.util.providers.generator.vector.VectorGenerator
wbs.utils.util.providers.generator.vector.VectorBinaryFunctionalGenerator
wbs.utils.util.providers.generator.vector.VectorGeneratorCross
- All Implemented Interfaces:
Provider,Refreshable
A functional generator that accepts exactly two VectorProviders and
returns their cross product
-
Nested Class Summary
Nested classes/interfaces inherited from class wbs.utils.util.providers.generator.vector.VectorGenerator
VectorGenerator.VectorGeneratorType -
Constructor Summary
ConstructorsConstructorDescriptionVectorGeneratorCross(org.bukkit.configuration.ConfigurationSection section, WbsSettings settings, String directory) Create this generator from a ConfigurationSection, logging errors in the given settingsVectorGeneratorCross(org.bukkit.util.Vector a, org.bukkit.util.Vector b) Clone constructor. -
Method Summary
Methods inherited from class wbs.utils.util.providers.generator.vector.VectorBinaryFunctionalGenerator
writeToConfigMethods inherited from class wbs.utils.util.providers.generator.vector.VectorGenerator
buildGenerator, getValue, refresh, refreshInternal
-
Constructor Details
-
VectorGeneratorCross
Clone constructor.- Parameters:
clone- The object to clone from.
-
VectorGeneratorCross
-
VectorGeneratorCross
public VectorGeneratorCross(org.bukkit.util.Vector a, org.bukkit.util.Vector b) -
VectorGeneratorCross
public VectorGeneratorCross(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
-