Class RepeatAction
java.lang.Object
dev.jaxydog.astral.content.power.AstralMetaAction
dev.jaxydog.astral.content.power.action.RepeatAction
- All Implemented Interfaces:
Registered,Registered.Common
The repeat meta-action.
- Since:
- 1.1.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface dev.jaxydog.astral.register.Registered
Registered.All, Registered.Client, Registered.Common, Registered.Generated, Registered.Server -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> voidexecute(io.github.apace100.calio.data.SerializableData.Instance data, T t) Executes the action.<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) Returns the action's associated factory.Methods inherited from class dev.jaxydog.astral.content.power.AstralMetaAction
getRegistryPath, registerCommonMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.jaxydog.astral.register.Registered
getRegistryId
-
Constructor Details
-
RepeatAction
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:AstralMetaActionExecutes the action.- Specified by:
executein classAstralMetaAction- 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:AstralMetaActionReturns the action's associated factory.- Specified by:
factoryin classAstralMetaAction- Type Parameters:
T- The type of the expected value.- Parameters:
type- The action's type.- Returns:
- The action's associated factory.
-