Contents
Class KnockbackPredictionSystems
java.lang.Object
com.hypixel.hytale.server.core.modules.entity.player.KnockbackPredictionSystems
Systems that help with predicting how knockback will effect a player
without waiting for the client to respond.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classIntercepts and filters player input in order to let the knockback simulation handle it.static classstatic classstatic classSets up the knockback simulation when it is added to an entitystatic classDeprecated.Should be replaced once physics are unified between client/server -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final floatstatic final floatstatic booleanToggles the display of particles showing where the client has told the server it is.static final floatstatic final floatstatic final intstatic final float -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
DEBUG_KNOCKBACK_POSITION
public static boolean DEBUG_KNOCKBACK_POSITIONToggles the display of particles showing where the client has told the server it is. -
DEFAULT_BLOCK_DRAG
public static final float DEFAULT_BLOCK_DRAG- See Also:
-
AIR_DENSITY
public static final float AIR_DENSITY- See Also:
-
COLLISION_PADDING
public static final float COLLISION_PADDING- See Also:
-
MAX_CYCLE_MOVEMENT
public static final float MAX_CYCLE_MOVEMENT- See Also:
-
TIME_STEP
public static final float TIME_STEP- See Also:
-
MAX_JUMP_COMBOS
public static final int MAX_JUMP_COMBOS- See Also:
-
-
Constructor Details
-
KnockbackPredictionSystems
public KnockbackPredictionSystems()
-