Class AvoidanceSystem
java.lang.Object
com.hypixel.hytale.component.system.System<EntityStore>
com.hypixel.hytale.component.system.tick.TickingSystem<EntityStore>
com.hypixel.hytale.component.system.tick.ArchetypeTickingSystem<EntityStore>
com.hypixel.hytale.component.system.tick.EntityTickingSystem<EntityStore>
com.hypixel.hytale.server.npc.systems.SteppableTickingSystem
com.hypixel.hytale.server.npc.systems.AvoidanceSystem
- All Implemented Interfaces:
ISystem<EntityStore>,QuerySystem<EntityStore>,TickableSystem<EntityStore>
-
Nested Class Summary
Nested classes/interfaces inherited from class com.hypixel.hytale.component.system.tick.EntityTickingSystem
EntityTickingSystem.SystemTaskData<ECS_TYPE> -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ComponentType<EntityStore, NPCEntity> static final Vector3fstatic final Vector3fstatic final Vector3fstatic final Vector3fstatic final doublestatic final doublestatic final floatprivate final Set<Dependency<EntityStore>> private final Query<EntityStore> private final ComponentType<EntityStore, TransformComponent> Fields inherited from interface com.hypixel.hytale.component.system.ISystem
EMPTY_ARRAY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetQuery()booleanisParallel(int archetypeChunkSize, int taskCount) private static voidrenderDebugSteeringVector(Vector3d position, Vector3d direction, Vector3f color, World world) private static voidrenderDebugSteeringVectorInverse(Vector3d position, Vector3d direction, Vector3f color, World world) voidsteppedTick(float dt, int index, ArchetypeChunk<EntityStore> archetypeChunk, Store<EntityStore> store, CommandBuffer<EntityStore> commandBuffer) Methods inherited from class com.hypixel.hytale.server.npc.systems.SteppableTickingSystem
tickMethods inherited from class com.hypixel.hytale.component.system.tick.EntityTickingSystem
doTick, maybeUseParallel, tick, useParallelMethods inherited from class com.hypixel.hytale.component.system.tick.ArchetypeTickingSystem
isExplicitQuery, test, tickMethods inherited from class com.hypixel.hytale.component.system.System
getComponentRegistrations, getResourceRegistrations, registerComponent, registerComponent, registerComponent, registerResource, registerResourceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.hypixel.hytale.component.system.ISystem
getGroup, onSystemRegistered, onSystemUnregistered
-
Field Details
-
DEBUG_COLOR_STEERING_POST
-
DEBUG_COLOR_STEERING_PRE
-
DEBUG_COLOR_AVOIDANCE
-
DEBUG_COLOR_SEPARATION
-
DEBUG_MIN_VECTOR_DRAW_LENGTH_SQUARED
public static final double DEBUG_MIN_VECTOR_DRAW_LENGTH_SQUARED- See Also:
-
DEBUG_VECTORS_SCALE
public static final double DEBUG_VECTORS_SCALE- See Also:
-
DEBUG_VECTORS_TIME
public static final float DEBUG_VECTORS_TIME- See Also:
-
componentType
-
transformComponentType
-
query
-
dependencies
-
-
Constructor Details
-
AvoidanceSystem
-
-
Method Details
-
getDependencies
-
isParallel
public boolean isParallel(int archetypeChunkSize, int taskCount) - Overrides:
isParallelin classEntityTickingSystem<EntityStore>
-
getQuery
-
steppedTick
public void steppedTick(float dt, int index, @Nonnull ArchetypeChunk<EntityStore> archetypeChunk, @Nonnull Store<EntityStore> store, @Nonnull CommandBuffer<EntityStore> commandBuffer) - Specified by:
steppedTickin classSteppableTickingSystem
-
renderDebugSteeringVector
-
renderDebugSteeringVectorInverse
-