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
+13 -3
View File
@@ -1,5 +1,6 @@
#include "stdafx.h"
#include "net.minecraft.world.entity.h"
#include "net.minecraft.world.entity.player.h"
#include "net.minecraft.world.entity.item.h"
#include "net.minecraft.world.item.enchantment.h"
#include "net.minecraft.world.level.h"
@@ -146,9 +147,18 @@ void Explosion::explode()
if(canDamage) e->hurt(DamageSource::explosion(this), static_cast<int>((pow * pow + pow) / 2 * 8 * r + 1));
double kbPower = ProtectionEnchantment::getExplosionKnockbackAfterDampener(e, pow);
e->xd += xa *kbPower;
e->yd += ya *kbPower;
e->zd += za *kbPower;
bool isCreativeFlying = false;
if (e->instanceof(eTYPE_PLAYER))
{
shared_ptr<Player> p = dynamic_pointer_cast<Player>(e);
if (p && p->abilities.flying) isCreativeFlying = true;
}
if (!isCreativeFlying)
{
e->xd += xa * kbPower;
e->yd += ya * kbPower;
e->zd += za * kbPower;
}
if (e->instanceof(eTYPE_PLAYER))