TU43 Structures, bug fixes & minor changes

- Elytra flight, damage, kinetic energy, pretty much any bug someone reported, paper doll, etc.
- Fossil & Igloo generation
- Texture interpolation
- Iggy mouse fix for world settings
- Neo branding on main screen
- Release build txt logger
- Debug mode spectator
- Several server fixes
- Flowerpot fixes
- Several more changes made in TU43
This commit is contained in:
Tranqlmao
2026-07-11 19:30:16 -04:00
parent d236146e92
commit a4c746bee4
89 changed files with 1793 additions and 590 deletions
+19
View File
@@ -19,6 +19,25 @@ FireworksItem::FireworksItem(int id) : Item(id)
{
}
shared_ptr<ItemInstance> FireworksItem::use(shared_ptr<ItemInstance> instance, Level *level, shared_ptr<Player> player)
{
if (player->isElytraFlying() && player->m_elytraRocketCooldown == 0)
{
player->m_elytraRocketCooldown = 20;
player->startFireworkBoost(instance);
player->playSound(eSoundType_FIREWORKS_LAUNCH, 3.0f, 1.0f);
if (!level->isClientSide)
{
shared_ptr<FireworksRocketEntity> rocket(new FireworksRocketEntity(level, player->x, player->y, player->z, instance));
level->addEntity(rocket);
if (!player->abilities.instabuild)
instance->count--;
}
return instance;
}
return instance;
}
bool FireworksItem::useOn(shared_ptr<ItemInstance> instance, shared_ptr<Player> player, Level *level, int x, int y, int z, int face, float clickX, float clickY, float clickZ, bool bTestUseOnOnly)
{
// 4J-JEV: Fix for xb1 #173493 - CU7: Content: UI: Missing tooltip for Firework Rocket.