Interface Transformer

All Known Implementing Classes:
Timeline
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface Transformer
Functional interface for modifying particle coordinates during the animation pipeline.

Transformers are applied sequentially to allow for complex movement like combined rotation, scaling, and translation.

  • Method Summary

    Modifier and Type
    Method
    Description
    org.bukkit.util.Vector
    transform(org.bukkit.util.Vector input, long tick)
    Transforms a vector coordinate based on the current animation tick.
  • Method Details

    • transform

      org.bukkit.util.Vector transform(org.bukkit.util.Vector input, long tick)
      Transforms a vector coordinate based on the current animation tick.
      Parameters:
      input - The original coordinate vector.
      tick - The current animation tick.
      Returns:
      The transformed coordinate Vector.