public class StatusCollection.AIManagerImpl extends java.lang.Object implements EntityHandler.AIManager
| 构造器和说明 |
|---|
AIManagerImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
StatusCollection.AIManagerImpl |
addAI(int priority,
net.minecraft.entity.ai.EntityAIBase ai)
Add a new AI to this entity.
|
StatusCollection.AIManagerImpl |
removeAI(java.lang.Class<? extends net.minecraft.entity.ai.EntityAIBase> clz)
Remove a specific class of AI.
|
StatusCollection.AIManagerImpl |
removeAI(int num)
Remove the specific AI in the
EntityAITasks.taskEntries |
public StatusCollection.AIManagerImpl addAI(int priority, net.minecraft.entity.ai.EntityAIBase ai)
EntityHandler.AIManageraddAI 在接口中 EntityHandler.AIManagerpriority - The priority of that AI. See EntityAITasks.addTask(int, EntityAIBase)ai - The new AI you created.public StatusCollection.AIManagerImpl removeAI(java.lang.Class<? extends net.minecraft.entity.ai.EntityAIBase> clz)
EntityHandler.AIManagerremoveAI 在接口中 EntityHandler.AIManagerclz - The AI class of the AI you want to remove.public StatusCollection.AIManagerImpl removeAI(int num)
EntityHandler.AIManagerEntityAITasks.taskEntriesremoveAI 在接口中 EntityHandler.AIManagernum - The index number of that AI.