Commit Graph

310 Commits

Author SHA1 Message Date
Andrew P. Harper
1755cd58be Fix Stained Glass being wrong colors (#529)
Fixes issue with stained glass not showing the correct color in the name
2026-03-06 09:35:40 -06:00
GuglioIsStupid
de46641cda Reimplement miles sound artifacts, Stone Brick Stairs recipe, and craft sound (#684)
* Reimplement miles sound artifacts

* Fix stone brick stairs recipe

* Fix craft and scroll sound
2026-03-06 01:45:25 -06:00
Eribetra
0469e982ce Replace .ogg music with their Java edition counterparts (#677)
* Replace .ogg music with their Java edition counterparts

Now that we are using MiniAudio, we can add Java Edition's music files, which have much higher quality than LCE's .binka files.

Note that the_end_dragon_alive.ogg is different as a result.

* Update the_end_dragon_alive.ogg

* Update cat.ogg

* high quality LCE cat.ogg recreation

* Updated cat.ogg to have exact music length
2026-03-06 00:42:55 -06:00
kuwa
182d76f391 Introduce uid.dat (offline PlayerUIDs), fix multiplayer save data persistence (#536)
* 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).

* fix: preserve legacy host xuid (base xuid + 0) for existing world compatibility

- Add legacy embedded host XUID helper (base + 0).
- When Minecraft.Client is hosting, force only the first host player to use legacy host XUID.
- Keep name-based XUID for non-host players.
- Prevent old singleplayer/hosted worlds from losing/mismatching host player data.

* update: migrate Win64 player uid to `uid.dat`-backed XUID and add XUID based duplicate login guards

- Replace Win64 username-derived XUID resolution with persistent `uid.dat`-backed identity (`Windows64_Xuid` / `Win64Xuid`).
- Persist a per-client XUID next to the executable, with first-run generation, read/write, and process-local caching.
- Keep legacy host compatibility by pinning host self to legacy embedded `base + 0` XUID for existing world/playerdata continuity.
- Propagate packet-authoritative XUIDs into QNet player slots via `m_resolvedXuid`, and use it for `GetXuid`/`GetPlayerByXuid` with legacy fallback.
- Update Win64 profile/network paths to use persistent XUID for non-host clients and clear resolved identity on disconnect.
- Add login-time duplicate checks: reject connections when the same XUID is already connected (in addition to existing duplicate-name checks on Win64).
- Add inline compatibility comments around legacy/new identity coexistence paths for easier future maintenance.

* update: ensure uid.dat exists at startup in client mode for multiplayer
2026-03-06 00:01:36 -06:00
MozzarellaRat
c45541080f Fix boat gravity (#651)
reimplements boat gravity
2026-03-05 23:35:45 -06:00
Vincent Zhang
73cc345f54 Add a launch argument for full screen (#663)
* per user config should be .gitignored

* add comment surrounding gitignore update

* make it wildcard

* add fullscreen to launch option struct

* remove redundant forward declaration and use fullscreen launch option in main
2026-03-05 22:54:30 -06:00
GuglioIsStupid
5cbdf27b46 Fix sound settings not applying (#664)
* Fix sound settings not applying

* Remove my AllocConsole

* Forgot this printf
2026-03-05 22:05:59 -06:00
ZyroX
e2b8699ba5 Add missing Firework sounds (#660) 2026-03-05 21:42:09 -06:00
Kevin
d22ab815e3 Initial fixes for ContainerSetSlotPacket and CraftItemPacket (#649) 2026-03-05 21:20:40 -06:00
Marlian
0c2e27cae7 Add missing horse/donkey/mule/zombie/skeleton horse sounds (#650) 2026-03-05 20:41:43 -06:00
Loki Rautio
090cc653cc Disable "Debug Settings" in Release builds
People keep breaking random stuff by using these settings, so turn them
off for now in release builds. If folks can figure out how to compile a
debug build locally, they can use em :)
2026-03-05 20:32:04 -06:00
Patrxgt
0d95980dca Added missing dots and linked official Microsoft VS 2022 Community Edition mirror in the build instructions. (#626) 2026-03-06 07:56:28 +07:00
hexlocation
34c22f6ab5 fix: properly detect host env. (#628) 2026-03-06 07:54:40 +07:00
Marvelco
b7b29c0b7b Fixed the double block break in Creative mode (#642)
* this seems unnecessary

* fixed the double block break on single click
2026-03-06 07:48:27 +07:00
GuglioIsStupid
8398eb16b8 Miniaudio Implementation (+stb_vorbis) (#624)
* Miniaudio Implementation

* Do not link miles + remove miles lib
2026-03-06 07:48:12 +07:00
Marlian
f012250219 Fix creative mode double block break on single click (#640) 2026-03-06 07:25:37 +07:00
qwasdrizzel
5d544bcb83 Fix for flying angle snapping (#641)
* Modify dispense behavior to set outcome as LEFT_ITEM

* Fix the angle problem with flying

Removed checks that limit flying to a 90 degree angle, which caused the problem.
2026-03-06 07:22:54 +07:00
AcTh2
75c4f51218 Close the villager trade gui when he dies (#637) 2026-03-06 07:00:04 +07:00
ModMaker101
eed770b121 Fixed boats falling and a TP glitch #266 (#615) 2026-03-05 16:07:47 -06:00
GuglioIsStupid
a0b2fe885d Fix compiling with cmake (#619) 2026-03-05 15:50:27 -06:00
EnderActually
cd3bb89317 Add issue templates again (#457)
* Update issue templates

* Update bug_report.md

* change to form

* Refactor bug report template

* Remove 'type' field from bug report template

Removed the 'type' field from the bug report template.

* Add final Fields

* remove invalid syntax

* Fix typo in bug report template for Debug label

* Change input types to textareas in bug report template

Fixes uploads with images and videos

* Change to form

* Update bug report template validations

Changed 'required' validation for additional context from true to false.

* Change feature request template to suggestion request

* fix title

* Refactor suggestion request template

Removed duplicate textarea for solution and updated title format.
2026-03-05 15:33:38 -06:00
catdbg
ee24488ab6 Fix audio settings resetting on launch (#610) 2026-03-05 15:09:36 -06:00
dtentiion
aadb511504 Fix save list, delete save, exit without saving, and blank username on Windows64 (#539)
* Fix world save rename not applying new name

KeyboardCompleteWorldNameCallback had no _WINDOWS64 branch, so the
typed name was validated then silently discarded on every rename attempt.

Write the new name to a worldname.txt sidecar file next to the save
(Windows64\GameHDD\{folder}\worldname.txt) and update the in-memory
display name immediately. ReadLevelNameFromSaveFile now checks for this
sidecar first so renamed saves persist correctly across restarts.

* Fixed gamertag being blank upon renaming and re-joining a save

* Save deletion fix, exiting without saving fix

* Add native in-game keyboard UI for world naming and renaming
2026-03-05 14:57:37 -06:00
Loki Rautio
f48a39ae3d Adjust github action for debug 2026-03-05 14:33:33 -06:00
Cristiandis
d3593f1df3 Trim newline characters from IP address (#600) 2026-03-05 14:27:08 -06:00
ModMaker101
7147dbad92 Fix debug build not working (#603) 2026-03-05 14:17:12 -06:00
Loki Rautio
9e52beaa9d Support debug compile test in PRs 2026-03-05 14:12:31 -06:00
Loki Rautio
f208a5c80e Add debug action 2026-03-05 14:11:04 -06:00
void_17
5c6f09f395 Forgot these AUTO_VAR macros too
Remove the remaining `AUTO_VAR` macros I forgot to remove
2026-03-06 02:46:20 +07:00
ModMaker101
cbcf3de358 Fix gamma slider via pixel shader #178 (#481)
* Fix gamma slider via pixel shader #178

* LCE-like gamma using postprocess shader
2026-03-06 02:41:17 +07:00
void_17
55231bb8d3 Remove AUTO_VAR macro and _toString function (#592) 2026-03-06 02:11:18 +07:00
Siepert
7d6658fe5b Add servers.txt so players can add an arbitrary amount of servers to the "Join Game" list (#478)
* Code to read servers.txt

* logging (still doesnt work)

* server names load properly hooray

* remove logger as it only spews out nonsense anyways

* Do not use _countof, use sizeof(label)/sizeof(wchar_t) or make label std::array<wchar_t, 128> and call .size()

* Fix memory leak by listing info pointers

* C++ style cast (i think)

* this throws a RAV but why

* why oh why

* I just assume infos get deleted elsewhere otherwise idk why it breaks no matter what i do

* they get deleted all this time ohhhhhh

---------

Co-authored-by: Siepert123 <createlegacy69@gmail.com>
2026-03-05 22:57:54 +07:00
Loki Rautio
a03c36f83f Update nightly description
Fix broken new lines. Oops, forgot this was yaml
2026-03-05 09:06:14 -06:00
Loki Rautio
1b69eef4b0 Update nightly description 2026-03-05 07:48:32 -06:00
Marlian
9c17f3473a Fix Ctrl-sprint not working while flying in creative mode (#563)
Remove the !player->abilities.flying guard that was incorrectly added around the Ctrl-sprint block in Input.cpp during the KBM refactor. This prevented Ctrl+W from initiating sprint while flying in creative mode. Sprinting on the ground in both survival and creative worked fine.

The sprint flag now sets correctly whenever Ctrl+W is held, including while flying. LocalPlayer::aiStep() still properly gates setSprinting() with onGround, enoughFoodToSprint, isUsingItem etc.

Fixes smartcmd/MinecraftConsoles#470
2026-03-05 07:39:11 -06:00
Loki Rautio
a37ebe221c Add Contributor's Guide, update README 2026-03-05 07:23:01 -06:00
Loki Rautio
23cb7de110 Add additional warnings and a field to PR template 2026-03-05 07:11:47 -06:00
Marlian
c236e46ef6 Fix music disc sound leaking across dimensions (#552)
Stop streaming music (jukebox) when the player changes dimensions so music disc sounds from the overworld cannot be heard in the nether or vice versa.

Previously, the streaming audio continued playing at its original world coordinates even after a dimension change, causing the sound to leak into the new dimension at the same position.

Fixes #411
2026-03-05 17:22:55 +07:00
GabsPuNs123
c2da9e90f8 Fix DLCs textures and update logo in 720p (#517)
* Fix DLCs textures and crash in 720p

* Revert "Fix DLCs textures and crash in 720p"

This reverts commit 7c38605360.

* Update Durango and Windows64 DLCs Textures also fix crash in 720p
2026-03-05 15:12:50 +07:00
void_17
8cb42a4806 Revert "Fix crash when launching at 720p" (#545) 2026-03-05 15:12:01 +07:00
Korean
8d5452679f Updated to work with KBM refactor (#507) 2026-03-05 14:48:06 +07:00
Marvelco
c77bb4dae4 fixed delay issue when breaking a block (#537) 2026-03-05 14:46:38 +07:00
qwasdrizzel
892a6056ea Modify dispense behavior to set outcome as LEFT_ITEM (#542) 2026-03-05 14:31:37 +07:00
disintegrate
33c798a885 Failsafe for signs if entered over max line length (#389)
* Failsafe for signs if entered over max line length

* Removed debug message.

* Revert "Removed debug message."

This reverts commit 553c436697.

* Update SignTileEntity.cpp

* Changed flag to _DEBUG
2026-03-05 14:30:56 +07:00
Portal
fcc9970ec6 Replace CopyAssets.cmake with multithreaded Robocopy (and rsync) implementation. (#410)
* Replace CopyAssets.cmake with Robocopy implementation.

* Replace CopyAssets.cmake with Robocopy implementation.
2026-03-05 14:30:22 +07:00
Alezito2008
053eb0119c Fix F3 opening host menu (#522)
* Fix debug menu opening game info menu

* remove redundant F4 handling
2026-03-05 14:26:19 +07:00
ModMaker101
91e50aa346 Fix animals stuck in panic state #514 (#519) 2026-03-05 14:23:56 +07:00
Siobhan 🏳️‍⚧️
981c87732c Restore the original follow range for Zombies and Withers (#510)
* Restore original follow range for Zombie

* Restore original WitherBoss follow range
2026-03-05 14:22:31 +07:00
Alezito2008
87e3bd193c Fix beacon crash (#512) 2026-03-05 14:17:17 +07:00
Skeagle
8cdbf08900 fix creeper model y offset (#504) 2026-03-05 14:16:18 +07:00