public class KnockbackSimulation implements Component
Class KnockbackSimulation. Provides knockbacksimulation functionality for the Hytale server.
java.lang.Object > KnockbackSimulation
Field Summary
requestedVelocityChangeType
Field requestedVelocityChangeType.
clientMovementStates
Field clientMovementStates.
remainingTime
Field remainingTime.
hadWishMovement
Field hadWishMovement.
clientFinished
Field clientFinished.
wasJumping
Field wasJumping.
jumpCombo
Field jumpCombo.
wasOnGround
Field wasOnGround.
tickBuffer
Field tickBuffer.
tmp
Field tmp.
simulation
Field simulation.
Method Detail
KnockbackSimulation
public
KnockbackSimulation
()
Method KnockbackSimulation.
getComponentType
KnockbackSimulation>
getComponentType
()
Method getComponentType.
getTickBuffer
float
getTickBuffer
()
Method getTickBuffer.
setTickBuffer
void
setTickBuffer
(final float tickBuffer)
Method setTickBuffer.
- Parameters:
final floattickBuffer
getRequestedVelocityChangeType
Method getRequestedVelocityChangeType.
setRequestedVelocityChangeType
Method setRequestedVelocityChangeType.
- Parameters:
final ChangeVelocityTyperequestedVelocityChangeType
getRemainingTime
float
getRemainingTime
()
Method getRemainingTime.
setRemainingTime
void
setRemainingTime
(final float remainingTime)
Method setRemainingTime.
- Parameters:
final floatremainingTime
reset
void
reset
()
Method reset.
consumeWasJumping
boolean
consumeWasJumping
()
Method consumeWasJumping.
setWasJumping
void
setWasJumping
(final boolean wasJumping)
Method setWasJumping.
- Parameters:
final booleanwasJumping
hadWishMovement
boolean
hadWishMovement
()
Method hadWishMovement.
setHadWishMovement
void
setHadWishMovement
(final boolean hadWishMovement)
Method setHadWishMovement.
- Parameters:
final booleanhadWishMovement
isClientFinished
boolean
isClientFinished
()
Method isClientFinished.
setClientFinished
void
setClientFinished
(final boolean clientFinished)
Method setClientFinished.
- Parameters:
final booleanclientFinished
getJumpCombo
int
getJumpCombo
()
Method getJumpCombo.
setJumpCombo
void
setJumpCombo
(final int jumpCombo)
Method setJumpCombo.
- Parameters:
final intjumpCombo
wasOnGround
boolean
wasOnGround
()
Method wasOnGround.
setWasOnGround
void
setWasOnGround
(final boolean wasOnGround)
Method setWasOnGround.
- Parameters:
final booleanwasOnGround
getClientMovementStates
Method getClientMovementStates.
setClientMovementStates
Method setClientMovementStates.
- Parameters:
final MovementStatesclientMovementStates