Final Update for TU24 Part 1

Merged Minecraft-Consoles and LCE Renewed Latest Changes
 - Fixed Ice and Stained Glass X-Ray.
 - Fix initial cursor position for in-game UI elements.
 - Make handleParticleEvent actually parse the particle type instead of hardcoding hearts.
 - Add advanced tooltips, F3+H combo, and handle settings.

Other Fixes & Changes.
 - The sound from the portal was reduced.
 - Stained Glass removed from creative mode.
 - New F3 Menu.
 - Reduced UI Sounds volume by 25%.
 - Minor Fixes.
This commit is contained in:
GabsPuNs
2026-03-24 04:07:17 -04:00
parent e979cb50c5
commit 461e0f13dc
38 changed files with 407 additions and 249 deletions

View File

@@ -4036,6 +4036,8 @@ void ClientConnection::handleSetPlayerTeamPacket(shared_ptr<SetPlayerTeamPacket>
void ClientConnection::handleParticleEvent(shared_ptr<LevelParticlesPacket> packet)
{
ePARTICLE_TYPE particleId = (ePARTICLE_TYPE)Integer::parseInt(packet->getName());
for (int i = 0; i < packet->getCount(); i++)
{
double xVarience = random->nextGaussian() * packet->getXDist();
@@ -4045,10 +4047,6 @@ void ClientConnection::handleParticleEvent(shared_ptr<LevelParticlesPacket> pack
double ya = random->nextGaussian() * packet->getMaxSpeed();
double za = random->nextGaussian() * packet->getMaxSpeed();
// TODO: determine particle ID from name
assert(0);
ePARTICLE_TYPE particleId = eParticleType_heart;
level->addParticle(particleId, packet->getX() + xVarience, packet->getY() + yVarience, packet->getZ() + zVarience, xa, ya, za);
}
}