Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
180 commits
Select commit Hold shift + click to select a range
d842ea1
use new registry
JackCrumpLeys Aug 25, 2024
53db823
push what I have done so far
JackCrumpLeys Oct 13, 2024
75fa04b
some progress
lukashermansson Oct 13, 2024
a808bde
more packet renames to be up to date
lukashermansson Oct 14, 2024
d98436c
more packets, the particle packet...
lukashermansson Oct 15, 2024
e57aedf
more packets
lukashermansson Oct 17, 2024
6a74350
all packets
lukashermansson Oct 23, 2024
aaf4bdd
bunch of more progress
lukashermansson Oct 23, 2024
f93ae28
fixes
lukashermansson Oct 23, 2024
221f853
fix a test that was not updated with the change from uuid
lukashermansson Oct 23, 2024
ac7d419
bunch of progress
lukashermansson Oct 24, 2024
3a1d7ec
more fixes
lukashermansson Oct 24, 2024
ca53a89
fixes
lukashermansson Oct 24, 2024
494b45b
skip client packets
lukashermansson Oct 24, 2024
4ae6437
many fixes
lukashermansson Oct 25, 2024
30e8448
todays work
JackCrumpLeys Nov 14, 2024
7b5a84b
IT COMPILES.
JackCrumpLeys Nov 14, 2024
3ec45ed
Start workiong towards 1.21.3 (extractor working but still need to do…
JackCrumpLeys Nov 15, 2024
c4a7599
some work on 1.21.3 new packets and extractor
JackCrumpLeys Nov 19, 2024
e475fe9
todays work
JackCrumpLeys Nov 20, 2024
54c5bfa
almost working
alice39 Nov 20, 2024
16462b5
server and client finish the login and configuration phase
alice39 Nov 21, 2024
913481e
doing some item stuff
JackCrumpLeys Nov 22, 2024
e8a0bd9
fix: initial join was sending biomes names instead of dimension names
alice39 Nov 22, 2024
b87782f
fix: level_chunk_with_light expects a compound with no root name
alice39 Nov 22, 2024
ea33c30
fix: add missing particle mode field in client_information_c2s play
alice39 Nov 22, 2024
75c799a
fix: client was waiting for game event "start_waiting_for_level_chunks"
alice39 Nov 22, 2024
6ce0771
fix(teleport): implement velocity in updating player position
alice39 Nov 22, 2024
9841027
todays work
JackCrumpLeys Nov 23, 2024
6375546
todays work
JackCrumpLeys Nov 25, 2024
1a2f023
todays work
JackCrumpLeys Dec 1, 2024
d49dde2
commit failed packets (whoops)
JackCrumpLeys Dec 15, 2024
8d3523c
updates
JackCrumpLeys Jan 8, 2025
523161b
ignore
JackCrumpLeys Jan 7, 2025
0f56109
fix generator
JackCrumpLeys Jan 7, 2025
ccaab30
fixup nbt exports
JackCrumpLeys Jan 7, 2025
ee61b2f
fix
JackCrumpLeys Jan 7, 2025
e5687c1
work
JackCrumpLeys Jan 8, 2025
19d2502
fix_item
Feb 17, 2025
88a4920
Refactor RgbColor to use bitfield
SelfMadeSystem Feb 19, 2025
673379a
Refactor RgbColor encoding and decoding
SelfMadeSystem Feb 19, 2025
ffb4af7
a bit of cleanup
SelfMadeSystem Feb 19, 2025
3a04c6d
Cleanup Java
SelfMadeSystem Feb 20, 2025
d77dd09
Cleanup unused imports in packet inspector module
SelfMadeSystem Feb 20, 2025
70d1a82
Remove redundant utils module from packet inspector
SelfMadeSystem Feb 20, 2025
7fbef0f
remove lifetime param from item
JackCrumpLeys Feb 24, 2025
c1438ee
readd Default to Itemstack + use SoundId::Inline
maxomatic458 Mar 3, 2025
275cb92
fix recursion in ItemComponent (fix from szymzal, valence dc)
maxomatic458 Mar 3, 2025
07b8c26
bump version to 1.21.4
maxomatic458 Mar 3, 2025
4733fad
update to 1.21.5+ run extractor
maxomatic458 Jun 3, 2025
a9988cf
fix extractor + start fixing packets
maxomatic458 Jun 9, 2025
a233860
fix JsonText instead of Text
maxomatic458 Jun 9, 2025
843bd9e
cargo fmt
maxomatic458 Jun 9, 2025
feb1dc1
fix packets + examples + clippy + fmt
maxomatic458 Jun 10, 2025
89e0668
fix chat_c2s, client_information, redo encoding of Heightmap
maxomatic458 Jun 10, 2025
c5928ef
add section light support
maxomatic458 Jun 10, 2025
667f7d5
add new test block packets
maxomatic458 Jun 10, 2025
bd0a462
set view-distance on first login
maxomatic458 Jun 10, 2025
060c785
update advancement example
maxomatic458 Jun 10, 2025
9405ac6
send correct registries + support for biome data
maxomatic458 Jun 11, 2025
2a75c48
clippy lints
maxomatic458 Jun 11, 2025
2ad0e4a
fix tests + doctests
maxomatic458 Jun 11, 2025
887dee0
remove logging + allow DUMMY block entity
maxomatic458 Jun 11, 2025
b88568b
enable compression for bench_players example
maxomatic458 Jun 13, 2025
925ad97
fix block entity example + fix text events
maxomatic458 Jun 13, 2025
9218a16
fix encoding of item components
maxomatic458 Jun 16, 2025
2acfd14
fix Text decoding
maxomatic458 Jun 17, 2025
126248c
fix respawn packet / death example
maxomatic458 Jun 19, 2025
388fd59
start work on item component hashing
maxomatic458 Jun 20, 2025
cdf010e
fix some itemcomponents + add hashing tests for the future
maxomatic458 Jun 21, 2025
2a09ed7
fix encoding for IdOr
maxomatic458 Jun 30, 2025
d3bb6cd
fix & update particles remove temp hash tests
maxomatic458 Jun 30, 2025
e4d78db
update signs in weather example
maxomatic458 Jul 1, 2025
67d1e23
add initial support for `ChatCommandSignedC2s`
maxomatic458 Jul 10, 2025
a3eec43
change format of saved item components
maxomatic458 Jul 21, 2025
a1f5a7c
fix rust analyzer lint
maxomatic458 Aug 28, 2025
937b170
start working on updated click validation
maxomatic458 Sep 1, 2025
bd46017
some more validation stuff
maxomatic458 Sep 1, 2025
c2ba9f8
first implementation of item component "unhashing"
maxomatic458 Dec 24, 2025
bbca504
overhaul item component stu and impl decode+encode
JackCrumpLeys Jan 3, 2026
747c8de
Heavy WIP. cleaining up bad packets
JackCrumpLeys Jan 6, 2026
46f926b
todays work. last packet fixes
JackCrumpLeys Jan 7, 2026
19ebd76
cargo clippy + cargo fmt
JackCrumpLeys Jan 7, 2026
4073979
todays work
JackCrumpLeys Jan 7, 2026
3ec5681
fix inventory tests
maxomatic458 Jan 7, 2026
522105d
add item components to inventory tests
maxomatic458 Jan 7, 2026
290f104
fix bug in valence weather
maxomatic458 Jan 7, 2026
06d2d2e
Cargo clippy && cargo fmt && cargo test && cargo bench
JackCrumpLeys Jan 8, 2026
6a6fe65
few more fixes
JackCrumpLeys Jan 8, 2026
763c3d8
cargo fmt && cargo clippy --fix
JackCrumpLeys Jan 8, 2026
7d7abbb
fix ci issues
JackCrumpLeys Jan 8, 2026
98e3ca3
filter out large json diffs
JackCrumpLeys Jan 8, 2026
6d51ad4
fix swapped chunk pos encoding
maxomatic458 Jan 8, 2026
cce6033
fix ci
maxomatic458 Jan 9, 2026
daf9cac
fix respawning
maxomatic458 Jan 10, 2026
1a60c38
Fix signs in CTF gamemode
SelfMadeSystem Jan 11, 2026
5455d24
better text component encoding and decoding
JackCrumpLeys Jan 11, 2026
ab1933f
update advancement display description to use correct field and remov…
SelfMadeSystem Jan 11, 2026
4399e27
fixed various bugs in the CTF gamemode
SelfMadeSystem Jan 12, 2026
d3a0e53
enhance documentation for Aabb intersection methods as per recommenda…
SelfMadeSystem Jan 12, 2026
2df03b6
fix item drag
maxomatic458 Jan 12, 2026
7dea5f0
fmt + clippy + fix imports
maxomatic458 Jan 12, 2026
b70659b
remove print
maxomatic458 Jan 12, 2026
e54031b
remove components
maxomatic458 Jan 12, 2026
ec31752
create `valence_item` and `valence_binary` crates
maxomatic458 Jan 12, 2026
4fdcbfc
move Packet back to valence_protocol
maxomatic458 Jan 12, 2026
a8b5768
sort dependencies alphabetically
maxomatic458 Jan 12, 2026
8ee31c4
remove comment
maxomatic458 Jan 12, 2026
4aa1105
remove comments
maxomatic458 Jan 12, 2026
295b0fc
split item lib.rs file
maxomatic458 Jan 12, 2026
19542cc
fix fmt ci
maxomatic458 Jan 12, 2026
d00dac6
fix clippy
maxomatic458 Jan 12, 2026
0b7eeac
fix clippy fr
maxomatic458 Jan 12, 2026
9ee9572
fix valence_nbt test
JackCrumpLeys Jan 16, 2026
57b175d
Fix tests + move stuff to valence_binary
JackCrumpLeys Jan 16, 2026
dfcb25e
fix surface level issues with the rebase.
JackCrumpLeys Jan 16, 2026
a28a292
fixed Equiptment::clear to mark changed
JackCrumpLeys Jan 16, 2026
6ce9399
fix doc
JackCrumpLeys Jan 16, 2026
47ab107
small fixes
JackCrumpLeys Jan 17, 2026
3cc32ae
work. Very WIP and not compiling
JackCrumpLeys Jan 28, 2026
34401a3
valence_item compiles.
JackCrumpLeys Feb 5, 2026
f1de1c5
Revert "valence_item compiles."
JackCrumpLeys Feb 27, 2026
c29e3fb
Revert "work. Very WIP and not compiling"
JackCrumpLeys Feb 27, 2026
b4ecaab
Fix compressions threshold race in packet_inspector that was causing the
jobpaardekooper Mar 7, 2026
52865c6
Remove left over threshold lines in packet_io.rs
jobpaardekooper Mar 7, 2026
74d66bd
Fix rust version in ci
JackCrumpLeys Mar 7, 2026
0a2a64c
Merge pull request #18 from jobpaardekooper/update-minecraft-1.21
JackCrumpLeys Mar 7, 2026
aeb829b
add rustfmt to clippy ci job
JackCrumpLeys Mar 7, 2026
a555ea7
Move rand to dev-dependencies of valence_binary
jobpaardekooper Mar 8, 2026
0a51295
Change depricated udeps --all option to --workspace
jobpaardekooper Mar 8, 2026
40bd57f
Merge pull request #19 from jobpaardekooper/1-21-5/fix-udeps-ci
JackCrumpLeys Mar 8, 2026
1403faf
Rework chunk light storage
jobpaardekooper Mar 8, 2026
b466a69
Update HeightMap to 1.21.5
jobpaardekooper Mar 8, 2026
3e35452
Update default capacities of sky_light_arrays and block_light_arrays
jobpaardekooper Mar 8, 2026
2b61ee5
Remove dimension ambient_light hack since we *should* now have "proper"
jobpaardekooper Mar 8, 2026
5194516
Re-enable light "hack" but in the LoadedChunk implementation since we
jobpaardekooper Mar 8, 2026
397347d
Optimize storage of light data
jobpaardekooper Mar 8, 2026
37530f9
Move comments and fix actual CI benchmark (but with a world that is
jobpaardekooper Mar 8, 2026
99f8c6a
Revert "Remove dimension ambient_light hack since we *should* now hav…
jobpaardekooper Mar 8, 2026
901e268
Format code
jobpaardekooper Mar 8, 2026
97184df
Fix clippy warnings
jobpaardekooper Mar 8, 2026
1d8c63c
Update depgraph.svg
jobpaardekooper Mar 8, 2026
c58910c
Replace Single(u8) with FullyDark in LightSection enum
jobpaardekooper Mar 8, 2026
bc62b7e
Change sky_light_sections default
jobpaardekooper Mar 15, 2026
5f3117d
Add back comment for calculating the motion_blocking heightmap
jobpaardekooper Mar 15, 2026
aec0552
Make heightmap helpers documented and public
jobpaardekooper Mar 15, 2026
0b3e979
Remove TODO in `LightUpdateS2c`
jobpaardekooper Mar 15, 2026
8094052
Fix clippy
jobpaardekooper Mar 15, 2026
97fe2dd
Merge pull request #20 from jobpaardekooper/1-21-5/fix-bench-test
JackCrumpLeys Mar 15, 2026
0ab735c
Fix text TextComponent and OptionalTextComponent entity metadata
jobpaardekooper Mar 9, 2026
4db3bdd
Update entity poses to 1.21.5
jobpaardekooper Mar 9, 2026
3ebc3f9
Initial entity metadata example (poses only)
jobpaardekooper Mar 9, 2026
c50aec6
Fix mob rotation in `entity_metadata` example
jobpaardekooper Mar 9, 2026
d01cc3e
Entity updates such as: updating entity variants (painting, cat, etc),
jobpaardekooper Mar 9, 2026
11bab82
Add cats and enderman to the entity_metadata example and disabled
jobpaardekooper Mar 9, 2026
6147bf7
Fix painting serialization
jobpaardekooper Mar 9, 2026
91e43f2
Add paintings back to the entity_metadata example
jobpaardekooper Mar 9, 2026
9d2fe4c
Update entity_metadata.rs
jobpaardekooper Mar 10, 2026
20c6558
Format
jobpaardekooper Mar 10, 2026
1f34cc0
Fix clippy
jobpaardekooper Mar 10, 2026
206f3c3
Initial test IdOr<PaintingVariantDefinition> imlementation
jobpaardekooper Mar 14, 2026
6558030
Fix some items disappearing on inventory clicks
jobpaardekooper Mar 14, 2026
40c8302
-999 slot index to -> `SLOT_OUTSIDE_INVENTORY` constant
jobpaardekooper Mar 15, 2026
0d525da
Merge pull request #22 from jobpaardekooper/1-21-5/inventory-fixes
JackCrumpLeys Mar 15, 2026
198cf63
Merge pull request #21 from jobpaardekooper/1-21-5/update-entity-crate
JackCrumpLeys Mar 15, 2026
de42162
Fix flaky inventory tests and add back commented out inventory tests
jobpaardekooper Mar 15, 2026
4beda66
Merge pull request #23 from jobpaardekooper/1-21-5/fix-flaky-inventor…
JackCrumpLeys Mar 16, 2026
32f4c12
small fixes in packet defs
JackCrumpLeys Mar 21, 2026
8afdf66
Add placeholder for hat
JackCrumpLeys Mar 21, 2026
4a808d4
add better bench profile
JackCrumpLeys Mar 21, 2026
49f6bda
update item_component example + fix `ItemComponent::Equippable`, `Sou…
maxomatic458 Mar 28, 2026
0919533
fix clippy
maxomatic458 Mar 28, 2026
5ede036
update type
maxomatic458 Mar 28, 2026
e3cdbb6
Merge pull request #24 from maxomatic458/improve-itemcomponent-example
JackCrumpLeys Mar 29, 2026
694ef45
fix valence_item export
maxomatic458 Mar 29, 2026
637ec6e
update example
maxomatic458 Mar 29, 2026
e822b40
Merge pull request #25 from maxomatic458/fix-valence-item-export
JackCrumpLeys Mar 29, 2026
1a70f64
Fix disconnection when joining with modern player information forwarding
Cheezer1656 Apr 3, 2026
c024c28
Use old ordering when connection mode isn't Velocity
Cheezer1656 Apr 3, 2026
bf3d2c5
Merge pull request #26 from Cheezer1656/1.21-proxy-fix
JackCrumpLeys Apr 6, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.json -diff
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Setup Rust toolchain and cache
uses: actions-rust-lang/setup-rust-toolchain@v1.9.0
with:
toolchain: "1.87.0"
toolchain: "1.92.0"
components: "rustfmt"

- name: Copy playground
Expand Down Expand Up @@ -69,8 +69,8 @@ jobs:
- name: Setup Rust toolchain and cache
uses: actions-rust-lang/setup-rust-toolchain@v1.9.0
with:
toolchain: "1.87.0"
components: "clippy"
toolchain: "1.92.0"
components: "clippy, rustfmt"

- name: Copy playground
run: cp tools/playground/src/playground.template.rs tools/playground/src/playground.rs
Expand Down Expand Up @@ -185,7 +185,7 @@ jobs:

<details>
<summary>depgraph.svg (Don't forget the trailing newline)</summary>

\`\`\`html
$(cat assets/depgraph.svg)

Expand Down Expand Up @@ -225,4 +225,4 @@ jobs:
crate: cargo-udeps

- name: Check for unused dependencies
run: cargo udeps --all --all-features
run: cargo udeps --workspace --all-features
12 changes: 12 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,15 @@ flamegraph*.svg
perf.data
perf.data.old
/graph.svg

extractor/.classpath

extractor/.factorypath

extractor/.project

extractor/.settings/org.eclipse.buildship.core.prefs

extractor/.settings/org.eclipse.jdt.apt.core.prefs

extractor/.settings/org.eclipse.jdt.core.prefs
57 changes: 36 additions & 21 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,19 @@ workspace = true

[features]
default = [
"advancement",
"anvil",
"boss_bar",
"equipment",
"inventory",
"log",
"network",
"player_list",
"scoreboard",
"world_border",
"command",
"weather",
"testing",
"advancement",
"anvil",
"boss_bar",
"command",
"equipment",
"inventory",
"log",
"network",
"player_list",
"scoreboard",
"testing",
"weather",
"world_border",
]
advancement = ["dep:valence_advancement"]
anvil = ["dep:valence_anvil"]
Expand All @@ -54,15 +54,17 @@ rand.workspace = true
uuid.workspace = true
valence_advancement = { workspace = true, optional = true }
valence_anvil = { workspace = true, optional = true, features = [
"bevy_plugin",
"bevy_plugin",
] }
valence_binary.workspace = true
valence_boss_bar = { workspace = true, optional = true }
valence_command = { workspace = true, optional = true }
valence_command_macros = { workspace = true, optional = true }
valence_ident_macros.workspace = true
valence_ident.workspace = true
valence_equipment = { workspace = true, optional = true }
valence_ident_macros.workspace = true
valence_inventory = { workspace = true, optional = true }
valence_item.workspace = true
valence_lang.workspace = true
valence_network = { workspace = true, optional = true }
valence_player_list = { workspace = true, optional = true }
Expand All @@ -78,7 +80,7 @@ anyhow.workspace = true
clap.workspace = true
divan.workspace = true
flume.workspace = true
noise.workspace = true # For the terrain example.
noise.workspace = true # For the terrain example.
tracing.workspace = true

[dev-dependencies.reqwest]
Expand All @@ -96,6 +98,14 @@ opt-level = 3
[profile.dev]
opt-level = 1

[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
panic = "abort"
strip = true


[workspace]
members = ["crates/*", "tools/*"]
exclude = []
Expand All @@ -119,9 +129,11 @@ base64 = "0.22.1"
bevy_app = { version = "0.14.2", default-features = false }
bevy_derive = "0.14.2"
bevy_ecs = { version = "0.14.2", default-features = false, features = [
"multi_threaded",
"multi_threaded",
] }
bevy_hierarchy = { version = "0.14.2", default-features = false, features = [
"bevy_app",
] }
bevy_hierarchy = { version = "0.14.2", default-features = false, features = ["bevy_app"] }
bevy_log = { version = "0.14.2" }
bevy_mod_debugdump = { version = "0.11.1" }
bevy_utils = { version = "0.14.2" }
Expand Down Expand Up @@ -183,24 +195,27 @@ toml = "0.8.19"
tracing = "0.1.40"
tracing-subscriber = "0.3.18"
url = { version = "2.5.2", features = ["serde"] }
uuid = "1.10.0"
uuid = { version = "1.10.0", features = ["v4"] }
valence = { path = ".", version = "0.2.0-alpha.1" }
valence_advancement = { path = "crates/valence_advancement", version = "0.2.0-alpha.1" }
valence_anvil = { path = "crates/valence_anvil", version = "0.1.0" }
valence_boss_bar = { path = "crates/valence_boss_bar", version = "0.2.0-alpha.1" }
valence_build_utils = { path = "crates/valence_build_utils", version = "0.2.0-alpha.1" }
valence_command = { path = "crates/valence_command", version = "0.2.0-alpha.1" }
valence_command_macros = { path = "crates/valence_command_macros", version = "0.2.0-alpha.1" }
valence_binary = { path = "crates/valence_binary", version = "0.2.0-alpha.1" }
valence_entity = { path = "crates/valence_entity", version = "0.2.0-alpha.1" }
valence_generated = { path = "crates/valence_generated", version = "0.2.0-alpha.1" }
valence_item = { path = "crates/valence_item", version = "0.2.0-alpha.1" }
valence_ident = { path = "crates/valence_ident", version = "0.2.0-alpha.1" }
valence_ident_macros = { path = "crates/valence_ident_macros", version = "0.2.0-alpha.1" }
valence_equipment = { path = "crates/valence_equipment", version = "0.2.0-alpha.1" }
valence_inventory = { path = "crates/valence_inventory", version = "0.2.0-alpha.1" }
valence_lang = { path = "crates/valence_lang", version = "0.2.0-alpha.1" }
valence_math = { path = "crates/valence_math", version = "0.2.0-alpha.1" }
valence_nbt = { path = "crates/valence_nbt", features = [
"uuid",
"uuid",
"serde",
], version = "0.8.0" }
valence_network = { path = "crates/valence_network", version = "0.2.0-alpha.1" }
valence_player_list = { path = "crates/valence_player_list", version = "0.2.0-alpha.1" }
Expand All @@ -215,6 +230,7 @@ valence_weather = { path = "crates/valence_weather", version = "0.2.0-alpha.1" }
valence_world_border = { path = "crates/valence_world_border", version = "0.2.0-alpha.1" }
vek = "0.17.1"
zip = "2.2.0"
crc32c = "0.6.8"

[workspace.lints.rust]
# missing_debug_implementations = "warn" # TODO: enable me.`
Expand Down Expand Up @@ -300,7 +316,6 @@ rest_pat_in_fully_bound_structs = "warn"
semicolon_outside_block = "warn"
str_to_string = "warn"
string_lit_chars_any = "warn"
string_to_string = "warn"
struct_field_names = "warn"
tests_outside_test_module = "warn"
# todo = "warn"
Expand Down
Loading
Loading