From 2d4c725934df651c3027e7857f91b3ade9fc1743 Mon Sep 17 00:00:00 2001 From: rtm516 Date: Tue, 17 Mar 2026 22:36:52 +0000 Subject: [PATCH 1/2] Fix zip command when packaging release --- .github/workflows/nightly-server.yml | 6 +++--- .github/workflows/nightly.yml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/nightly-server.yml b/.github/workflows/nightly-server.yml index 23ea2cb7..5450de9a 100644 --- a/.github/workflows/nightly-server.yml +++ b/.github/workflows/nightly-server.yml @@ -50,7 +50,7 @@ jobs: buildPresetAdditionalArgs: "['--target', 'Minecraft.Server']" - name: Zip Build - run: 7z a -r LCEServer${{ matrix.platform }}.zip ./build/${{ env.MATRIX_PLATFORM }}/Minecraft.Server/Release/* -x!*.ipdb -x!*.iobj + run: 7z a -r LCEServer${{ matrix.platform }}.zip ./build/${{ env.MATRIX_PLATFORM }}/Minecraft.Server/Release/* "-x!*.ipdb" "-x!*.iobj" - name: Stage artifacts run: | @@ -93,7 +93,7 @@ jobs: files: | artifacts/* - docker-publish: + docker: name: Build and Push Docker Image runs-on: ubuntu-latest needs: build @@ -157,7 +157,7 @@ jobs: MC_RUNTIME_DIR=runtime cleanup: - needs: [build, release] + needs: [build, release, docker] if: always() runs-on: ubuntu-latest steps: diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 19f6e138..789db3e8 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -49,7 +49,7 @@ jobs: buildPresetAdditionalArgs: "['--target', 'Minecraft.Client']" - name: Zip Build - run: 7z a -r LCE${{ matrix.platform }}.zip ./build/${{ env.MATRIX_PLATFORM }}/Minecraft.Client/Release/* -x!*.ipdb -x!*.iobj + run: 7z a -r LCE${{ matrix.platform }}.zip ./build/${{ env.MATRIX_PLATFORM }}/Minecraft.Client/Release/* "-x!*.ipdb" "-x!*.iobj" - name: Stage artifacts run: | From 6dd9eb4890f1ee5fa5a3d8d02e4f0a42567d99f9 Mon Sep 17 00:00:00 2001 From: Xenovyy <135486168+Xenovyy@users.noreply.github.com> Date: Tue, 17 Mar 2026 18:44:12 -0400 Subject: [PATCH 2/2] Fixed the ear bleeding sound when using a slider with mouse controls (#1296) * Fixed the ear bleeding sound when using a slider with mouse controls Now only ticks every 9 "ticks" unless the slider has less than 18 possible values.. * cured rtm516's ocd title * rtm516 reaches enlightenment * rtm516 reaches total enlightenment --- .../Common/UI/UIControl_Slider.cpp | 36 +++++++++++++++++-- 1 file changed, 34 insertions(+), 2 deletions(-) diff --git a/Minecraft.Client/Common/UI/UIControl_Slider.cpp b/Minecraft.Client/Common/UI/UIControl_Slider.cpp index 2d56a29c..c9b773a7 100644 --- a/Minecraft.Client/Common/UI/UIControl_Slider.cpp +++ b/Minecraft.Client/Common/UI/UIControl_Slider.cpp @@ -66,12 +66,44 @@ void UIControl_Slider::init(UIString label, int id, int min, int max, int curren #endif } +bool IsUsingKeyboardMouse() +{ +#ifdef _WINDOWS64 + + if (g_KBMInput.IsKBMActive()) return true; + + return g_KBMInput.HasAnyInput(); +#else + return false; +#endif +} + void UIControl_Slider::handleSliderMove(int newValue) { if (m_current!=newValue) { - ui.PlayUISFX(eSFX_Scroll); - m_current = newValue; + int valueCount = 1; + if (!m_allPossibleLabels.empty()) { + valueCount = static_cast(m_allPossibleLabels.size()); + } + else { + long long range = static_cast(m_max) - static_cast(m_min) + 1; + if (range <= 0) range = 1; + valueCount = static_cast(range); + } + + if (IsUsingKeyboardMouse() == true) { + if (newValue % 10 == 0) { + ui.PlayUISFX(eSFX_Scroll); + m_current = newValue; + } else if (valueCount <= 20) { + ui.PlayUISFX(eSFX_Scroll); + m_current = newValue; + } + } else { + ui.PlayUISFX(eSFX_Scroll); + m_current = newValue; + } if(newValue < m_allPossibleLabels.size()) {