public class VolatileAIHandler_v1_14_R1 extends Object implements VolatileAIHandler
Modifier and Type | Class and Description |
---|---|
class |
VolatileAIHandler_v1_14_R1.PathfinderGoalGoToParent |
class |
VolatileAIHandler_v1_14_R1.PathfinderGoalPatrolRoute |
Constructor and Description |
---|
VolatileAIHandler_v1_14_R1(VolatileCodeHandler handler) |
Modifier and Type | Method and Description |
---|---|
void |
addPathfinderGoals(org.bukkit.entity.LivingEntity entity,
List<String> aiMods) |
void |
addPathfindersGoal(int index,
AbstractEntity entity,
net.minecraft.server.v1_14_R1.PathfinderGoal goal,
Predicate<AbstractEntity> validator) |
void |
addTargetGoals(org.bukkit.entity.LivingEntity entity,
List<String> aiMods) |
void |
clearPathfinderGoals(AbstractEntity entity) |
void |
clearPathfinderTargets(AbstractEntity entity) |
void |
navigateToLocation(AbstractEntity entity,
AbstractLocation destination,
double maxDistance) |
void |
setTarget(org.bukkit.entity.LivingEntity entity,
org.bukkit.entity.LivingEntity target) |
public VolatileAIHandler_v1_14_R1(VolatileCodeHandler handler)
public void setTarget(org.bukkit.entity.LivingEntity entity, org.bukkit.entity.LivingEntity target)
setTarget
in interface VolatileAIHandler
public void navigateToLocation(AbstractEntity entity, AbstractLocation destination, double maxDistance)
navigateToLocation
in interface VolatileAIHandler
public void clearPathfinderGoals(AbstractEntity entity)
public void clearPathfinderTargets(AbstractEntity entity)
public void addPathfindersGoal(int index, AbstractEntity entity, net.minecraft.server.v1_14_R1.PathfinderGoal goal, Predicate<AbstractEntity> validator)
public void addPathfinderGoals(org.bukkit.entity.LivingEntity entity, List<String> aiMods)
addPathfinderGoals
in interface VolatileAIHandler
public void addTargetGoals(org.bukkit.entity.LivingEntity entity, List<String> aiMods)
addTargetGoals
in interface VolatileAIHandler
Copyright © 2020. All rights reserved.