Commit Graph

261 Commits

Author SHA1 Message Date
kuwacom
f8cbd4f844 fix: fix multiplayer player data mix between different players bug
Fixes a Win64 multiplayer issue where player data (`players/*.dat`) could be mismatched because identity was effectively tied to connection-order `smallId` XUIDs.
Introduces a deterministic username-derived persistent XUID and integrates it into the existing XUID-based save pipeline.

- Added `Windows64_NameXuid` for deterministic `name -> persistent xuid` resolution
- On Win64 login (`PlayerList`), set `ServerPlayer::xuid` from username-based resolver
- Aligned local player `xuid` assignment (`Minecraft`) for create/init/respawn paths to use the same resolver
- Added Win64 local-self guard in `ClientConnection::handleAddPlayer` using name match to avoid duplicate local remote-player creation
- Kept `IQNet::GetPlayerByXuid` compatibility fallback behavior, while extending lookup to also resolve username-based XUIDs
- Moved implementation to `Minecraft.Client/Windows64/Windows64_NameXuid.h`; kept legacy `Win64NameXuid.h` as compatibility include

Rename migration is intentionally out of scope (same-name identity only).
2026-03-05 12:29:15 +09:00
Loki
f1d477c1ec Merge pull request #523 from kuwacom/main
Fix crash when launching at 720p
2026-03-04 20:18:05 -06:00
kuwacom
26582a7439 fix: Fixed crash when launching at 720p #517
Modify `MediaWindows64.arc` to include `skinHud.swf`
2026-03-05 11:13:31 +09:00
Loki
9383b2aa01 Merge pull request #491 from siobhan-saoirse/main
Decrease the mob ticks from 3 to 1 to reduce jittering
2026-03-04 16:25:57 -06:00
Siobhan 🏳️‍⚧️
4f85afe325 Adjust entity tracking ticks for several types
This fixes the jittery problem.
2026-03-04 17:19:05 -05:00
Loki Rautio
cb9ab4ef51 Ship revised logo from @wiskerdmage
This one looks a bit nicer so let's use this for now...
2026-03-04 15:23:12 -06:00
Loki Rautio
391dd3caae Ship updated, maybe temporary subtitle
People keep going "Oh no I don't like the red WINDOWS text, oh no! I hate it!
The red windows text is the devil, it will be my undoing! Please remove the red
windows text or I shall simply perish!" And for that? Well, I have removed it. Now
you can enjoy this logo made by @wiskerdmage in the style of the existing Edition
logos. (https://github.com/smartcmd/MinecraftConsoles/pull/385#issuecomment-3996671081)
2026-03-04 14:56:53 -06:00
Marlian
3f1388e06f Persist fullscreen setting and start windowed mode maximized (#446)
Save fullscreen toggle state to options.txt when F11 is pressed, and restore it on the next launch. When starting in windowed mode, the window now opens maximized instead of at a smaller default size.

Previously, g_isFullscreen was hardcoded to false and never persisted, so the game always started in windowed mode. The window also started at a non-maximized size requiring manual maximization.

Fixes #391
2026-03-05 03:50:06 +07:00
LetsGoAway
c517f31b3d Update ItemInHandRenderer.cpp (#418) 2026-03-05 03:26:56 +07:00
Loki Rautio
51eb86ad28 Revert "fix: fix #464"
This reverts commit 5922824950.
2026-03-04 13:43:40 -06:00
Fayaz Shaikh
9372887aef Fix for any aspect ratio in 3D Environments (#320)
* Add initial AnyAspectRatio support

* Remove some logic that didn't work

* Remove rogue back slash

* Remove more remnants

* Update UILayer.h

* Update some comments

* Remove WIP UI changes

* Fix diffs

* Remove UI resize call from `UpdateAspectRatio`

* handle merge conflict

* Update to C++ style static cast

* Fix syntax
2026-03-05 02:13:58 +07:00
daoge_cmd
5922824950 fix: fix #464 2026-03-05 02:57:52 +08:00
daoge_cmd
4108ed142b fix: restore KBM sprint on either Ctrl key 2026-03-05 01:49:38 +08:00
daoge_cmd
7b35df8714 Fix controller paging regression in creative menu
Preserve smooth row-by-row scrolling for mouse wheel input, but restore
full-page movement for controller/menu scroll actions in the creative
inventory.

Commit 3093ca3 changed page indexing to support smooth scrolling, which
caused ACTION_MENU_OTHER_STICK_UP/DOWN to advance by one row instead of
one page. Track whether the scroll action originated from the mouse
wheel and only use single-row steps in that case.

Fixes #253
2026-03-05 01:38:34 +08:00
daoge_cmd
ef66f6736d fix: ignore dedicated server properties in normal world startup 2026-03-05 01:26:21 +08:00
ModMaker101
870d3e4b68 Fix mob nametag position to match correct height offset #422 (#440) 2026-03-05 00:24:42 +07:00
daoge_cmd
1dc8a005ed refactor: refactor KBM input code 2026-03-05 01:12:48 +08:00
Alezito2008
ac03b88a90 Fix:Prevent horse spawner crash (#433) 2026-03-04 23:42:32 +07:00
ModMaker101
206c6800f2 Fix incorrect distance comparison return value (#432) 2026-03-04 23:41:59 +07:00
ModMaker101
464cf91f4c Prevent door sounds from playing twice #392 (#425) 2026-03-04 23:28:37 +07:00
Alezito2008
cea1084978 Fix duplicated stained glass when art tools enabled (#426) 2026-03-04 23:28:20 +07:00
ModMaker101
2be856a2d4 Fix Chunk destructor segfault using smart pointers #112 (#414) 2026-03-04 22:43:29 +07:00
Davi Eler Magalhães
ca5fde56fe Fix: Sorted the item list in the debug overlay (#340)
* Fix: Sorted the item list in the debug overlay

* revert show all files to false

* Revert ShowAllFiles by removing it

* removed extra line

* Adressed PR review changes

* Replaced push_back with emplace_back

* Removed redundant emplace_back
2026-03-04 22:07:37 +07:00
Marlian
2d430798a5 Fix creative inventory crash with Art Tools debug option (#399)
Fix vector out-of-bounds crash when scrolling the potions tab in the creative inventory with Art Tools debug enabled.

- Fix getPageCount() returning total rows instead of scrollable pages in Art Tools mode

- Fix off-by-one boundary check in populateMenu() for both static and debug group loops (< should be <=)

Fixes #386
2026-03-04 19:47:43 +07:00
Loki Rautio
52d9bcc9a9 Enable Stained Glass in Creative Menu 2026-03-04 06:14:06 -06:00
Loki Rautio
0e9d8629f1 Update README with info about username.txt 2026-03-04 05:59:48 -06:00
Loki Rautio
ea17b152b7 Restore username.txt loading without conflict
Still allows for -name launch argument, but restores old expected behavior
2026-03-04 05:57:56 -06:00
Loki Rautio
0993e628ab Disable automatic Windows account username
This could reveal someone's private information on a livestream or video.
We need a long-term username implementation
2026-03-04 05:44:16 -06:00
Loki
e6950a91d9 Merge pull request #201 from dtentiion/pr/win64-world-saves
Show actual world names in save list, sorting, preserve level and its name on load/resave
2026-03-04 04:06:51 -06:00
Loki Rautio
42aec6dac5 Merge branch 'main' into pr/win64-world-saves
# Conflicts:
#	Minecraft.Client/MinecraftServer.cpp
#	README.md
2026-03-04 03:56:03 -06:00
daoge_cmd
ef9b6fd500 docs: fix table formatting in README.md 2026-03-04 17:48:19 +08:00
daoge_cmd
5d9f6f6347 docs: mark V-Sync note as WIP in README.md 2026-03-04 17:47:16 +08:00
daoge_cmd
d112090fde feat: headless server 2026-03-04 17:29:43 +08:00
daoge_cmd
8ecfc52547 feat: add support for username, IP, and port configuration via launch arguments 2026-03-04 15:33:52 +08:00
daoge_cmd
575cc4ce6e fix: fix horse texture rendering 2026-03-04 14:55:13 +08:00
daoge_cmd
b1b4435c01 fix: fix inverted pitch in the second third person view 2026-03-04 14:40:52 +08:00
dtentiion
c9d58eeac7 Delete README.md
Unnecessary
2026-03-04 06:05:24 +00:00
Tygo de Vries
779cf56f4b Removed private information (#333)
Maybe we should not have this out there to find so easily?
2026-03-04 12:39:16 +07:00
ModMaker101
bfcc4aa10c renderer: frustum test new chunks so newly generated chunks render to full view distance #175 (#344) 2026-03-04 12:37:04 +07:00
Alezito2008
6c842b2854 Disable flight state when riding entities (#368) 2026-03-04 13:21:21 +08:00
Mykey
c8a8f9dd6c Update crafting controls description (#359)
Clarified crafting controls in README.
2026-03-04 12:32:51 +08:00
rtm516
b1b622c303 Fix overlapping debug menus and screens (#294)
* Fix overlapping debug menus and screens

Also resolves a formatting issue with clang-format

* Update readme
2026-03-04 12:31:47 +08:00
4win
f216abca42 fix: properly offset the mouse position in containers (#327) 2026-03-04 12:30:14 +08:00
Alezito2008
d31d261ffd Prevent world input from affecting inventory (#354) 2026-03-04 12:29:29 +08:00
Zekken
f870ef2a10 Fix Texture Pack images in menu (#335) 2026-03-03 23:56:16 +00:00
Boom244
ac30f09085 #221: Fix menu glitch. (#254) 2026-03-04 05:43:06 +07:00
Slenderman
ac480f6745 Update username logic and implement latest LCEMP changes (#311)
* Update username logic and implement latest LCEMP changes

* Update old reference

* Fix tutorial world crash

* Restore deleted comment
2026-03-04 04:50:28 +07:00
Fin
30ecc80250 Add menu display check for sneak toggle in flying mode (#319)
Fixes being able to fly down while a menu is open.
2026-03-04 04:13:35 +07:00
rtm516
384b9f4445 Fix ender dragon hit not making left side red (#309) 2026-03-04 03:40:53 +07:00
TGS
31cc598b75 Remove duplicate elif from LevelRender.h (#296) 2026-03-03 20:22:31 +00:00