feat(26.3) Port to 26.3 (#3495)

* 26.3 Datapack

* Port to 26.3

* happy clippy

* Fixed Codgen.

* Happy Nextest

* Sign Fix

* 26.3 Bedrock files (Provided by QuantumSegfault)

* Fixes:
- Polar Biomes
- Recipe book
- Bit set
- Confirm Teleport
This commit is contained in:
Midnight 2026-09-18 19:27:21 +01:00 committed by GitHub
parent 2366bb9edb
commit 64f46108e7
10 changed files with 81 additions and 6 deletions

View File

@ -174,13 +174,17 @@ interface bedrock-packets {
old-item: network-item-descriptor, old-item: network-item-descriptor,
new-item: network-item-descriptor, new-item: network-item-descriptor,
} }
enum hand-slot {
mainhand,
offhand,
}
record use-item-transaction-data { record use-item-transaction-data {
action-type: s32, action-type: s32,
trigger-type: u8, trigger-type: u8,
block-position: tuple<s32, s32, s32>, block-position: tuple<s32, s32, s32>,
block-face: u8, block-face: u8,
hot-bar-slot: s32, hot-bar-slot: s32,
hand: u8, hand: hand-slot,
item-in-hand: network-item-descriptor, item-in-hand: network-item-descriptor,
player-position: tuple<f64, f64, f64>, player-position: tuple<f64, f64, f64>,
click-position: tuple<f64, f64, f64>, click-position: tuple<f64, f64, f64>,
@ -813,7 +817,7 @@ interface bedrock-packets {
dedicated, dedicated,
tv-os, tv-os,
sony, sony,
nx, nintendo,
xbox, xbox,
windows-phone, windows-phone,
linux, linux,

View File

@ -10,6 +10,7 @@ interface biomes {
cherry-grove, cherry-grove,
cold-ocean, cold-ocean,
crimson-forest, crimson-forest,
dappled-forest,
dark-forest, dark-forest,
deep-cold-ocean, deep-cold-ocean,
deep-dark, deep-dark,

View File

@ -42,12 +42,14 @@ interface data-components {
blocks-attacks, blocks-attacks,
piercing-weapon, piercing-weapon,
kinetic-weapon, kinetic-weapon,
swing-animation, attack-animation,
interact-animation,
additional-trade-cost, additional-trade-cost,
block-transformer,
villager-food,
stored-enchantments, stored-enchantments,
dye, dye,
dyed-color, dyed-color,
map-color,
map-id, map-id,
map-decorations, map-decorations,
map-post-processing, map-post-processing,
@ -84,6 +86,10 @@ interface data-components {
lock, lock,
container-loot, container-loot,
break-sound, break-sound,
compostable,
cooking-fuel,
brewing-fuel,
mob-visibility,
villager-variant, villager-variant,
wolf-variant, wolf-variant,
wolf-sound-variant, wolf-sound-variant,
@ -113,5 +119,10 @@ interface data-components {
cat-collar, cat-collar,
sheep-color, sheep-color,
shulker-color, shulker-color,
provides-pottery-pattern,
sign-text-front,
sign-text-back,
waxed,
cushion-color,
} }
} }

View File

@ -4,6 +4,8 @@ interface entity-statuses {
enum entity-status { enum entity-status {
armadillo-peek, armadillo-peek,
armorstand-wobble, armorstand-wobble,
boat-launch,
boat-sink,
body-break, body-break,
cancel-shake-wetness, cancel-shake-wetness,
chest-break, chest-break,

View File

@ -35,6 +35,7 @@ interface entity-types {
cow, cow,
creaking, creaking,
creeper, creeper,
cushion,
dark-oak-boat, dark-oak-boat,
dark-oak-chest-boat, dark-oak-chest-boat,
dolphin, dolphin,
@ -110,6 +111,8 @@ interface entity-types {
pillager, pillager,
player, player,
polar-bear, polar-bear,
poplar-boat,
poplar-chest-boat,
pufferfish, pufferfish,
rabbit, rabbit,
ravager, ravager,

View File

@ -154,6 +154,9 @@ interface java-packets {
} }
record s-confirm-teleport { record s-confirm-teleport {
teleport-id: s32, teleport-id: s32,
position: tuple<f64, f64, f64>,
yaw: f32,
pitch: f32,
} }
record s-container-button-click { record s-container-button-click {
window-id: s32, window-id: s32,
@ -262,6 +265,7 @@ interface java-packets {
release-item-in-use, release-item-in-use,
swap-item, swap-item,
spear-jab, spear-jab,
change-destroy-direction,
} }
record s-player-command { record s-player-command {
entity-id: s32, entity-id: s32,
@ -641,6 +645,25 @@ interface java-packets {
record c-chunk-batch-end { record c-chunk-batch-end {
batch-size: s32, batch-size: s32,
} }
record chunk-heightmaps {
world-surface: option<list<s64>>,
motion-blocking: option<list<s64>>,
motion-blocking-no-leaves: option<list<s64>>,
}
record chunk-block-entity {
packed-xz: u8,
y: s32,
type-id: s32,
data: string,
}
record c-chunk-data {
chunk-x: s32,
chunk-z: s32,
heightmaps: chunk-heightmaps,
data: list<u8>,
block-entities: list<chunk-block-entity>,
light-data: light-data,
}
record chunk-biome-entry { record chunk-biome-entry {
chunk-x: s32, chunk-x: s32,
chunk-z: s32, chunk-z: s32,
@ -871,6 +894,10 @@ interface java-packets {
entity-id: s32, entity-id: s32,
animation: u8, animation: u8,
} }
record c-swing-arm {
entity-id: s32,
off-hand: bool,
}
enum animation { enum animation {
swing-main-arm, swing-main-arm,
leave-bed, leave-bed,
@ -1371,7 +1398,7 @@ interface java-packets {
position: tuple<f64, f64, f64>, position: tuple<f64, f64, f64>,
volume: f32, volume: f32,
pitch: f32, pitch: f32,
seed: f64, seed: s64,
} }
record c-spawn-entity { record c-spawn-entity {
entity-id: s32, entity-id: s32,
@ -1657,7 +1684,6 @@ interface java-packets {
s-set-structure-block(s-set-structure-block), s-set-structure-block(s-set-structure-block),
s-set-test-block(s-set-test-block), s-set-test-block(s-set-test-block),
s-spectate-entity(s-spectate-entity), s-spectate-entity(s-spectate-entity),
s-swing-arm(s-swing-arm),
s-teleport-to-entity(s-teleport-to-entity), s-teleport-to-entity(s-teleport-to-entity),
s-test-instance-block-action(s-test-instance-block-action), s-test-instance-block-action(s-test-instance-block-action),
s-update-sign(s-update-sign), s-update-sign(s-update-sign),

View File

@ -45,6 +45,9 @@ interface particles {
infested, infested,
cherry-leaves, cherry-leaves,
pale-oak-leaves, pale-oak-leaves,
red-poplar-leaves,
orange-poplar-leaves,
yellow-poplar-leaves,
tinted-leaves, tinted-leaves,
sculk-soul, sculk-soul,
sculk-charge, sculk-charge,

View File

@ -471,6 +471,7 @@ interface player {
v-1-21-11, v-1-21-11,
v-26-1, v-26-1,
v-26-2, v-26-2,
v-26-3,
unknown, unknown,
} }

View File

@ -507,6 +507,10 @@ interface sounds {
item-crossbow-quick-charge-2, item-crossbow-quick-charge-2,
item-crossbow-quick-charge-3, item-crossbow-quick-charge-3,
item-crossbow-shoot, item-crossbow-shoot,
entity-cushion-break,
entity-cushion-place,
entity-cushion-sit,
entity-cushion-get-up,
block-deadbush-idle, block-deadbush-idle,
block-decorated-pot-break, block-decorated-pot-break,
block-decorated-pot-fall, block-decorated-pot-fall,
@ -1983,5 +1987,24 @@ interface sounds {
entity-small-sulfur-cube-jump, entity-small-sulfur-cube-jump,
entity-small-sulfur-cube-squish, entity-small-sulfur-cube-squish,
entity-small-sulfur-cube-eat, entity-small-sulfur-cube-eat,
block-shelf-mushroom-break,
block-shelf-mushroom-fall,
block-shelf-mushroom-place,
block-shelf-mushroom-step,
block-shelf-mushroom-bounce,
block-poplar-leaves-break,
block-poplar-leaves-hit,
block-poplar-leaves-fall,
block-poplar-leaves-place,
block-poplar-leaves-step,
block-poplar-leaves-ambient,
block-straw-bed-break,
block-straw-bed-break-leave,
block-straw-bed-step,
block-straw-bed-place,
block-straw-bed-hit,
block-straw-bed-fall,
block-red-shrub-break,
block-red-shrub-place,
} }
} }

View File

@ -74,6 +74,7 @@ interface statistics {
interact-with-crafting-table, interact-with-crafting-table,
open-chest, open-chest,
sleep-in-bed, sleep-in-bed,
sleep-in-straw-bed,
open-shulker-box, open-shulker-box,
open-barrel, open-barrel,
interact-with-blast-furnace, interact-with-blast-furnace,