Package me.deecaad.core.file.serializers
Interface VectorProvider
- All Known Implementing Classes:
AnyVectorProvider,Direction,RandomVectorProvider
public interface VectorProvider
Returns a vector, with behaviors set by the implementing class.
-
Method Summary
Modifier and TypeMethodDescriptiondefault @NotNull org.bukkit.util.Vectorprovide(@Nullable Quaternion localTransform) Deprecated.@NotNull org.bukkit.util.Vectorprovide(@Nullable org.joml.Quaterniond localTransform) Returns the vector, as specified by the implementing class.
-
Method Details
-
provide
@NotNull @NotNull org.bukkit.util.Vector provide(@Nullable @Nullable org.joml.Quaterniond localTransform) Returns the vector, as specified by the implementing class.- Parameters:
localTransform- The local transform to apply to the vector. This can be null.- Returns:
- the vector.
-
provide
@Deprecated @NotNull default @NotNull org.bukkit.util.Vector provide(@Nullable @Nullable Quaternion localTransform) Deprecated.Useprovide(Quaterniond).Quaternionis deprecated in favor of JOML.Returns the vector, as specified by the implementing class.- Parameters:
localTransform- The local transform to apply to the vector. This can be null.- Returns:
- the vector.
-
provide(Quaterniond).