TU43 Release 2

+ Added Magma Block, Nether Wart Block, Bone Block, End Stone Block
+ All Beetroot Items
+ Polar Bear (excluding audio)
+ / now opens chat for commands
This commit is contained in:
Tranqlmao
2026-07-07 12:54:31 -04:00
parent 47e5cba310
commit 558173cfd0
38 changed files with 561 additions and 15 deletions
+9
View File
@@ -208,6 +208,15 @@ void LivingEntity::baseTick()
hurt(DamageSource::inWall, 1);
}
if (!level->isClientSide && isAlive() && onGround && !isSneaking() && tickCount % 10 == 0)
{
int tileBelow = level->getTile(Mth::floor(x), Mth::floor(bb->y0) - 1, Mth::floor(z));
if (tileBelow == Tile::magma_Id)
{
hurt(DamageSource::inFire, 1);
}
}
if (isFireImmune() || level->isClientSide) clearFire();
shared_ptr<Player> thisPlayer = dynamic_pointer_cast<Player>(shared_from_this());
bool isInvulnerable = (thisPlayer != nullptr && thisPlayer->abilities.invulnerable);