From 4d7a501943bb99f0f02a339128833f58ed37d0cc Mon Sep 17 00:00:00 2001 From: Alexander Medvedev Date: Sat, 19 Sep 2026 23:00:30 +0200 Subject: [PATCH] refactor: move multi-version to pumpkin-java-multiversion --- v0.1/bedrock-packets.wit | 12 ++++++++++-- v0.1/java-packets.wit | 34 ++++++++-------------------------- 2 files changed, 18 insertions(+), 28 deletions(-) diff --git a/v0.1/bedrock-packets.wit b/v0.1/bedrock-packets.wit index d53a84a..4c4c588 100644 --- a/v0.1/bedrock-packets.wit +++ b/v0.1/bedrock-packets.wit @@ -881,9 +881,17 @@ interface bedrock-packets { on-ground: bool, tick: s64, } - record item-descriptor-count { - item-identifier: string, + record recipe-item-descriptor-item { + identifier: string, metadata-value: s32, + } + variant recipe-item-descriptor { + empty, + item(recipe-item-descriptor-item), + tag(string), + } + record item-descriptor-count { + descriptor: recipe-item-descriptor, count: s32, } record recipe-unlock-requirement { diff --git a/v0.1/java-packets.wit b/v0.1/java-packets.wit index 8a8a8a1..06a2728 100644 --- a/v0.1/java-packets.wit +++ b/v0.1/java-packets.wit @@ -519,6 +519,9 @@ interface java-packets { channel: string, data: list, } + record config-c-config-post-effects { + effects: list, + } record config-c-registry-data { registry-id: string, entries: list, @@ -1228,6 +1231,9 @@ interface java-packets { yaw: f32, pitch: f32, } + record c-post-effects { + effects: list, + } record c-projectile-power { entity-id: s32, x-power: f64, @@ -1411,25 +1417,6 @@ interface java-packets { head-yaw: u8, data: s32, } - record c-spawn-living-entity { - entity-id: s32, - entity-uuid: uuid, - r-type: s32, - position: tuple, - yaw: u8, - pitch: u8, - head-yaw: u8, - velocity: string, - metadata: option>, - } - record c-spawn-painting { - entity-id: s32, - uuid: uuid, - title: string, - %variant: s32, - location: tuple, - direction: u8, - } record c-stop-sound { sound-id: option, category: option, @@ -1562,10 +1549,6 @@ interface java-packets { record c-update-tags-play { tags: list, } - record c-use-bed { - entity-id: s32, - location: tuple, - } enum waypoint-operation { track, untrack, @@ -1705,6 +1688,7 @@ interface java-packets { config-c-known-packs(config-c-known-packs), config-c-config-ping(config-c-config-ping), config-c-plugin-message(config-c-plugin-message), + config-c-config-post-effects(config-c-config-post-effects), config-c-registry-data(config-c-registry-data), config-c-config-remove-resource-pack(config-c-config-remove-resource-pack), config-c-config-reset-chat, @@ -1793,6 +1777,7 @@ interface java-packets { c-remove-player-info(c-remove-player-info), c-player-rotation(c-player-rotation), c-player-spawn-position(c-player-spawn-position), + c-post-effects(c-post-effects), c-projectile-power(c-projectile-power), c-recipe-book-add(c-recipe-book-add), c-recipe-book-remove(c-recipe-book-remove), @@ -1830,8 +1815,6 @@ interface java-packets { c-play-show-dialog(c-play-show-dialog), c-sound-effect(c-sound-effect), c-spawn-entity(c-spawn-entity), - c-spawn-living-entity(c-spawn-living-entity), - c-spawn-painting(c-spawn-painting), c-start-configuration, c-stop-sound(c-stop-sound), c-store-cookie(c-store-cookie), @@ -1854,7 +1837,6 @@ interface java-packets { c-update-objectives(c-update-objectives), c-update-recipes(c-update-recipes), c-update-score(c-update-score), - c-use-bed(c-use-bed), c-waypoint(c-waypoint), c-world-event(c-world-event), status-c-ping-response(status-c-ping-response),