Refactor mount helpers and expose NPC flight state

This commit is contained in:
Kam committed 2025-11-07 20:15:49 -05:00
1 parent 6c84263769
commit 9744209938
31 files changed
+821 -305

No files matched your search

@@ -84,6 +84,7 @@ public class PlayerData implements IExtendedEntityProperties, IPlayerData {
public ScreenSize screenSize = new ScreenSize(-1, -1);
public int profileSlot = 0;
private boolean specialKeyDown = false;
public void onLogin() {
// Continue playing animation for self when re-logging
@@ -267,6 +268,14 @@ public class PlayerData implements IExtendedEntityProperties, IPlayerData {
return this.isGUIOpen;
}
public boolean isSpecialKeyDown() {
return specialKeyDown;
}
public void setSpecialKeyDown(boolean specialKeyDown) {
this.specialKeyDown = specialKeyDown;
}
public ScreenSize getScreenSize() {
return screenSize;
}