monorepo fixes

This commit is contained in:
adman
2025-12-15 22:46:34 +01:00
parent 6108534a12
commit c58dbbe5b0
83 changed files with 2273 additions and 2042 deletions
@@ -36,7 +36,7 @@ async function handle (ourPR, genPullNo, version, artifactURL, shouldPull) {
if (ourPR.body) {
await github.updateIssue(ourPR.number, {
body: ourPR.body.replace('<!--minecraft-data-generator-placeholder-->', `- https://github.com/PrismarineJS/minecraft-data-generator/pull/${genPullNo}`)
body: ourPR.body.replace('<!--minecraft-data-proto_generator-placeholder-->', `- https://github.com/PrismarineJS/minecraft-data-generator/pull/${genPullNo}`)
})
}
@@ -92,7 +92,7 @@ async function main (versions, genPullNo, artifactUrl, createPR) {
console.log('PR', details)
await handle(details, genPullNo, version, artifactUrl, true)
} else if (createPR) {
const pr = await createInitialPR('pc', '(This issue was created for a minecraft-data-generator PR)', {
const pr = await createInitialPR('pc', '(This issue was created for a minecraft-data-proto_generator PR)', {
version,
protocolVersion: null
})
+2 -2
View File
@@ -166,10 +166,10 @@ async function openIssueAndDispatch (title, versionJson, latestVersionData, late
protocolVersion: versionJson.protocol_version
})
console.log('Created PR', pr)
// Ask minecraft-data-generator to handle new update
// Ask minecraft-data-proto_generator to handle new update
const dispatchPayload = {
owner: 'PrismarineJS',
repo: 'minecraft-data-generator',
repo: 'minecraft-data-proto_generator',
workflow: 'handle-mcdata-update.yml',
branch: 'main',
inputs: {
@@ -1,16 +1,16 @@
name: handle-mcpc-generator
name: handle-mcpc-proto_generator
on:
workflow_dispatch:
inputs:
versions:
description: 'JSON stringified list of known versions in generator (last is expected to be latest)'
description: 'JSON stringified list of known versions in proto_generator (last is expected to be latest)'
required: true
default: '["1.21.6"]'
mergedArtifactURL:
description: 'Merged artifact download URL'
required: true
prNumber:
description: 'Relevant minecraft-data-generator PR #'
description: 'Relevant minecraft-data-proto_generator PR #'
required: false
createPr:
description: 'Whether to create a new PR if none exists'
@@ -234,7 +234,7 @@ packet_start_game:
# Dimension is the ID of the dimension that the player spawns in. It is a value from 0-2,
# with 0 being the overworld, 1 being the nether and 2 being the end.
dimension: zigzag32
# Generator is the generator used for the world. It is a value from 0-4, with 0 being old
# Generator is the proto_generator used for the world. It is a value from 0-4, with 0 being old
# limited worlds, 1 being infinite worlds, 2 being flat worlds, 3 being nether worlds and
# 4 being end worlds. A value of 0 will actually make the client stop rendering chunks you
# send beyond the world limit.
@@ -234,7 +234,7 @@ packet_start_game:
# Dimension is the ID of the dimension that the player spawns in. It is a value from 0-2,
# with 0 being the overworld, 1 being the nether and 2 being the end.
dimension: zigzag32
# Generator is the generator used for the world. It is a value from 0-4, with 0 being old
# Generator is the proto_generator used for the world. It is a value from 0-4, with 0 being old
# limited worlds, 1 being infinite worlds, 2 being flat worlds, 3 being nether worlds and
# 4 being end worlds. A value of 0 will actually make the client stop rendering chunks you
# send beyond the world limit.
@@ -236,7 +236,7 @@ packet_start_game:
# Dimension is the ID of the dimension that the player spawns in. It is a value from 0-2,
# with 0 being the overworld, 1 being the nether and 2 being the end.
dimension: zigzag32
# Generator is the generator used for the world. It is a value from 0-4, with 0 being old
# Generator is the proto_generator used for the world. It is a value from 0-4, with 0 being old
# limited worlds, 1 being infinite worlds, 2 being flat worlds, 3 being nether worlds and
# 4 being end worlds. A value of 0 will actually make the client stop rendering chunks you
# send beyond the world limit.
@@ -25,7 +25,7 @@ nbtLoop: native
enum_size_based_on_values_len: native # Packet-specific custom logic
MapInfo: native
# load the packet map file (auto-generated)
# load the packet map file (auto-proto_generated)
!import: packet_map.yml
!StartDocs: Packets
@@ -236,7 +236,7 @@ packet_start_game:
# Dimension is the ID of the dimension that the player spawns in. It is a value from 0-2,
# with 0 being the overworld, 1 being the nether and 2 being the end.
dimension: zigzag32
# Generator is the generator used for the world. It is a value from 0-4, with 0 being old
# Generator is the proto_generator used for the world. It is a value from 0-4, with 0 being old
# limited worlds, 1 being infinite worlds, 2 being flat worlds, 3 being nether worlds and
# 4 being end worlds. A value of 0 will actually make the client stop rendering chunks you
# send beyond the world limit.
@@ -25,7 +25,7 @@ nbtLoop: native
enum_size_based_on_values_len: native # Packet-specific custom logic
MapInfo: native
# load the packet map file (auto-generated)
# load the packet map file (auto-proto_generated)
!import: packet_map.yml
!StartDocs: Packets
@@ -238,7 +238,7 @@ packet_start_game:
# Dimension is the ID of the dimension that the player spawns in. It is a value from 0-2,
# with 0 being the overworld, 1 being the nether and 2 being the end.
dimension: zigzag32
# Generator is the generator used for the world. It is a value from 0-4, with 0 being old
# Generator is the proto_generator used for the world. It is a value from 0-4, with 0 being old
# limited worlds, 1 being infinite worlds, 2 being flat worlds, 3 being nether worlds and
# 4 being end worlds. A value of 0 will actually make the client stop rendering chunks you
# send beyond the world limit.
@@ -25,7 +25,7 @@ nbtLoop: native
enum_size_based_on_values_len: native # Packet-specific custom logic
MapInfo: native
# load the packet map file (auto-generated)
# load the packet map file (auto-proto_generated)
!import: packet_map.yml
!StartDocs: Packets
@@ -238,7 +238,7 @@ packet_start_game:
# Dimension is the ID of the dimension that the player spawns in. It is a value from 0-2,
# with 0 being the overworld, 1 being the nether and 2 being the end.
dimension: zigzag32
# Generator is the generator used for the world. It is a value from 0-4, with 0 being old
# Generator is the proto_generator used for the world. It is a value from 0-4, with 0 being old
# limited worlds, 1 being infinite worlds, 2 being flat worlds, 3 being nether worlds and
# 4 being end worlds. A value of 0 will actually make the client stop rendering chunks you
# send beyond the world limit.
@@ -25,7 +25,7 @@ nbtLoop: native
enum_size_based_on_values_len: native # Packet-specific custom logic
MapInfo: native
# load the packet map file (auto-generated)
# load the packet map file (auto-proto_generated)
!import: packet_map.yml
!StartDocs: Packets
@@ -238,7 +238,7 @@ packet_start_game:
# Dimension is the ID of the dimension that the player spawns in. It is a value from 0-2,
# with 0 being the overworld, 1 being the nether and 2 being the end.
dimension: zigzag32
# Generator is the generator used for the world. It is a value from 0-4, with 0 being old
# Generator is the proto_generator used for the world. It is a value from 0-4, with 0 being old
# limited worlds, 1 being infinite worlds, 2 being flat worlds, 3 being nether worlds and
# 4 being end worlds. A value of 0 will actually make the client stop rendering chunks you
# send beyond the world limit.
@@ -25,7 +25,7 @@ nbtLoop: native
enum_size_based_on_values_len: native # Packet-specific custom logic
MapInfo: native
# load the packet map file (auto-generated)
# load the packet map file (auto-proto_generated)
!import: packet_map.yml
!StartDocs: Packets
@@ -238,7 +238,7 @@ packet_start_game:
# Dimension is the ID of the dimension that the player spawns in. It is a value from 0-2,
# with 0 being the overworld, 1 being the nether and 2 being the end.
dimension: zigzag32
# Generator is the generator used for the world. It is a value from 0-4, with 0 being old
# Generator is the proto_generator used for the world. It is a value from 0-4, with 0 being old
# limited worlds, 1 being infinite worlds, 2 being flat worlds, 3 being nether worlds and
# 4 being end worlds. A value of 0 will actually make the client stop rendering chunks you
# send beyond the world limit.
@@ -25,7 +25,7 @@ nbtLoop: native
enum_size_based_on_values_len: native # Packet-specific custom logic
MapInfo: native
# load the packet map file (auto-generated)
# load the packet map file (auto-proto_generated)
!import: packet_map.yml
!StartDocs: Packets
@@ -238,7 +238,7 @@ packet_start_game:
# Dimension is the ID of the dimension that the player spawns in. It is a value from 0-2,
# with 0 being the overworld, 1 being the nether and 2 being the end.
dimension: zigzag32
# Generator is the generator used for the world. It is a value from 0-4, with 0 being old
# Generator is the proto_generator used for the world. It is a value from 0-4, with 0 being old
# limited worlds, 1 being infinite worlds, 2 being flat worlds, 3 being nether worlds and
# 4 being end worlds. A value of 0 will actually make the client stop rendering chunks you
# send beyond the world limit.
@@ -25,7 +25,7 @@ nbtLoop: native
enum_size_based_on_values_len: native # Packet-specific custom logic
MapInfo: native
# load the packet map file (auto-generated)
# load the packet map file (auto-proto_generated)
!import: packet_map.yml
!StartDocs: Packets
@@ -241,7 +241,7 @@ packet_start_game:
0: overworld
1: nether
2: end
# Generator is the generator used for the world. It is a value from 0-4, with 0 being old
# Generator is the proto_generator used for the world. It is a value from 0-4, with 0 being old
# limited worlds, 1 being infinite worlds, 2 being flat worlds, 3 being nether worlds and
# 4 being end worlds. A value of 0 will actually make the client stop rendering chunks you
# send beyond the world limit.
@@ -25,7 +25,7 @@ nbtLoop: native
enum_size_based_on_values_len: native # Packet-specific custom logic
MapInfo: native
# load the packet map file (auto-generated)
# load the packet map file (auto-proto_generated)
!import: packet_map.yml
!StartDocs: Packets
@@ -241,7 +241,7 @@ packet_start_game:
0: overworld
1: nether
2: end
# Generator is the generator used for the world. It is a value from 0-4, with 0 being old
# Generator is the proto_generator used for the world. It is a value from 0-4, with 0 being old
# limited worlds, 1 being infinite worlds, 2 being flat worlds, 3 being nether worlds and
# 4 being end worlds. A value of 0 will actually make the client stop rendering chunks you
# send beyond the world limit.
@@ -25,7 +25,7 @@ nbtLoop: native
enum_size_based_on_values_len: native # Packet-specific custom logic
MapInfo: native
# load the packet map file (auto-generated)
# load the packet map file (auto-proto_generated)
!import: packet_map.yml
!StartDocs: Packets
@@ -245,7 +245,7 @@ packet_start_game:
0: overworld
1: nether
2: end
# Generator is the generator used for the world. It is a value from 0-4, with 0 being old
# Generator is the proto_generator used for the world. It is a value from 0-4, with 0 being old
# limited worlds, 1 being infinite worlds, 2 being flat worlds, 3 being nether worlds and
# 4 being end worlds. A value of 0 will actually make the client stop rendering chunks you
# send beyond the world limit.
@@ -25,7 +25,7 @@ nbtLoop: native
enum_size_based_on_values_len: native # Packet-specific custom logic
MapInfo: native
# load the packet map file (auto-generated)
# load the packet map file (auto-proto_generated)
!import: packet_map.yml
!StartDocs: Packets
@@ -245,7 +245,7 @@ packet_start_game:
0: overworld
1: nether
2: end
# Generator is the generator used for the world. It is a value from 0-4, with 0 being old
# Generator is the proto_generator used for the world. It is a value from 0-4, with 0 being old
# limited worlds, 1 being infinite worlds, 2 being flat worlds, 3 being nether worlds and
# 4 being end worlds. A value of 0 will actually make the client stop rendering chunks you
# send beyond the world limit.
@@ -25,7 +25,7 @@ nbtLoop: native
enum_size_based_on_values_len: native # Packet-specific custom logic
MapInfo: native
# load the packet map file (auto-generated)
# load the packet map file (auto-proto_generated)
!import: packet_map.yml
!StartDocs: Packets
@@ -245,7 +245,7 @@ packet_start_game:
0: overworld
1: nether
2: end
# Generator is the generator used for the world. It is a value from 0-4, with 0 being old
# Generator is the proto_generator used for the world. It is a value from 0-4, with 0 being old
# limited worlds, 1 being infinite worlds, 2 being flat worlds, 3 being nether worlds and
# 4 being end worlds. A value of 0 will actually make the client stop rendering chunks you
# send beyond the world limit.
@@ -25,7 +25,7 @@ nbtLoop: native
enum_size_based_on_values_len: native # Packet-specific custom logic
MapInfo: native
# load the packet map file (auto-generated)
# load the packet map file (auto-proto_generated)
!import: packet_map.yml
!StartDocs: Packets
@@ -246,7 +246,7 @@ packet_start_game:
0: overworld
1: nether
2: end
# Generator is the generator used for the world. It is a value from 0-4, with 0 being old
# Generator is the proto_generator used for the world. It is a value from 0-4, with 0 being old
# limited worlds, 1 being infinite worlds, 2 being flat worlds, 3 being nether worlds and
# 4 being end worlds. A value of 0 will actually make the client stop rendering chunks you
# send beyond the world limit.
@@ -25,7 +25,7 @@ nbtLoop: native
enum_size_based_on_values_len: native # Packet-specific custom logic
MapInfo: native
# load the packet map file (auto-generated)
# load the packet map file (auto-proto_generated)
!import: packet_map.yml
!StartDocs: Packets
@@ -246,7 +246,7 @@ packet_start_game:
0: overworld
1: nether
2: end
# Generator is the generator used for the world. It is a value from 0-4, with 0 being old
# Generator is the proto_generator used for the world. It is a value from 0-4, with 0 being old
# limited worlds, 1 being infinite worlds, 2 being flat worlds, 3 being nether worlds and
# 4 being end worlds. A value of 0 will actually make the client stop rendering chunks you
# send beyond the world limit.
@@ -25,7 +25,7 @@ nbtLoop: native
enum_size_based_on_values_len: native # Packet-specific custom logic
MapInfo: native
# load the packet map file (auto-generated)
# load the packet map file (auto-proto_generated)
!import: packet_map.yml
!StartDocs: Packets
@@ -246,7 +246,7 @@ packet_start_game:
0: overworld
1: nether
2: end
# Generator is the generator used for the world. It is a value from 0-4, with 0 being old
# Generator is the proto_generator used for the world. It is a value from 0-4, with 0 being old
# limited worlds, 1 being infinite worlds, 2 being flat worlds, 3 being nether worlds and
# 4 being end worlds. A value of 0 will actually make the client stop rendering chunks you
# send beyond the world limit.
@@ -25,7 +25,7 @@ nbtLoop: native
enum_size_based_on_values_len: native # Packet-specific custom logic
MapInfo: native
# load the packet map file (auto-generated)
# load the packet map file (auto-proto_generated)
!import: packet_map.yml
!StartDocs: Packets
@@ -246,7 +246,7 @@ packet_start_game:
0: overworld
1: nether
2: end
# Generator is the generator used for the world. It is a value from 0-4, with 0 being old
# Generator is the proto_generator used for the world. It is a value from 0-4, with 0 being old
# limited worlds, 1 being infinite worlds, 2 being flat worlds, 3 being nether worlds and
# 4 being end worlds. A value of 0 will actually make the client stop rendering chunks you
# send beyond the world limit.
@@ -25,7 +25,7 @@ nbtLoop: native
enum_size_based_on_values_len: native # Packet-specific custom logic
MapInfo: native
# load the packet map file (auto-generated)
# load the packet map file (auto-proto_generated)
!import: packet_map.yml
!StartDocs: Packets
@@ -246,7 +246,7 @@ packet_start_game:
0: overworld
1: nether
2: end
# Generator is the generator used for the world. It is a value from 0-4, with 0 being old
# Generator is the proto_generator used for the world. It is a value from 0-4, with 0 being old
# limited worlds, 1 being infinite worlds, 2 being flat worlds, 3 being nether worlds and
# 4 being end worlds. A value of 0 will actually make the client stop rendering chunks you
# send beyond the world limit.
@@ -25,7 +25,7 @@ nbtLoop: native
enum_size_based_on_values_len: native # Packet-specific custom logic
MapInfo: native
# load the packet map file (auto-generated)
# load the packet map file (auto-proto_generated)
!import: packet_map.yml
!StartDocs: Packets
@@ -246,7 +246,7 @@ packet_start_game:
0: overworld
1: nether
2: end
# Generator is the generator used for the world. It is a value from 0-4, with 0 being old
# Generator is the proto_generator used for the world. It is a value from 0-4, with 0 being old
# limited worlds, 1 being infinite worlds, 2 being flat worlds, 3 being nether worlds and
# 4 being end worlds. A value of 0 will actually make the client stop rendering chunks you
# send beyond the world limit.
@@ -25,7 +25,7 @@ nbtLoop: native
enum_size_based_on_values_len: native # Packet-specific custom logic
MapInfo: native
# load the packet map file (auto-generated)
# load the packet map file (auto-proto_generated)
!import: packet_map.yml
!StartDocs: Packets
@@ -246,7 +246,7 @@ packet_start_game:
0: overworld
1: nether
2: end
# Generator is the generator used for the world. It is a value from 0-4, with 0 being old
# Generator is the proto_generator used for the world. It is a value from 0-4, with 0 being old
# limited worlds, 1 being infinite worlds, 2 being flat worlds, 3 being nether worlds and
# 4 being end worlds. A value of 0 will actually make the client stop rendering chunks you
# send beyond the world limit.
@@ -25,7 +25,7 @@ nbtLoop: native
enum_size_based_on_values_len: native # Packet-specific custom logic
MapInfo: native
# load the packet map file (auto-generated)
# load the packet map file (auto-proto_generated)
!import: packet_map.yml
!StartDocs: Packets
@@ -246,7 +246,7 @@ packet_start_game:
0: overworld
1: nether
2: end
# Generator is the generator used for the world. It is a value from 0-4, with 0 being old
# Generator is the proto_generator used for the world. It is a value from 0-4, with 0 being old
# limited worlds, 1 being infinite worlds, 2 being flat worlds, 3 being nether worlds and
# 4 being end worlds. A value of 0 will actually make the client stop rendering chunks you
# send beyond the world limit.
@@ -25,7 +25,7 @@ nbtLoop: native
enum_size_based_on_values_len: native # Packet-specific custom logic
MapInfo: native
# load the packet map file (auto-generated)
# load the packet map file (auto-proto_generated)
!import: packet_map.yml
!StartDocs: Packets
@@ -246,7 +246,7 @@ packet_start_game:
0: overworld
1: nether
2: end
# Generator is the generator used for the world. It is a value from 0-4, with 0 being old
# Generator is the proto_generator used for the world. It is a value from 0-4, with 0 being old
# limited worlds, 1 being infinite worlds, 2 being flat worlds, 3 being nether worlds and
# 4 being end worlds. A value of 0 will actually make the client stop rendering chunks you
# send beyond the world limit.
@@ -25,7 +25,7 @@ nbtLoop: native
enum_size_based_on_values_len: native # Packet-specific custom logic
MapInfo: native
# load the packet map file (auto-generated)
# load the packet map file (auto-proto_generated)
!import: packet_map.yml
!StartDocs: Packets
@@ -251,7 +251,7 @@ packet_start_game:
0: overworld
1: nether
2: end
# Generator is the generator used for the world. It is a value from 0-4, with 0 being old
# Generator is the proto_generator used for the world. It is a value from 0-4, with 0 being old
# limited worlds, 1 being infinite worlds, 2 being flat worlds, 3 being nether worlds and
# 4 being end worlds. A value of 0 will actually make the client stop rendering chunks you
# send beyond the world limit.
@@ -25,7 +25,7 @@ nbtLoop: native
enum_size_based_on_values_len: native # Packet-specific custom logic
MapInfo: native
# load the packet map file (auto-generated)
# load the packet map file (auto-proto_generated)
!import: packet_map.yml
!StartDocs: Packets
@@ -254,7 +254,7 @@ packet_start_game:
0: overworld
1: nether
2: end
# Generator is the generator used for the world. It is a value from 0-4, with 0 being old
# Generator is the proto_generator used for the world. It is a value from 0-4, with 0 being old
# limited worlds, 1 being infinite worlds, 2 being flat worlds, 3 being nether worlds and
# 4 being end worlds. A value of 0 will actually make the client stop rendering chunks you
# send beyond the world limit.
@@ -25,7 +25,7 @@ nbtLoop: native
enum_size_based_on_values_len: native # Packet-specific custom logic
MapInfo: native
# load the packet map file (auto-generated)
# load the packet map file (auto-proto_generated)
!import: packet_map.yml
!StartDocs: Packets
@@ -254,7 +254,7 @@ packet_start_game:
0: overworld
1: nether
2: end
# Generator is the generator used for the world. It is a value from 0-4, with 0 being old
# Generator is the proto_generator used for the world. It is a value from 0-4, with 0 being old
# limited worlds, 1 being infinite worlds, 2 being flat worlds, 3 being nether worlds and
# 4 being end worlds. A value of 0 will actually make the client stop rendering chunks you
# send beyond the world limit.
@@ -25,7 +25,7 @@ nbtLoop: native
enum_size_based_on_values_len: native # Packet-specific custom logic
MapInfo: native
# load the packet map file (auto-generated)
# load the packet map file (auto-proto_generated)
!import: packet_map.yml
!StartDocs: Packets
@@ -254,7 +254,7 @@ packet_start_game:
0: overworld
1: nether
2: end
# Generator is the generator used for the world. It is a value from 0-4, with 0 being old
# Generator is the proto_generator used for the world. It is a value from 0-4, with 0 being old
# limited worlds, 1 being infinite worlds, 2 being flat worlds, 3 being nether worlds and
# 4 being end worlds. A value of 0 will actually make the client stop rendering chunks you
# send beyond the world limit.
@@ -25,7 +25,7 @@ nbtLoop: native
enum_size_based_on_values_len: native # Packet-specific custom logic
MapInfo: native
# load the packet map file (auto-generated)
# load the packet map file (auto-proto_generated)
!import: packet_map.yml
!StartDocs: Packets
@@ -257,7 +257,7 @@ packet_start_game:
0: overworld
1: nether
2: end
# Generator is the generator used for the world. It is a value from 0-4, with 0 being old
# Generator is the proto_generator used for the world. It is a value from 0-4, with 0 being old
# limited worlds, 1 being infinite worlds, 2 being flat worlds, 3 being nether worlds and
# 4 being end worlds. A value of 0 will actually make the client stop rendering chunks you
# send beyond the world limit.
@@ -25,7 +25,7 @@ nbtLoop: native
enum_size_based_on_values_len: native # Packet-specific custom logic
MapInfo: native
# load the packet map file (auto-generated)
# load the packet map file (auto-proto_generated)
!import: packet_map.yml
!StartDocs: Packets
@@ -258,7 +258,7 @@ packet_start_game:
0: overworld
1: nether
2: end
# Generator is the generator used for the world. It is a value from 0-4, with 0 being old
# Generator is the proto_generator used for the world. It is a value from 0-4, with 0 being old
# limited worlds, 1 being infinite worlds, 2 being flat worlds, 3 being nether worlds and
# 4 being end worlds. A value of 0 will actually make the client stop rendering chunks you
# send beyond the world limit.
@@ -25,7 +25,7 @@ nbtLoop: native
enum_size_based_on_values_len: native # Packet-specific custom logic
MapInfo: native
# load the packet map file (auto-generated)
# load the packet map file (auto-proto_generated)
!import: packet_map.yml
!StartDocs: Packets
@@ -259,7 +259,7 @@ packet_start_game:
0: overworld
1: nether
2: end
# Generator is the generator used for the world. It is a value from 0-4, with 0 being old
# Generator is the proto_generator used for the world. It is a value from 0-4, with 0 being old
# limited worlds, 1 being infinite worlds, 2 being flat worlds, 3 being nether worlds and
# 4 being end worlds. A value of 0 will actually make the client stop rendering chunks you
# send beyond the world limit.
@@ -25,7 +25,7 @@ nbtLoop: native
enum_size_based_on_values_len: native # Packet-specific custom logic
MapInfo: native
# load the packet map file (auto-generated)
# load the packet map file (auto-proto_generated)
!import: packet_map.yml
!StartDocs: Packets
@@ -149,11 +149,11 @@ packet_resource_packs_info:
disable_vibrant_visuals: bool
world_template:
# WorldTemplateUUID is teh UUID of the template that has been used to generate the world. Templates can
# be downloaded from the marketplace or installed via '.mctemplate' files. If the world was not generated
# be downloaded from the marketplace or installed via '.mctemplate' files. If the world was not proto_generated
# from a template, this field is empty.
uuid: uuid
# WorldTemplateVersion is the version of the world template that has been used to generate the world. If
# the world was not generated from a template, this field is empty.
# the world was not proto_generated from a template, this field is empty.
version: string
# A list of resource packs that the client needs to download before joining the server.
# The order of these resource packs is not relevant in this packet. It is however important in the Resource Pack Stack packet.
@@ -274,7 +274,7 @@ packet_start_game:
0: overworld
1: nether
2: end
# Generator is the generator used for the world. It is a value from 0-4, with 0 being old
# Generator is the proto_generator used for the world. It is a value from 0-4, with 0 being old
# limited worlds, 1 being infinite worlds, 2 being flat worlds, 3 being nether worlds and
# 4 being end worlds. A value of 0 will actually make the client stop rendering chunks you
# send beyond the world limit.
@@ -25,7 +25,7 @@ nbtLoop: native
enum_size_based_on_values_len: native # Packet-specific custom logic
MapInfo: native
# load the packet map file (auto-generated)
# load the packet map file (auto-proto_generated)
!import: packet_map.yml
!StartDocs: Packets
@@ -149,11 +149,11 @@ packet_resource_packs_info:
disable_vibrant_visuals: bool
world_template:
# WorldTemplateUUID is teh UUID of the template that has been used to generate the world. Templates can
# be downloaded from the marketplace or installed via '.mctemplate' files. If the world was not generated
# be downloaded from the marketplace or installed via '.mctemplate' files. If the world was not proto_generated
# from a template, this field is empty.
uuid: uuid
# WorldTemplateVersion is the version of the world template that has been used to generate the world. If
# the world was not generated from a template, this field is empty.
# the world was not proto_generated from a template, this field is empty.
version: string
# A list of resource packs that the client needs to download before joining the server.
# The order of these resource packs is not relevant in this packet. It is however important in the Resource Pack Stack packet.
@@ -274,7 +274,7 @@ packet_start_game:
0: overworld
1: nether
2: end
# Generator is the generator used for the world. It is a value from 0-4, with 0 being old
# Generator is the proto_generator used for the world. It is a value from 0-4, with 0 being old
# limited worlds, 1 being infinite worlds, 2 being flat worlds, 3 being nether worlds and
# 4 being end worlds. A value of 0 will actually make the client stop rendering chunks you
# send beyond the world limit.
@@ -25,7 +25,7 @@ nbtLoop: native
enum_size_based_on_values_len: native # Packet-specific custom logic
MapInfo: native
# load the packet map file (auto-generated)
# load the packet map file (auto-proto_generated)
!import: packet_map.yml
!StartDocs: Packets
@@ -149,11 +149,11 @@ packet_resource_packs_info:
disable_vibrant_visuals: bool
world_template:
# WorldTemplateUUID is teh UUID of the template that has been used to generate the world. Templates can
# be downloaded from the marketplace or installed via '.mctemplate' files. If the world was not generated
# be downloaded from the marketplace or installed via '.mctemplate' files. If the world was not proto_generated
# from a template, this field is empty.
uuid: uuid
# WorldTemplateVersion is the version of the world template that has been used to generate the world. If
# the world was not generated from a template, this field is empty.
# the world was not proto_generated from a template, this field is empty.
version: string
# A list of resource packs that the client needs to download before joining the server.
# The order of these resource packs is not relevant in this packet. It is however important in the Resource Pack Stack packet.
@@ -274,7 +274,7 @@ packet_start_game:
0: overworld
1: nether
2: end
# Generator is the generator used for the world. It is a value from 0-4, with 0 being old
# Generator is the proto_generator used for the world. It is a value from 0-4, with 0 being old
# limited worlds, 1 being infinite worlds, 2 being flat worlds, 3 being nether worlds and
# 4 being end worlds. A value of 0 will actually make the client stop rendering chunks you
# send beyond the world limit.
@@ -25,7 +25,7 @@ nbtLoop: native
enum_size_based_on_values_len: native # Packet-specific custom logic
MapInfo: native
# load the packet map file (auto-generated)
# load the packet map file (auto-proto_generated)
!import: packet_map.yml
!StartDocs: Packets
@@ -259,7 +259,7 @@ packet_start_game:
0: overworld
1: nether
2: end
# Generator is the generator used for the world. It is a value from 0-4, with 0 being old
# Generator is the proto_generator used for the world. It is a value from 0-4, with 0 being old
# limited worlds, 1 being infinite worlds, 2 being flat worlds, 3 being nether worlds and
# 4 being end worlds. A value of 0 will actually make the client stop rendering chunks you
# send beyond the world limit.
@@ -25,7 +25,7 @@ nbtLoop: native
enum_size_based_on_values_len: native # Packet-specific custom logic
MapInfo: native
# load the packet map file (auto-generated)
# load the packet map file (auto-proto_generated)
!import: packet_map.yml
!StartDocs: Packets
@@ -263,7 +263,7 @@ packet_start_game:
0: overworld
1: nether
2: end
# Generator is the generator used for the world. It is a value from 0-4, with 0 being old
# Generator is the proto_generator used for the world. It is a value from 0-4, with 0 being old
# limited worlds, 1 being infinite worlds, 2 being flat worlds, 3 being nether worlds and
# 4 being end worlds. A value of 0 will actually make the client stop rendering chunks you
# send beyond the world limit.
@@ -25,7 +25,7 @@ nbtLoop: native
enum_size_based_on_values_len: native # Packet-specific custom logic
MapInfo: native
# load the packet map file (auto-generated)
# load the packet map file (auto-proto_generated)
!import: packet_map.yml
!StartDocs: Packets
@@ -258,7 +258,7 @@ packet_start_game:
0: overworld
1: nether
2: end
# Generator is the generator used for the world. It is a value from 0-4, with 0 being old
# Generator is the proto_generator used for the world. It is a value from 0-4, with 0 being old
# limited worlds, 1 being infinite worlds, 2 being flat worlds, 3 being nether worlds and
# 4 being end worlds. A value of 0 will actually make the client stop rendering chunks you
# send beyond the world limit.
@@ -25,7 +25,7 @@ nbtLoop: native
enum_size_based_on_values_len: native # Packet-specific custom logic
MapInfo: native
# load the packet map file (auto-generated)
# load the packet map file (auto-proto_generated)
!import: packet_map.yml
!StartDocs: Packets
@@ -257,7 +257,7 @@ packet_start_game:
0: overworld
1: nether
2: end
# Generator is the generator used for the world. It is a value from 0-4, with 0 being old
# Generator is the proto_generator used for the world. It is a value from 0-4, with 0 being old
# limited worlds, 1 being infinite worlds, 2 being flat worlds, 3 being nether worlds and
# 4 being end worlds. A value of 0 will actually make the client stop rendering chunks you
# send beyond the world limit.
@@ -25,7 +25,7 @@ nbtLoop: native
enum_size_based_on_values_len: native # Packet-specific custom logic
MapInfo: native
# load the packet map file (auto-generated)
# load the packet map file (auto-proto_generated)
!import: packet_map.yml
!StartDocs: Packets
@@ -140,11 +140,11 @@ packet_resource_packs_info:
has_scripts: bool
world_template:
# WorldTemplateUUID is teh UUID of the template that has been used to generate the world. Templates can
# be downloaded from the marketplace or installed via '.mctemplate' files. If the world was not generated
# be downloaded from the marketplace or installed via '.mctemplate' files. If the world was not proto_generated
# from a template, this field is empty.
uuid: uuid
# WorldTemplateVersion is the version of the world template that has been used to generate the world. If
# the world was not generated from a template, this field is empty.
# the world was not proto_generated from a template, this field is empty.
version: string
# A list of resource packs that the client needs to download before joining the server.
# The order of these resource packs is not relevant in this packet. It is however important in the Resource Pack Stack packet.
@@ -265,7 +265,7 @@ packet_start_game:
0: overworld
1: nether
2: end
# Generator is the generator used for the world. It is a value from 0-4, with 0 being old
# Generator is the proto_generator used for the world. It is a value from 0-4, with 0 being old
# limited worlds, 1 being infinite worlds, 2 being flat worlds, 3 being nether worlds and
# 4 being end worlds. A value of 0 will actually make the client stop rendering chunks you
# send beyond the world limit.
@@ -25,7 +25,7 @@ nbtLoop: native
enum_size_based_on_values_len: native # Packet-specific custom logic
MapInfo: native
# load the packet map file (auto-generated)
# load the packet map file (auto-proto_generated)
!import: packet_map.yml
!StartDocs: Packets
@@ -141,11 +141,11 @@ packet_resource_packs_info:
has_scripts: bool
world_template:
# WorldTemplateUUID is teh UUID of the template that has been used to generate the world. Templates can
# be downloaded from the marketplace or installed via '.mctemplate' files. If the world was not generated
# be downloaded from the marketplace or installed via '.mctemplate' files. If the world was not proto_generated
# from a template, this field is empty.
uuid: uuid
# WorldTemplateVersion is the version of the world template that has been used to generate the world. If
# the world was not generated from a template, this field is empty.
# the world was not proto_generated from a template, this field is empty.
version: string
# A list of resource packs that the client needs to download before joining the server.
# The order of these resource packs is not relevant in this packet. It is however important in the Resource Pack Stack packet.
@@ -266,7 +266,7 @@ packet_start_game:
0: overworld
1: nether
2: end
# Generator is the generator used for the world. It is a value from 0-4, with 0 being old
# Generator is the proto_generator used for the world. It is a value from 0-4, with 0 being old
# limited worlds, 1 being infinite worlds, 2 being flat worlds, 3 being nether worlds and
# 4 being end worlds. A value of 0 will actually make the client stop rendering chunks you
# send beyond the world limit.
@@ -25,7 +25,7 @@ nbtLoop: native
enum_size_based_on_values_len: native # Packet-specific custom logic
MapInfo: native
# load the packet map file (auto-generated)
# load the packet map file (auto-proto_generated)
!import: packet_map.yml
!StartDocs: Packets
@@ -141,11 +141,11 @@ packet_resource_packs_info:
has_scripts: bool
world_template:
# WorldTemplateUUID is teh UUID of the template that has been used to generate the world. Templates can
# be downloaded from the marketplace or installed via '.mctemplate' files. If the world was not generated
# be downloaded from the marketplace or installed via '.mctemplate' files. If the world was not proto_generated
# from a template, this field is empty.
uuid: uuid
# WorldTemplateVersion is the version of the world template that has been used to generate the world. If
# the world was not generated from a template, this field is empty.
# the world was not proto_generated from a template, this field is empty.
version: string
# A list of resource packs that the client needs to download before joining the server.
# The order of these resource packs is not relevant in this packet. It is however important in the Resource Pack Stack packet.
@@ -266,7 +266,7 @@ packet_start_game:
0: overworld
1: nether
2: end
# Generator is the generator used for the world. It is a value from 0-4, with 0 being old
# Generator is the proto_generator used for the world. It is a value from 0-4, with 0 being old
# limited worlds, 1 being infinite worlds, 2 being flat worlds, 3 being nether worlds and
# 4 being end worlds. A value of 0 will actually make the client stop rendering chunks you
# send beyond the world limit.
@@ -25,7 +25,7 @@ nbtLoop: native
enum_size_based_on_values_len: native # Packet-specific custom logic
MapInfo: native
# load the packet map file (auto-generated)
# load the packet map file (auto-proto_generated)
!import: packet_map.yml
!StartDocs: Packets
@@ -141,11 +141,11 @@ packet_resource_packs_info:
has_scripts: bool
world_template:
# WorldTemplateUUID is teh UUID of the template that has been used to generate the world. Templates can
# be downloaded from the marketplace or installed via '.mctemplate' files. If the world was not generated
# be downloaded from the marketplace or installed via '.mctemplate' files. If the world was not proto_generated
# from a template, this field is empty.
uuid: uuid
# WorldTemplateVersion is the version of the world template that has been used to generate the world. If
# the world was not generated from a template, this field is empty.
# the world was not proto_generated from a template, this field is empty.
version: string
# A list of resource packs that the client needs to download before joining the server.
# The order of these resource packs is not relevant in this packet. It is however important in the Resource Pack Stack packet.
@@ -266,7 +266,7 @@ packet_start_game:
0: overworld
1: nether
2: end
# Generator is the generator used for the world. It is a value from 0-4, with 0 being old
# Generator is the proto_generator used for the world. It is a value from 0-4, with 0 being old
# limited worlds, 1 being infinite worlds, 2 being flat worlds, 3 being nether worlds and
# 4 being end worlds. A value of 0 will actually make the client stop rendering chunks you
# send beyond the world limit.
@@ -25,7 +25,7 @@ nbtLoop: native
enum_size_based_on_values_len: native # Packet-specific custom logic
MapInfo: native
# load the packet map file (auto-generated)
# load the packet map file (auto-proto_generated)
!import: packet_map.yml
!StartDocs: Packets
@@ -149,11 +149,11 @@ packet_resource_packs_info:
disable_vibrant_visuals: bool
world_template:
# WorldTemplateUUID is teh UUID of the template that has been used to generate the world. Templates can
# be downloaded from the marketplace or installed via '.mctemplate' files. If the world was not generated
# be downloaded from the marketplace or installed via '.mctemplate' files. If the world was not proto_generated
# from a template, this field is empty.
uuid: uuid
# WorldTemplateVersion is the version of the world template that has been used to generate the world. If
# the world was not generated from a template, this field is empty.
# the world was not proto_generated from a template, this field is empty.
version: string
# A list of resource packs that the client needs to download before joining the server.
# The order of these resource packs is not relevant in this packet. It is however important in the Resource Pack Stack packet.
@@ -274,7 +274,7 @@ packet_start_game:
0: overworld
1: nether
2: end
# Generator is the generator used for the world. It is a value from 0-4, with 0 being old
# Generator is the proto_generator used for the world. It is a value from 0-4, with 0 being old
# limited worlds, 1 being infinite worlds, 2 being flat worlds, 3 being nether worlds and
# 4 being end worlds. A value of 0 will actually make the client stop rendering chunks you
# send beyond the world limit.
@@ -25,7 +25,7 @@ nbtLoop: native
enum_size_based_on_values_len: native # Packet-specific custom logic
MapInfo: native
# load the packet map file (auto-generated)
# load the packet map file (auto-proto_generated)
!import: packet_map.yml
!StartDocs: Packets
@@ -149,11 +149,11 @@ packet_resource_packs_info:
disable_vibrant_visuals: bool
world_template:
# WorldTemplateUUID is teh UUID of the template that has been used to generate the world. Templates can
# be downloaded from the marketplace or installed via '.mctemplate' files. If the world was not generated
# be downloaded from the marketplace or installed via '.mctemplate' files. If the world was not proto_generated
# from a template, this field is empty.
uuid: uuid
# WorldTemplateVersion is the version of the world template that has been used to generate the world. If
# the world was not generated from a template, this field is empty.
# the world was not proto_generated from a template, this field is empty.
version: string
# A list of resource packs that the client needs to download before joining the server.
# The order of these resource packs is not relevant in this packet. It is however important in the Resource Pack Stack packet.
@@ -274,7 +274,7 @@ packet_start_game:
0: overworld
1: nether
2: end
# Generator is the generator used for the world. It is a value from 0-4, with 0 being old
# Generator is the proto_generator used for the world. It is a value from 0-4, with 0 being old
# limited worlds, 1 being infinite worlds, 2 being flat worlds, 3 being nether worlds and
# 4 being end worlds. A value of 0 will actually make the client stop rendering chunks you
# send beyond the world limit.
@@ -25,7 +25,7 @@ nbtLoop: native
enum_size_based_on_values_len: native # Packet-specific custom logic
MapInfo: native
# load the packet map file (auto-generated)
# load the packet map file (auto-proto_generated)
!import: packet_map.yml
!StartDocs: Packets
@@ -149,11 +149,11 @@ packet_resource_packs_info:
disable_vibrant_visuals: bool
world_template:
# WorldTemplateUUID is teh UUID of the template that has been used to generate the world. Templates can
# be downloaded from the marketplace or installed via '.mctemplate' files. If the world was not generated
# be downloaded from the marketplace or installed via '.mctemplate' files. If the world was not proto_generated
# from a template, this field is empty.
uuid: uuid
# WorldTemplateVersion is the version of the world template that has been used to generate the world. If
# the world was not generated from a template, this field is empty.
# the world was not proto_generated from a template, this field is empty.
version: string
# A list of resource packs that the client needs to download before joining the server.
# The order of these resource packs is not relevant in this packet. It is however important in the Resource Pack Stack packet.
@@ -274,7 +274,7 @@ packet_start_game:
0: overworld
1: nether
2: end
# Generator is the generator used for the world. It is a value from 0-4, with 0 being old
# Generator is the proto_generator used for the world. It is a value from 0-4, with 0 being old
# limited worlds, 1 being infinite worlds, 2 being flat worlds, 3 being nether worlds and
# 4 being end worlds. A value of 0 will actually make the client stop rendering chunks you
# send beyond the world limit.
+1 -1
View File
@@ -555,7 +555,7 @@
# This represents a single component within an UntrustedSlot.
# The 'data' field is a varint-prefixed byte array that contains the actual component data.
# The code generator will need to know that it should read a varint for length, then the bytes.
# The code proto_generator will need to know that it should read a varint for length, then the bytes.
UntrustedSlotComponent:
type: SlotComponentType
data: ByteArray
+1 -1
View File
@@ -558,7 +558,7 @@
# This represents a single component within an UntrustedSlot.
# The 'data' field is a varint-prefixed byte array that contains the actual component data.
# The code generator will need to know that it should read a varint for length, then the bytes.
# The code proto_generator will need to know that it should read a varint for length, then the bytes.
UntrustedSlotComponent:
type: SlotComponentType
data: ByteArray
+1 -1
View File
@@ -558,7 +558,7 @@
# This represents a single component within an UntrustedSlot.
# The 'data' field is a varint-prefixed byte array that contains the actual component data.
# The code generator will need to know that it should read a varint for length, then the bytes.
# The code proto_generator will need to know that it should read a varint for length, then the bytes.
UntrustedSlotComponent:
type: SlotComponentType
data: ByteArray
@@ -80,7 +80,7 @@ function validate (edition, ver, path) {
? JSON.stringify({ types: json }, visitor, 2)
: JSON.stringify(json, visitor, 2)
// If you crash here, no protocol.json was generated - run `npm run build`
// If you crash here, no protocol.json was proto_generated - run `npm run build`
const actual = JSON.stringify(getJSON(`../${version}/protocol.json`), null, 2)
// Make sure the protocol_expected.json file equals the protocol.json file; otherwise the JSON must be rebuilt