Update PlayerState values.

This commit is contained in:
Steveice10 2017-06-16 21:22:21 -07:00
parent 9e087e2624
commit a4a40f3407
2 changed files with 8 additions and 2 deletions

View file

@ -162,7 +162,10 @@ public class MagicValues {
register(PlayerState.LEAVE_BED, 2);
register(PlayerState.START_SPRINTING, 3);
register(PlayerState.STOP_SPRINTING, 4);
register(PlayerState.RIDING_JUMP, 5);
register(PlayerState.START_HORSE_JUMP, 5);
register(PlayerState.STOP_HORSE_JUMP, 6);
register(PlayerState.OPEN_HORSE_INVENTORY, 7);
register(PlayerState.START_ELYTRA_FLYING, 8);
register(InteractAction.INTERACT, 0);
register(InteractAction.ATTACK, 1);

View file

@ -6,5 +6,8 @@ public enum PlayerState {
LEAVE_BED,
START_SPRINTING,
STOP_SPRINTING,
RIDING_JUMP;
START_HORSE_JUMP,
STOP_HORSE_JUMP,
OPEN_HORSE_INVENTORY,
START_ELYTRA_FLYING;
}