Port to 26.2
This commit is contained in:
parent
9e87f503d0
commit
0d865a31bd
@ -14,6 +14,11 @@ interface bedrock-packets {
|
||||
data: f32,
|
||||
swing-source: option<string>,
|
||||
}
|
||||
record s-block-pick-request {
|
||||
block-pos: tuple<s32, s32, s32>,
|
||||
add-block-nbt: bool,
|
||||
hotbar-slot: u8,
|
||||
}
|
||||
record s-client-cache-status {
|
||||
cache-supported: bool,
|
||||
}
|
||||
@ -51,10 +56,14 @@ interface bedrock-packets {
|
||||
record s-inventory-transaction {
|
||||
legacy-request-id: s32,
|
||||
legacy-set-item-slots: list<string>,
|
||||
has-value: bool,
|
||||
actions: list<string>,
|
||||
transaction-type: s32,
|
||||
transaction-data: string,
|
||||
}
|
||||
record s-item-stack-request {
|
||||
requests: list<string>,
|
||||
}
|
||||
record s-loading-screen {
|
||||
status: s32,
|
||||
id: option<s32>,
|
||||
@ -64,6 +73,14 @@ interface bedrock-packets {
|
||||
jwt: list<u8>,
|
||||
raw-token: list<u8>,
|
||||
}
|
||||
record s-mob-equipment {
|
||||
entity-runtime-id: string,
|
||||
stack-id: s32,
|
||||
item: option<string>,
|
||||
inventory-slot: u8,
|
||||
hotbar-slot: u8,
|
||||
window-id: u8,
|
||||
}
|
||||
record s-modal-form-response {
|
||||
form-id: s32,
|
||||
form-data: option<string>,
|
||||
@ -165,6 +182,15 @@ interface bedrock-packets {
|
||||
synced-properties: string,
|
||||
links: list<string>,
|
||||
}
|
||||
record c-add-item-actor {
|
||||
entity-unique-id: string,
|
||||
entity-runtime-id: string,
|
||||
item: string,
|
||||
position: tuple<f64, f64, f64>,
|
||||
velocity: tuple<f64, f64, f64>,
|
||||
metadata: string,
|
||||
from-fishing: bool,
|
||||
}
|
||||
record c-add-player {
|
||||
uuid: uuid,
|
||||
username: string,
|
||||
@ -214,7 +240,7 @@ interface bedrock-packets {
|
||||
on-ground: bool,
|
||||
tick: string,
|
||||
}
|
||||
record creative-content {
|
||||
record c-creative-content {
|
||||
groups: list<string>,
|
||||
entries: list<string>,
|
||||
}
|
||||
@ -231,12 +257,17 @@ interface bedrock-packets {
|
||||
jwt-data: string,
|
||||
}
|
||||
record c-inventory-content {
|
||||
inventory-id: s32,
|
||||
container-id: s32,
|
||||
slots: list<string>,
|
||||
container-name: u8,
|
||||
dynamic-id: option<s32>,
|
||||
full-container-name: string,
|
||||
storage-item: string,
|
||||
}
|
||||
record c-item-registry {
|
||||
items: list<string>,
|
||||
}
|
||||
record c-item-stack-response {
|
||||
responses: list<string>,
|
||||
}
|
||||
record c-level-chunk {
|
||||
dimension: s32,
|
||||
cache-enabled: bool,
|
||||
@ -429,9 +460,14 @@ interface bedrock-packets {
|
||||
enable-clientside-generation: bool,
|
||||
blocknetwork-ids-are-hashed: bool,
|
||||
server-auth-sounds: bool,
|
||||
is-logging-chat: bool,
|
||||
server-join-information: option<string>,
|
||||
telemetry: string,
|
||||
}
|
||||
record c-take-item-actor {
|
||||
item-runtime-id: string,
|
||||
actor-runtime-id: string,
|
||||
}
|
||||
record c-transfer {
|
||||
address: string,
|
||||
port: s32,
|
||||
@ -457,6 +493,7 @@ interface bedrock-packets {
|
||||
variant serverbound-packet {
|
||||
s-actor-event(s-actor-event),
|
||||
s-animate(s-animate),
|
||||
s-block-pick-request(s-block-pick-request),
|
||||
s-client-cache-status(s-client-cache-status),
|
||||
s-command-request(s-command-request),
|
||||
s-container-close(s-container-close),
|
||||
@ -464,8 +501,10 @@ interface bedrock-packets {
|
||||
s-emote-list(s-emote-list),
|
||||
s-interaction(s-interaction),
|
||||
s-inventory-transaction(s-inventory-transaction),
|
||||
s-item-stack-request(s-item-stack-request),
|
||||
s-loading-screen(s-loading-screen),
|
||||
s-login(s-login),
|
||||
s-mob-equipment(s-mob-equipment),
|
||||
s-modal-form-response(s-modal-form-response),
|
||||
s-player-action(s-player-action),
|
||||
s-player-auth-input(s-player-auth-input),
|
||||
@ -485,17 +524,20 @@ interface bedrock-packets {
|
||||
}
|
||||
variant clientbound-packet {
|
||||
c-add-actor(c-add-actor),
|
||||
c-add-item-actor(c-add-item-actor),
|
||||
c-add-player(c-add-player),
|
||||
c-available-commands(c-available-commands),
|
||||
c-boss-event(c-boss-event),
|
||||
c-chunk-radius-update(c-chunk-radius-update),
|
||||
c-container-open(c-container-open),
|
||||
c-correct-player-move(c-correct-player-move),
|
||||
creative-content(creative-content),
|
||||
c-creative-content(c-creative-content),
|
||||
c-disconnect-player(c-disconnect-player),
|
||||
c-gamerules-changed(c-gamerules-changed),
|
||||
c-handshake(c-handshake),
|
||||
c-inventory-content(c-inventory-content),
|
||||
c-item-registry(c-item-registry),
|
||||
c-item-stack-response(c-item-stack-response),
|
||||
c-level-chunk(c-level-chunk),
|
||||
c-level-event(c-level-event),
|
||||
c-modal-form-request(c-modal-form-request),
|
||||
@ -525,6 +567,7 @@ interface bedrock-packets {
|
||||
c-set-time(c-set-time),
|
||||
c-set-title(c-set-title),
|
||||
c-start-game(c-start-game),
|
||||
c-take-item-actor(c-take-item-actor),
|
||||
c-transfer(c-transfer),
|
||||
c-update-abilities(c-update-abilities),
|
||||
c-update-attributes(c-update-attributes),
|
||||
|
||||
@ -55,6 +55,7 @@ interface biomes {
|
||||
sparse-jungle,
|
||||
stony-peaks,
|
||||
stony-shore,
|
||||
sulfur-caves,
|
||||
sunflower-plains,
|
||||
swamp,
|
||||
taiga,
|
||||
|
||||
@ -80,6 +80,7 @@ interface data-components {
|
||||
container,
|
||||
block-state,
|
||||
bees,
|
||||
sulfur-cube-content,
|
||||
lock,
|
||||
container-loot,
|
||||
break-sound,
|
||||
|
||||
@ -134,6 +134,7 @@ interface entity-types {
|
||||
squid,
|
||||
stray,
|
||||
strider,
|
||||
sulfur-cube,
|
||||
tadpole,
|
||||
text-display,
|
||||
tnt,
|
||||
|
||||
@ -79,6 +79,11 @@ interface java-packets {
|
||||
hand: option<s32>,
|
||||
sneaking: bool,
|
||||
}
|
||||
record s-jigsaw-generate {
|
||||
pos: tuple<s32, s32, s32>,
|
||||
levels: s32,
|
||||
keep-jigsaws: bool,
|
||||
}
|
||||
record s-keep-alive {
|
||||
keep-alive-id: s64,
|
||||
}
|
||||
@ -181,6 +186,16 @@ interface java-packets {
|
||||
record s-set-held-item {
|
||||
slot: s32,
|
||||
}
|
||||
record s-set-jigsaw-block {
|
||||
pos: tuple<s32, s32, s32>,
|
||||
name: string,
|
||||
target: string,
|
||||
pool: string,
|
||||
final-state: string,
|
||||
joint: string,
|
||||
selection-priority: s32,
|
||||
placement-priority: s32,
|
||||
}
|
||||
record s-swing-arm {
|
||||
hand: s32,
|
||||
}
|
||||
@ -213,6 +228,9 @@ interface java-packets {
|
||||
record c-action-bar {
|
||||
action-bar: string,
|
||||
}
|
||||
record c-award-stats {
|
||||
stats: list<string>,
|
||||
}
|
||||
record c-set-block-destroy-stage {
|
||||
entity-id: s32,
|
||||
location: tuple<s32, s32, s32>,
|
||||
@ -381,15 +399,8 @@ interface java-packets {
|
||||
reduced-debug-info: bool,
|
||||
enabled-respawn-screen: bool,
|
||||
limited-crafting: bool,
|
||||
dimension: string,
|
||||
hashed-seed: s64,
|
||||
game-mode: u8,
|
||||
previous-gamemode: u8,
|
||||
debug: bool,
|
||||
is-flat: bool,
|
||||
death-dimension-name: option<string>,
|
||||
portal-cooldown: s32,
|
||||
sealevel: s32,
|
||||
spawn-data: string,
|
||||
online-mode: bool,
|
||||
enforce-secure-chat: bool,
|
||||
}
|
||||
record c-map-item-data {
|
||||
@ -499,16 +510,7 @@ interface java-packets {
|
||||
objective-name: option<string>,
|
||||
}
|
||||
record c-respawn {
|
||||
dimension-type: s32,
|
||||
dimension-name: string,
|
||||
hashed-seed: s64,
|
||||
game-mode: u8,
|
||||
previous-gamemode: u8,
|
||||
debug: bool,
|
||||
is-flat: bool,
|
||||
death-dimension-name: option<string>,
|
||||
portal-cooldown: s32,
|
||||
sealevel: s32,
|
||||
player-spawn-info: string,
|
||||
data-kept: u8,
|
||||
}
|
||||
record c-play-server-links {
|
||||
@ -729,6 +731,7 @@ interface java-packets {
|
||||
s-custom-click-action(s-custom-click-action),
|
||||
s-custom-payload(s-custom-payload),
|
||||
s-interact(s-interact),
|
||||
s-jigsaw-generate(s-jigsaw-generate),
|
||||
s-keep-alive(s-keep-alive),
|
||||
s-move-vehicle(s-move-vehicle),
|
||||
s-paddle-boat(s-paddle-boat),
|
||||
@ -754,6 +757,7 @@ interface java-packets {
|
||||
s-set-command-block(s-set-command-block),
|
||||
s-set-creative-slot(s-set-creative-slot),
|
||||
s-set-held-item(s-set-held-item),
|
||||
s-set-jigsaw-block(s-set-jigsaw-block),
|
||||
s-swing-arm(s-swing-arm),
|
||||
s-update-sign(s-update-sign),
|
||||
s-use-item(s-use-item),
|
||||
@ -763,6 +767,7 @@ interface java-packets {
|
||||
variant clientbound-packet {
|
||||
c-acknowledge-block-change(c-acknowledge-block-change),
|
||||
c-action-bar(c-action-bar),
|
||||
c-award-stats(c-award-stats),
|
||||
c-set-block-destroy-stage(c-set-block-destroy-stage),
|
||||
c-block-entity-data(c-block-entity-data),
|
||||
c-block-event(c-block-event),
|
||||
|
||||
@ -6,6 +6,13 @@ interface particles {
|
||||
block,
|
||||
block-marker,
|
||||
bubble,
|
||||
sulfur-bubbles,
|
||||
noxious-gas,
|
||||
noxious-gas-cloud,
|
||||
geyser,
|
||||
geyser-base,
|
||||
geyser-poof,
|
||||
geyser-plume,
|
||||
cloud,
|
||||
copper-fire-flame,
|
||||
crit,
|
||||
@ -119,5 +126,6 @@ interface particles {
|
||||
trial-omen,
|
||||
block-crumble,
|
||||
firefly,
|
||||
sulfur-cube-goo,
|
||||
}
|
||||
}
|
||||
|
||||
@ -398,13 +398,14 @@ interface player {
|
||||
v-1-21-9,
|
||||
v-1-21-11,
|
||||
v-26-1,
|
||||
v-26-2,
|
||||
unknown,
|
||||
}
|
||||
|
||||
/// Represents a specific version of the Minecraft Bedrock Edition protocol.
|
||||
enum bedrock-minecraft-version {
|
||||
v-1-21,
|
||||
v-1-26-20,
|
||||
v-1-26-30,
|
||||
unknown,
|
||||
}
|
||||
|
||||
|
||||
@ -230,12 +230,14 @@ interface sounds {
|
||||
item-bucket-empty-fish,
|
||||
item-bucket-empty-lava,
|
||||
item-bucket-empty-powder-snow,
|
||||
item-bucket-empty-sulfur-cube,
|
||||
item-bucket-empty-tadpole,
|
||||
item-bucket-fill,
|
||||
item-bucket-fill-axolotl,
|
||||
item-bucket-fill-fish,
|
||||
item-bucket-fill-lava,
|
||||
item-bucket-fill-powder-snow,
|
||||
item-bucket-fill-sulfur-cube,
|
||||
item-bucket-fill-tadpole,
|
||||
item-bundle-drop-contents,
|
||||
item-bundle-insert,
|
||||
@ -1033,6 +1035,7 @@ interface sounds {
|
||||
music-disc-11,
|
||||
music-disc-13,
|
||||
music-disc-blocks,
|
||||
music-disc-bounce,
|
||||
music-disc-cat,
|
||||
music-disc-chirp,
|
||||
music-disc-far,
|
||||
@ -1078,6 +1081,7 @@ interface sounds {
|
||||
music-overworld-jungle,
|
||||
music-overworld-sparse-jungle,
|
||||
music-overworld-bamboo-jungle,
|
||||
music-overworld-sulfur-caves,
|
||||
music-under-water,
|
||||
entity-nautilus-ambient,
|
||||
entity-nautilus-ambient-land,
|
||||
@ -1607,6 +1611,12 @@ interface sounds {
|
||||
entity-stray-death,
|
||||
entity-stray-hurt,
|
||||
entity-stray-step,
|
||||
block-sulfur-spike-break,
|
||||
block-sulfur-spike-step,
|
||||
block-sulfur-spike-place,
|
||||
block-sulfur-spike-hit,
|
||||
block-sulfur-spike-fall,
|
||||
block-sulfur-spike-land,
|
||||
block-sweet-berry-bush-break,
|
||||
block-sweet-berry-bush-place,
|
||||
block-sweet-berry-bush-pick-berries,
|
||||
@ -1904,5 +1914,61 @@ interface sounds {
|
||||
item-saddle-unequip,
|
||||
item-nautilus-saddle-underwater-equip,
|
||||
item-nautilus-saddle-equip,
|
||||
block-sulfur-break,
|
||||
block-sulfur-step,
|
||||
block-sulfur-place,
|
||||
block-sulfur-hit,
|
||||
block-sulfur-fall,
|
||||
block-potent-sulfur-break,
|
||||
block-potent-sulfur-step,
|
||||
block-potent-sulfur-place,
|
||||
block-potent-sulfur-hit,
|
||||
block-potent-sulfur-fall,
|
||||
block-potent-sulfur-geyser-eruption,
|
||||
block-potent-sulfur-geyser-eruption-active,
|
||||
block-potent-sulfur-geyser-continuous-eruption,
|
||||
block-potent-sulfur-geyser-continuous-eruption-active,
|
||||
block-cinnabar-break,
|
||||
block-cinnabar-step,
|
||||
block-cinnabar-place,
|
||||
block-cinnabar-hit,
|
||||
block-cinnabar-fall,
|
||||
entity-sulfur-cube-absorb,
|
||||
entity-sulfur-cube-bounce,
|
||||
entity-sulfur-cube-death,
|
||||
entity-sulfur-cube-eject,
|
||||
entity-sulfur-cube-hurt,
|
||||
entity-sulfur-cube-jump,
|
||||
entity-sulfur-cube-regular-hit,
|
||||
entity-sulfur-cube-regular-push,
|
||||
entity-sulfur-cube-bouncy-hit,
|
||||
entity-sulfur-cube-bouncy-push,
|
||||
entity-sulfur-cube-slow-bouncy-hit,
|
||||
entity-sulfur-cube-slow-bouncy-push,
|
||||
entity-sulfur-cube-slow-flat-hit,
|
||||
entity-sulfur-cube-slow-flat-push,
|
||||
entity-sulfur-cube-fast-flat-hit,
|
||||
entity-sulfur-cube-fast-flat-push,
|
||||
entity-sulfur-cube-light-hit,
|
||||
entity-sulfur-cube-light-push,
|
||||
entity-sulfur-cube-fast-sliding-hit,
|
||||
entity-sulfur-cube-fast-sliding-push,
|
||||
entity-sulfur-cube-slow-sliding-hit,
|
||||
entity-sulfur-cube-slow-sliding-push,
|
||||
entity-sulfur-cube-sticky-hit,
|
||||
entity-sulfur-cube-sticky-push,
|
||||
entity-sulfur-cube-high-resistance-hit,
|
||||
entity-sulfur-cube-high-resistance-push,
|
||||
entity-sulfur-cube-explosive-hit,
|
||||
entity-sulfur-cube-explosive-push,
|
||||
entity-sulfur-cube-hot-hit,
|
||||
entity-sulfur-cube-hot-push,
|
||||
entity-sulfur-cube-squish,
|
||||
block-potent-sulfur-noxious-gas,
|
||||
entity-small-sulfur-cube-death,
|
||||
entity-small-sulfur-cube-hurt,
|
||||
entity-small-sulfur-cube-jump,
|
||||
entity-small-sulfur-cube-squish,
|
||||
entity-small-sulfur-cube-eat,
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user