public static interface EntityHandler.AIManager
| 限定符和类型 | 方法和说明 |
|---|---|
EntityHandler.AIManager |
addAI(int priority,
net.minecraft.entity.ai.EntityAIBase ai)
Add a new AI to this entity.
|
EntityHandler.AIManager |
removeAI(java.lang.Class<? extends net.minecraft.entity.ai.EntityAIBase> clz)
Remove a specific class of AI.
|
EntityHandler.AIManager |
removeAI(int num)
Remove the specific AI in the
EntityAITasks.taskEntries |
EntityHandler.AIManager removeAI(java.lang.Class<? extends net.minecraft.entity.ai.EntityAIBase> clz)
clz - The AI class of the AI you want to remove.EntityHandler.AIManager addAI(int priority, net.minecraft.entity.ai.EntityAIBase ai)
priority - The priority of that AI. See EntityAITasks.addTask(int, EntityAIBase)ai - The new AI you created.EntityHandler.AIManager removeAI(int num)
EntityAITasks.taskEntriesnum - The index number of that AI.