Contents
- Description
- Field Summary
- Constructor Summary
- Method Summary
- Field Details
- Constructor Details
- Method Details
- getComponentType()
- getTickBuffer()
- setTickBuffer(float)
- getRequestedVelocity()
- addRequestedVelocity(Vector3d)
- setRequestedVelocity(Vector3d)
- getRequestedVelocityChangeType()
- setRequestedVelocityChangeType(ChangeVelocityType)
- getClientLastPosition()
- getClientPosition()
- getRelativeMovement()
- getSimPosition()
- getSimVelocity()
- getRemainingTime()
- setRemainingTime(float)
- reset()
- consumeWasJumping()
- setWasJumping(boolean)
- hadWishMovement()
- setHadWishMovement(boolean)
- isClientFinished()
- setClientFinished(boolean)
- getJumpCombo()
- setJumpCombo(int)
- wasOnGround()
- setWasOnGround(boolean)
- getClientMovementStates()
- setClientMovementStates(MovementStates)
- getMovementOffset()
- getCollisionResult()
- getCheckPosition()
- getTempPosition()
- clone()
Class KnockbackSimulation
java.lang.Object
com.hypixel.hytale.server.core.modules.entity.player.KnockbackSimulation
- All Implemented Interfaces:
Component<EntityStore>, Cloneable
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final floatstatic final floatFields inherited from interface Component
EMPTY_ARRAY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddRequestedVelocity(org.joml.Vector3d velocity) clone()booleanorg.joml.Vector3dorg.joml.Vector3dorg.joml.Vector3dstatic ComponentType<EntityStore, KnockbackSimulation> intorg.joml.Vector3dorg.joml.Vector3dfloatorg.joml.Vector3dorg.joml.Vector3dorg.joml.Vector3dorg.joml.Vector3dfloatbooleanbooleanvoidreset()voidsetClientFinished(boolean clientFinished) voidsetClientMovementStates(MovementStates clientMovementStates) voidsetHadWishMovement(boolean hadWishMovement) voidsetJumpCombo(int jumpCombo) voidsetRemainingTime(float remainingTime) voidsetRequestedVelocity(org.joml.Vector3d velocity) voidsetRequestedVelocityChangeType(ChangeVelocityType requestedVelocityChangeType) voidsetTickBuffer(float tickBuffer) voidsetWasJumping(boolean wasJumping) voidsetWasOnGround(boolean wasOnGround) booleanMethods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Component
cloneSerializable
-
Field Details
-
KNOCKBACK_SIMULATION_TIME
public static final float KNOCKBACK_SIMULATION_TIME- See Also:
-
BLEND_DELAY
public static final float BLEND_DELAY- See Also:
-
-
Constructor Details
-
KnockbackSimulation
public KnockbackSimulation()
-
-
Method Details
-
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
-
setRequestedVelocityChangeType
-
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
-
setClientMovementStates
-
getMovementOffset
@Nonnull public org.joml.Vector3d getMovementOffset() -
getCollisionResult
-
getCheckPosition
@Nonnull public org.joml.Vector3d getCheckPosition() -
getTempPosition
@Nonnull public org.joml.Vector3d getTempPosition() -
clone
- Specified by:
clonein interfaceComponent<EntityStore>- Returns:
- a clone instance of the original component instance.
-