Class KnockbackPredictionSystems.SimulateKnockback
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.core.modules.entity.player.KnockbackPredictionSystems.SimulateKnockback
- All Implemented Interfaces:
ISystem<EntityStore>,QuerySystem<EntityStore>,TickableSystem<EntityStore>
- Enclosing class:
KnockbackPredictionSystems
@Deprecated
public static class KnockbackPredictionSystems.SimulateKnockback
extends EntityTickingSystem<EntityStore>
Deprecated.
-
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 static final ComponentType<EntityStore, BoundingBox> Deprecated.private static final Set<Dependency<EntityStore>> Deprecated.private static final Query<EntityStore> Deprecated.Fields inherited from interface com.hypixel.hytale.component.system.ISystem
EMPTY_ARRAY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyMovementOffset(World world, Box hitBox, KnockbackSimulation simulation, MovementStates movementStates, Vector3d movementOffset) Deprecated.private booleancheckCollision(KnockbackSimulation simulation, World world, Box hitBox, Vector3d position, Vector3d moveOffset, KnockbackPredictionSystems.CollisionAxis axis, CollisionResult result) Deprecated.private floatcomputeMoveForce(KnockbackSimulation simulation, MovementStates movementStates, MovementSettings movementSettings) Deprecated.private static floatconvertToNewRange(float value, float oldMinRange, float oldMaxRange, float newMinRange, float newMaxRange) Deprecated.private floatconvertWishMovement(KnockbackSimulation simulation, MovementStates movementStates, MovementSettings movementSettings) Deprecated.private voiddoMoveCycle(World world, Box hitBox, KnockbackSimulation simulation, MovementStates movementStates, Vector3d offset) Deprecated.Deprecated.getQuery()Deprecated.voidtick(float dt, int index, ArchetypeChunk<EntityStore> archetypeChunk, Store<EntityStore> store, CommandBuffer<EntityStore> commandBuffer) Deprecated.Methods inherited from class com.hypixel.hytale.component.system.tick.EntityTickingSystem
doTick, isParallel, 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
-
BOUNDING_BOX_COMPONENT_TYPE
Deprecated. -
QUERY
Deprecated. -
DEPENDENCIES
Deprecated.
-
-
Constructor Details
-
SimulateKnockback
public SimulateKnockback()Deprecated.
-
-
Method Details
-
getQuery
Deprecated. -
getDependencies
Deprecated. -
tick
public void tick(float dt, int index, @Nonnull ArchetypeChunk<EntityStore> archetypeChunk, @Nonnull Store<EntityStore> store, @Nonnull CommandBuffer<EntityStore> commandBuffer) Deprecated.- Specified by:
tickin classEntityTickingSystem<EntityStore>
-
convertWishMovement
private float convertWishMovement(@Nonnull KnockbackSimulation simulation, @Nonnull MovementStates movementStates, @Nonnull MovementSettings movementSettings) Deprecated. -
computeMoveForce
private float computeMoveForce(@Nonnull KnockbackSimulation simulation, @Nonnull MovementStates movementStates, @Nonnull MovementSettings movementSettings) Deprecated. -
convertToNewRange
private static float convertToNewRange(float value, float oldMinRange, float oldMaxRange, float newMinRange, float newMaxRange) Deprecated. -
applyMovementOffset
public void applyMovementOffset(@Nonnull World world, @Nonnull Box hitBox, @Nonnull KnockbackSimulation simulation, @Nonnull MovementStates movementStates, @Nonnull Vector3d movementOffset) Deprecated. -
doMoveCycle
private void doMoveCycle(@Nonnull World world, @Nonnull Box hitBox, @Nonnull KnockbackSimulation simulation, @Nonnull MovementStates movementStates, @Nonnull Vector3d offset) Deprecated. -
checkCollision
private boolean checkCollision(@Nonnull KnockbackSimulation simulation, @Nonnull World world, @Nonnull Box hitBox, @Nonnull Vector3d position, Vector3d moveOffset, KnockbackPredictionSystems.CollisionAxis axis, @Nonnull CollisionResult result) Deprecated.
-