Package cn.nukkit.entity.ai
Class EntityAI
java.lang.Object
cn.nukkit.entity.ai.EntityAI
存放一些AI框架的全局参数
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
checkDebugOption
(EntityAI.DebugOption option) static long
Gets route particle spawn interval.static void
setDebugOption
(EntityAI.DebugOption option, boolean open) static void
setRouteParticleSpawnInterval
(long routeParticleSpawnInterval) Sets route particle spawn interval.(Unit millisecond)
-
Method Details
-
setDebugOption
-
checkDebugOption
-
setRouteParticleSpawnInterval
public static void setRouteParticleSpawnInterval(long routeParticleSpawnInterval) Sets route particle spawn interval.(Unit millisecond)- Parameters:
routeParticleSpawnInterval
- the route particle spawn interval
-
getRouteParticleSpawnInterval
public static long getRouteParticleSpawnInterval()Gets route particle spawn interval.- Returns:
- the route particle spawn interval
-