Class RepeatAction

java.lang.Object
dev.jaxydog.astral.content.power.AstralMetaAction
dev.jaxydog.astral.content.power.action.RepeatAction
All Implemented Interfaces:
Registered, Registered.Common

public class RepeatAction extends AstralMetaAction
The repeat meta-action.
Since:
1.1.0
  • Constructor Details

    • RepeatAction

      public RepeatAction(String path)
      Creates a new repeat action.
      Parameters:
      path - The action's identifier path.
      Since:
      1.1.0
  • Method Details

    • execute

      public <T> void execute(io.github.apace100.calio.data.SerializableData.Instance data, T t)
      Description copied from class: AstralMetaAction
      Executes the action.
      Specified by:
      execute in class AstralMetaAction
      Parameters:
      data - The action's associated data.
      t - The value to execute the action on.
    • factory

      public <T> AstralActionFactory<T> factory(io.github.apace100.calio.data.SerializableDataType<io.github.apace100.apoli.power.factory.action.ActionFactory<T>.io.github.apace100.apoli.power.factory.action.ActionFactory.Instance> type)
      Description copied from class: AstralMetaAction
      Returns the action's associated factory.
      Specified by:
      factory in class AstralMetaAction
      Type Parameters:
      T - The type of the expected value.
      Parameters:
      type - The action's type.
      Returns:
      The action's associated factory.