Package | Description |
---|---|
net.tridentsdk.entity |
Other entities and general abstractions and types
|
net.tridentsdk.entity.living.ai |
Entity AI for living entities, which decides the movement paths to follow based on the environment
|
net.tridentsdk.server.entity |
Contains general entity implementations and base abstractions
|
net.tridentsdk.server.entity.ai |
Classes with controllers for the AI of entities
|
Modifier and Type | Method and Description |
---|---|
AiModule |
LivingEntity.aiModule()
Gets the AI Module for this class, which will be the default if there is no special AI that has been defined for
this entity
|
Modifier and Type | Method and Description |
---|---|
void |
LivingEntity.setAiModule(AiModule module)
Overides defaults and previous AI Modules for this entity, assigning a new module to it
|
Modifier and Type | Method and Description |
---|---|
AiModule |
AiHandler.defaultAiFor(EntityType type)
Returns the AI Module that is the default for a certain type of entity
|
AiModule |
AiHandler.nativeAIFor(EntityType type)
Returns the server's implementation of the AI for a given entity type
|
Modifier and Type | Method and Description |
---|---|
void |
AiHandler.setDefaultAiFor(EntityType type,
AiModule module)
Sets the AI for this entity type, used to provide a separate AiModule for
Entities
|
Modifier and Type | Method and Description |
---|---|
AiModule |
TridentLivingEntity.aiModule() |
Modifier and Type | Method and Description |
---|---|
void |
TridentLivingEntity.setAiModule(AiModule module) |
Modifier and Type | Class and Description |
---|---|
class |
CreeperAiModule
The AI Module that provides the default implentation of AI for creepers on the server
|
Modifier and Type | Method and Description |
---|---|
AiModule |
TridentAiHandler.defaultAiFor(EntityType type) |
AiModule |
TridentAiHandler.nativeAIFor(EntityType type) |
Modifier and Type | Method and Description |
---|---|
void |
TridentAiHandler.setDefaultAiFor(EntityType type,
AiModule module) |
Copyright © 2016. All rights reserved.