Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: EndstoneMC/endweave
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.3.0
Choose a base ref
...
head repository: EndstoneMC/endweave
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.3.1
Choose a head ref
  • 6 commits
  • 38 files changed
  • 3 contributors

Commits on Mar 30, 2026

  1. Use server.protocol_version for direct protocol detection

    Replaces string-based version lookup (_normalize_mc_version +
    get_version_by_name) with Endstone's integer protocol_version API,
    fixing detection on unlisted hotfix releases (e.g. 1.26.11).
    Extracts EndweaveMetrics to its own module.
    wu-vincent committed Mar 30, 2026
    Configuration menu
    Copy the full SHA
    0c38263 View commit details
    Browse the repository at this point in the history
  2. Bump pygments from 2.19.2 to 2.20.0 (#8)

    Bumps [pygments](https://github.com/pygments/pygments) from 2.19.2 to 2.20.0.
    - [Release notes](https://github.com/pygments/pygments/releases)
    - [Changelog](https://github.com/pygments/pygments/blob/master/CHANGES)
    - [Commits](pygments/pygments@2.19.2...2.20.0)
    
    ---
    updated-dependencies:
    - dependency-name: pygments
      dependency-version: 2.20.0
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Mar 30, 2026
    Configuration menu
    Copy the full SHA
    2b98702 View commit details
    Browse the repository at this point in the history

Commits on Mar 31, 2026

  1. Add LevelSoundEvent and ActorDataIDs enums, fix sound remapping bugs

    - Add LevelSoundEvent IntEnum (570+ entries from BDS headers) with
      version-specific UNDEFINED_V860/V898/V924/V944 aliases
    - Add ActorDataIDs IntEnum from BDS headers
    - Fix heartbeat ActorData key (was 127/PLAYER_LAST_DEATH_POS, now
      correctly 126/HEARTBEAT_SOUND_EVENT) in v860/v898/v924 protocols
    - Fix v898->v860 sound fallback returning out-of-range ID 578 instead
      of v860 Undefined (566)
    - Add missing v898->v924 sound remap (v898 Undefined was incorrectly
      mapping to SaddleInWater)
    - Replace all magic numbers with enum constants
    - Add tests for all 6 remap directions (24 total)
    wu-vincent committed Mar 31, 2026
    Configuration menu
    Copy the full SHA
    cbe7cb9 View commit details
    Browse the repository at this point in the history
  2. Add LevelSettings type to replace StartGame boilerplate

    Version-parameterized Type with read/write for the full LevelSettings
    struct (Seed through DisablePlayerInteractions). Three variants handle
    encoding differences:
    - LEVEL_SETTINGS_V860: UVAR_INT DefaultSpawn Y, EXPERIMENTS_V860
    - LEVEL_SETTINGS_V924: UVAR_INT DefaultSpawn Y, EXPERIMENTS
    - LEVEL_SETTINGS_V944: VAR_INT DefaultSpawn Y, EXPERIMENTS
    
    All 6 start_game handlers now use passthrough/map instead of ~40
    individual field calls. Also fixes override_force_experimental encoding
    to use OptionalType(BOOL) consistently per BDS headers.
    wu-vincent committed Mar 31, 2026
    Configuration menu
    Copy the full SHA
    3167e07 View commit details
    Browse the repository at this point in the history
  3. Code quality improvements from audit

    - Remove _E = enum.IntEnum alias, inline type[enum.IntEnum]
    - Fix override_force_experimental type annotation (Any -> bool | None)
    - Extract _RULE_VALUE_TYPES dict to deduplicate GameRules read/write
    - Parameterize _ExperimentsType with count_type instead of two classes
    - Add section comments to all protocol.py files
    - Add docstring to v898_to_v860 text handler reexport
    - Convert plugin protocol registration to loop
    - Add tests/conftest.py with shared fixtures
    - Add "W" (warnings) to ruff lint config
    - Add [tool.pytest.ini_options] to pyproject.toml
    wu-vincent committed Mar 31, 2026
    Configuration menu
    Copy the full SHA
    d1c1f56 View commit details
    Browse the repository at this point in the history
  4. Release 0.3.1

    github-actions[bot] committed Mar 31, 2026
    Configuration menu
    Copy the full SHA
    08067ab View commit details
    Browse the repository at this point in the history
Loading