Class KnockbackSimulation

java.lang.Object
com.hypixel.hytale.server.core.modules.entity.player.KnockbackSimulation
All Implemented Interfaces:
Component<EntityStore>, Cloneable

public class KnockbackSimulation extends Object implements Component<EntityStore>
  • Field Details

  • Constructor Details

    • KnockbackSimulation

      public KnockbackSimulation()
  • Method Details

    • getComponentType

      public static ComponentType<EntityStore, KnockbackSimulation> getComponentType()
    • getTickBuffer

      public float getTickBuffer()
    • setTickBuffer

      public void setTickBuffer(float tickBuffer)
    • getRequestedVelocity

      @Nonnull public org.joml.Vector3d getRequestedVelocity()
    • addRequestedVelocity

      public void addRequestedVelocity(@Nonnull org.joml.Vector3d velocity)
    • setRequestedVelocity

      public void setRequestedVelocity(@Nonnull org.joml.Vector3d velocity)
    • getRequestedVelocityChangeType

      @Nullable public ChangeVelocityType getRequestedVelocityChangeType()
    • setRequestedVelocityChangeType

      public void setRequestedVelocityChangeType(ChangeVelocityType requestedVelocityChangeType)
    • getClientLastPosition

      @Nonnull public org.joml.Vector3d getClientLastPosition()
    • getClientPosition

      @Nonnull public org.joml.Vector3d getClientPosition()
    • getRelativeMovement

      @Nonnull public org.joml.Vector3d getRelativeMovement()
    • getSimPosition

      @Nonnull public org.joml.Vector3d getSimPosition()
    • getSimVelocity

      @Nonnull public org.joml.Vector3d getSimVelocity()
    • getRemainingTime

      public float getRemainingTime()
    • setRemainingTime

      public void setRemainingTime(float remainingTime)
    • reset

      public void reset()
    • consumeWasJumping

      public boolean consumeWasJumping()
    • setWasJumping

      public void setWasJumping(boolean wasJumping)
    • hadWishMovement

      public boolean hadWishMovement()
    • setHadWishMovement

      public void setHadWishMovement(boolean hadWishMovement)
    • isClientFinished

      public boolean isClientFinished()
    • setClientFinished

      public void setClientFinished(boolean clientFinished)
    • getJumpCombo

      public int getJumpCombo()
    • setJumpCombo

      public void setJumpCombo(int jumpCombo)
    • wasOnGround

      public boolean wasOnGround()
    • setWasOnGround

      public void setWasOnGround(boolean wasOnGround)
    • getClientMovementStates

      public MovementStates getClientMovementStates()
    • setClientMovementStates

      public void setClientMovementStates(MovementStates clientMovementStates)
    • getMovementOffset

      @Nonnull public org.joml.Vector3d getMovementOffset()
    • getCollisionResult

      @Nonnull public CollisionResult getCollisionResult()
    • getCheckPosition

      @Nonnull public org.joml.Vector3d getCheckPosition()
    • getTempPosition

      @Nonnull public org.joml.Vector3d getTempPosition()
    • clone

      @Nonnull public Component<EntityStore> clone()
      Specified by:
      clone in interface Component<EntityStore>
      Returns:
      a clone instance of the original component instance.