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

@@ -9,6 +9,7 @@
#include "..\..\..\Minecraft.World\net.minecraft.world.level.tile.entity.h"
#include "..\..\MultiplayerLocalPlayer.h"
#include "..\..\Minecraft.h"
#include "..\..\Options.h"
#ifdef __ORBIS__
#include <pad.h>
@@ -17,7 +18,6 @@
#ifdef _WINDOWS64
#include "..\..\Windows64\KeyboardMouseInput.h"
SavedInventoryCursorPos g_savedInventoryCursorPos = { 0.0f, 0.0f, false };
#endif
IUIScene_AbstractContainerMenu::IUIScene_AbstractContainerMenu()
@@ -1376,13 +1376,8 @@ bool IUIScene_AbstractContainerMenu::handleKeyDown(int iPad, int iAction, bool b
else {
if (IsSectionSlotList(m_eCurrSection))
{
int currentIndex = getCurrentIndex(m_eCurrSection) - getSectionStartOffset(m_eCurrSection);
bool bcanPlaySound = !isSlotEmpty(m_eCurrSection, currentIndex);
if (bcanPlaySound)
ui.PlayUISFX(eSFX_Press);
ui.PlayUISFX(eSFX_Press);
}
//
}
}
break;
@@ -1394,7 +1389,10 @@ bool IUIScene_AbstractContainerMenu::handleKeyDown(int iPad, int iAction, bool b
// Standard right click
buttonNum = 1;
quickKeyHeld = FALSE;
ui.PlayUISFX(eSFX_Press);
if( IsSectionSlotList( m_eCurrSection ) )
{
ui.PlayUISFX(eSFX_Press);
}
}
break;
@@ -1669,7 +1667,14 @@ vector<HtmlString> *IUIScene_AbstractContainerMenu::GetItemDescription(Slot *slo
{
if(slot == nullptr) return nullptr;
vector<HtmlString> *lines = slot->getItem()->getHoverText(nullptr, false);
bool advanced = false;
if (const Minecraft* pMinecraft = Minecraft::GetInstance())
{
if (pMinecraft->options)
advanced = pMinecraft->options->advancedTooltips;
}
vector<HtmlString> *lines = slot->getItem()->getHoverText(nullptr, advanced);
// Add rarity to first line
if (lines->size() > 0)