mirror of
https://github.com/GeyserMC/MCProtocolLib.git
synced 2024-12-04 21:01:02 -05:00
Update PlayerState values.
This commit is contained in:
parent
9e087e2624
commit
a4a40f3407
2 changed files with 8 additions and 2 deletions
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue