Interface Generator

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 Generator
Functional interface responsible for defining the base geometric shape of an effect.

Generators produce a collection of relative coordinates which are later transformed and rendered.

  • Method Summary

    Modifier and Type
    Method
    Description
    List<org.bukkit.util.Vector>
    generate(long tick)
    Produces a list of relative vectors for a specific tick.
  • Method Details

    • generate

      List<org.bukkit.util.Vector> generate(long tick)
      Produces a list of relative vectors for a specific tick.
      Parameters:
      tick - The current animation tick.
      Returns:
      A List of relative Vector coordinates.