Class VectorGeneratorSub
java.lang.Object
wbs.utils.util.providers.generator.vector.VectorGenerator
wbs.utils.util.providers.generator.vector.VectorBinaryFunctionalGenerator
wbs.utils.util.providers.generator.vector.VectorGeneratorSub
- All Implemented Interfaces:
Provider,Refreshable
A functional generator that accepts exactly two VectorProviders and
returns the value of the first minus the value of the second
-
Nested Class Summary
Nested classes/interfaces inherited from class wbs.utils.util.providers.generator.vector.VectorGenerator
VectorGenerator.VectorGeneratorType -
Constructor Summary
ConstructorsConstructorDescriptionVectorGeneratorSub(org.bukkit.configuration.ConfigurationSection section, WbsSettings settings, String directory) Create this generator from a ConfigurationSection, logging errors in the given settingsVectorGeneratorSub(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
-
VectorGeneratorSub
Clone constructor.- Parameters:
clone- The object to clone from.
-
VectorGeneratorSub
-
VectorGeneratorSub
public VectorGeneratorSub(org.bukkit.util.Vector a, org.bukkit.util.Vector b) -
VectorGeneratorSub
public VectorGeneratorSub(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
-