public class Effectors
extends java.lang.Object
| Modifier and Type | Class and Description | 
|---|---|
| static class  | Effectors.EffectorBuilder<T> | 
| Constructor and Description | 
|---|
| Effectors() | 
| Modifier and Type | Method and Description | 
|---|---|
| static <V> ConfigKey<V> | asConfigKey(ParameterType<V> paramType) | 
| static <V> ParameterType<V> | asParameterType(ConfigKey<V> key) | 
| static <T> Effectors.EffectorBuilder<T> | effector(java.lang.Class<T> returnType,
        java.lang.String effectorName)creates a new effector builder with the given name and return type | 
| static <T> Effectors.EffectorBuilder<T> | effector(Effector<T> base)creates a new effector builder to _override_ the given effector | 
| static TaskAdaptable<java.util.List<?>> | invocation(Effector<?> eff,
          java.util.Map<?,?> params,
          java.lang.Iterable<? extends Entity> entities)returns an unsubmitted task which will invoke the given effector on the given entities;
 return type is Task 
 | 
| static TaskAdaptable<java.util.List<?>> | invocation(Effector<?> eff,
          MutableMap<?,?> params,
          Entity... entities)returns an unsubmitted task which will invoke the given effector on the given entities
 (this form of method is a convenience for  invocation(Effector, Map, Iterable)) | 
| static <T> TaskAdaptable<T> | invocation(Entity entity,
          Effector<T> eff,
          ConfigBag parameters)as  invocation(Entity, Effector, Map)but convenience for passing aConfigBag | 
| static <T> TaskAdaptable<T> | invocation(Entity entity,
          Effector<T> eff,
          java.util.Map<?,?> parameters)returns an unsubmitted task which invokes the given effector; use  Entities.invokeEffector(EntityLocal, Entity, Effector, Map)for a submitted variant | 
| static boolean | sameInstance(Effector<?> e1,
            Effector<?> e2) | 
| static boolean | sameSignature(Effector<?> e1,
             Effector<?> e2) | 
public static <T> Effectors.EffectorBuilder<T> effector(java.lang.Class<T> returnType, java.lang.String effectorName)
public static <T> Effectors.EffectorBuilder<T> effector(Effector<T> base)
public static <T> TaskAdaptable<T> invocation(Entity entity, Effector<T> eff, ConfigBag parameters)
invocation(Entity, Effector, Map) but convenience for passing a ConfigBagpublic static <T> TaskAdaptable<T> invocation(Entity entity, Effector<T> eff, @Nullable java.util.Map<?,?> parameters)
Entities.invokeEffector(EntityLocal, Entity, Effector, Map) for a submitted variantpublic static <V> ParameterType<V> asParameterType(ConfigKey<V> key)
public static <V> ConfigKey<V> asConfigKey(ParameterType<V> paramType)
public static TaskAdaptable<java.util.List<?>> invocation(Effector<?> eff, java.util.Map<?,?> params, java.lang.Iterable<? extends Entity> entities)
public static TaskAdaptable<java.util.List<?>> invocation(Effector<?> eff, MutableMap<?,?> params, Entity... entities)
invocation(Effector, Map, Iterable))