-
Notifications
You must be signed in to change notification settings - Fork 3
Comparing changes
Open a pull request
base repository: EndstoneMC/endweave
base: v0.1.0
head repository: EndstoneMC/endweave
compare: v0.2.0
- 16 commits
- 44 files changed
- 1 contributor
Commits on Mar 21, 2026
-
Add rewriters for Data-Driven UI packets (333, 334)
v944 added FormId and DataInstanceId fields to ShowScreen (333), and replaced the empty CloseAllScreens (334) with CloseScreen which has a FormId field. Append default uint32 values so v944 clients can deserialize v924 server payloads.
Configuration menu - View commit details
-
Copy full SHA for 5fca1a4 - Browse repository at this point
Copy the full SHA 5fca1a4View commit details -
Add ConnectionState, type-keyed storage, and active flag to UserConne…
…ction Align with ViaVersion's UserConnectionImpl: - ConnectionState enum (HANDSHAKE/LOGIN/PLAY) for lifecycle tracking - Type-keyed storage (get/put/has/remove) for per-connection state - active and pending_disconnect flags - clear_storage() on connection removal to prevent leaks
Configuration menu - View commit details
-
Copy full SHA for ec23ae2 - Browse repository at this point
Copy the full SHA ec23ae2View commit details -
Add Protocol.init/name and base protocol state transitions
Align with ViaVersion's Protocol and InitialBaseProtocol: - Protocol.init(connection) hook called once per connection - Protocol.name for error context identification - Base protocol transitions: HANDSHAKE->LOGIN on RequestNetworkSettings, LOGIN->PLAY on StartGame, pending_disconnect on Disconnect - Client protocol detection log downgraded to debug level
Configuration menu - View commit details
-
Copy full SHA for 1c6ce2e - Browse repository at this point
Copy the full SHA 1c6ce2eView commit details -
Add DebugHandler and InformativeException
Align with ViaVersion's debug and error infrastructure: - DebugHandler with per-packet-ID filtering and pre/post transform phases - ViaVersion-style log format: STAGE: ADDRESS DIRECTION STATE: LABEL [VER] SIZEb - InformativeException with fluent .set(key, value) context accumulation
Configuration menu - View commit details
-
Copy full SHA for 636b32b - Browse repository at this point
Copy the full SHA 636b32bView commit details -
Align pipeline with ViaVersion's ProtocolPipelineImpl
- Pre/post transform debug logging with DebugHandler - InformativeException for structured error context on handler failures - Clientbound fast-path uses connection.active (not needs_translation) - Call protocol.init() on chain resolution, set active=True after - Log supported client version range at startup - Add debug config options for packet filtering and post-transform logging
Configuration menu - View commit details
-
Copy full SHA for 40e6851 - Browse repository at this point
Copy the full SHA 40e6851View commit details -
Extract shared rewriter helpers to protocol/rewriter.py
Move net_to_block, block_to_net, passthrough_inventory_action, and passthrough_structure_settings out of block_pos.py into a shared module for reuse across version-specific protocol handlers.
Configuration menu - View commit details
-
Copy full SHA for 2f62293 - Browse repository at this point
Copy the full SHA 2f62293View commit details -
Add LevelSoundEvent remapping for v924 to v944
v944 added PauseGrowth (597) and ResetGrowth (598), displacing Undefined from 597 to 599. Remap event IDs >= 597 by +2 in: - LevelSoundEventPacket (123) Event ID field - ActorData HEARTBEAT_SOUND_EVENT (key 126) in AddActor, AddItemActor, AddPlayer, and SetActorData packets Add passthrough_actor_data() helper to rewriter.py for iterating and selectively remapping entity metadata entries.
Configuration menu - View commit details
-
Copy full SHA for e257ead - Browse repository at this point
Copy the full SHA e257eadView commit details -
Replace bytes_type with UUID constant
Add a fixed UUID type (16 bytes) to the codec and remove the generic bytes_type factory function.
Configuration menu - View commit details
-
Copy full SHA for cb40875 - Browse repository at this point
Copy the full SHA cb40875View commit details -
Standardize field comments to match v924_packets.json
Update all inline comments next to wrapper.passthrough/read/write calls to use the exact field names from data/v924_packets.json. Remove redundant field layout lists from handler docstrings. Add CLAUDE.md rule for consistent field naming.
Configuration menu - View commit details
-
Copy full SHA for e913a03 - Browse repository at this point
Copy the full SHA e913a03View commit details -
Fix generic type hints in PacketWrapper and standardize TypeVar naming
Make passthrough/read/write generic so return types flow from Type[_T] parameter instead of returning opaque object. Rename T to _T consistently across connection.py and primitives.py. Annotate _ACTOR_DATA_TYPES as dict[int, Type[Any]] and use Mapping for int_remappers to satisfy mypy variance checks.
Configuration menu - View commit details
-
Copy full SHA for 202157c - Browse repository at this point
Copy the full SHA 202157cView commit details -
Add bStats metrics integration and changelog rule
Initialize endstone.metrics with service ID 30345. Add CLAUDE.md rule to maintain a keepachangelog-style CHANGELOG.md.
Configuration menu - View commit details
-
Copy full SHA for 2b912b0 - Browse repository at this point
Copy the full SHA 2b912b0View commit details -
Configuration menu - View commit details
-
Copy full SHA for b5e33d3 - Browse repository at this point
Copy the full SHA b5e33d3View commit details -
Configuration menu - View commit details
-
Copy full SHA for b01480d - Browse repository at this point
Copy the full SHA b01480dView commit details -
Refactor docstrings to See Also references, add ruff config, lint
Replace ViaVersion prose in docstrings with See Also references pointing to specific ViaVersion Java class/method paths. Add ruff config (line-length 120, select I/E/F) and apply formatting.
Configuration menu - View commit details
-
Copy full SHA for af2b3fe - Browse repository at this point
Copy the full SHA af2b3feView commit details -
Pythonic refactoring: properties, type hints, and naming
Convert Java-style getters to properties: user, has_remaining, remaining, message, base_protocols. Add strict mypy config and fix all strict-mode errors. Rename long -> int64 in codec. Fix alias naming inconsistency in block_pos. Simplify get_max_client_version with max(). Add missing type hint on _get_chain.
Configuration menu - View commit details
-
Copy full SHA for e23905f - Browse repository at this point
Copy the full SHA e23905fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c6249a - Browse repository at this point
Copy the full SHA 4c6249aView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v0.1.0...v0.2.0