reimplement aether stuff from personal repo

This commit is contained in:
Bonnie
2026-03-03 11:12:53 -06:00
parent 4d04f408d7
commit afb8090812
129 changed files with 4352 additions and 591 deletions

View File

@@ -82,6 +82,8 @@ void Player::_init()
isInsidePortal = false;
isInsideAetherPortal = false;
inAetherPortalOverlay = false;
portalTime = oPortalTime = 0.0f;
@@ -2328,6 +2330,17 @@ void Player::handleInsidePortal()
isInsidePortal = true;
}
void Player::handleInsideAetherPortal()
{
if (changingDimensionDelay > 0)
{
changingDimensionDelay = 10;
return;
}
isInsideAetherPortal = true;
}
void Player::increaseXp(int i)
{
// Update xp calculations from 1.3