Class AttitudeView
java.lang.Object
com.hypixel.hytale.server.npc.blackboard.view.PrioritisedProviderView<IAttitudeProvider,AttitudeView>
com.hypixel.hytale.server.npc.blackboard.view.attitude.AttitudeView
- All Implemented Interfaces:
IBlackboardView<AttitudeView>
-
Nested Class Summary
Nested classes/interfaces inherited from class com.hypixel.hytale.server.npc.blackboard.view.PrioritisedProviderView
PrioritisedProviderView.PrioritisedProvider<T> -
Field Summary
FieldsFields inherited from class com.hypixel.hytale.server.npc.blackboard.view.PrioritisedProviderView
LOWEST_PRIORITY, providers -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcleanup()getAttitude(Ref<EntityStore> ref, Role self, Ref<EntityStore> target, ComponentAccessor<EntityStore> componentAccessor) getUpdatedView(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) voidinitialiseEntity(Ref<EntityStore> ref, NPCEntity npcComponent) booleanisOutdated(Ref<EntityStore> ref, Store<EntityStore> store) voidMethods inherited from class com.hypixel.hytale.server.npc.blackboard.view.PrioritisedProviderView
registerProvider
-
Field Details
-
world
-
-
Constructor Details
-
AttitudeView
-
-
Method Details
-
getAttitude
@Nonnull public Attitude getAttitude(@Nonnull Ref<EntityStore> ref, @Nonnull Role self, @Nonnull Ref<EntityStore> target, @Nonnull ComponentAccessor<EntityStore> componentAccessor) -
isOutdated
-
getUpdatedView
public AttitudeView getUpdatedView(@Nonnull Ref<EntityStore> ref, @Nonnull ComponentAccessor<EntityStore> componentAccessor) -
initialiseEntity
-
cleanup
public void cleanup() -
onWorldRemoved
public void onWorldRemoved()
-