minecraft-data 3.43.1 → 3.45.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/doc/history.md +8 -0
- package/minecraft-data/.github/helper-bot/index.js +58 -59
- package/minecraft-data/.github/workflows/update-helper.yml +1 -1
- package/minecraft-data/data/bedrock/1.16.220/protocol.json +3 -3
- package/minecraft-data/data/bedrock/1.16.220/types.yml +3 -3
- package/minecraft-data/data/bedrock/1.17.0/protocol.json +3 -3
- package/minecraft-data/data/bedrock/1.17.0/types.yml +3 -3
- package/minecraft-data/data/bedrock/1.17.10/protocol.json +3 -3
- package/minecraft-data/data/bedrock/1.17.10/types.yml +3 -3
- package/minecraft-data/data/bedrock/1.17.30/protocol.json +3 -3
- package/minecraft-data/data/bedrock/1.17.30/types.yml +3 -3
- package/minecraft-data/data/bedrock/1.17.40/protocol.json +3 -3
- package/minecraft-data/data/bedrock/1.17.40/types.yml +3 -3
- package/minecraft-data/data/bedrock/1.18.0/protocol.json +3 -3
- package/minecraft-data/data/bedrock/1.18.0/types.yml +3 -3
- package/minecraft-data/data/bedrock/1.18.11/protocol.json +3 -3
- package/minecraft-data/data/bedrock/1.18.11/types.yml +3 -3
- package/minecraft-data/data/bedrock/1.18.30/protocol.json +3 -3
- package/minecraft-data/data/bedrock/1.18.30/types.yml +3 -3
- package/minecraft-data/data/bedrock/1.19.1/protocol.json +3 -3
- package/minecraft-data/data/bedrock/1.19.1/types.yml +3 -3
- package/minecraft-data/data/bedrock/1.19.10/protocol.json +3 -3
- package/minecraft-data/data/bedrock/1.19.10/types.yml +3 -3
- package/minecraft-data/data/bedrock/1.19.20/protocol.json +3 -3
- package/minecraft-data/data/bedrock/1.19.20/types.yml +3 -3
- package/minecraft-data/data/bedrock/1.19.21/protocol.json +3 -3
- package/minecraft-data/data/bedrock/1.19.21/types.yml +3 -3
- package/minecraft-data/data/bedrock/1.19.30/protocol.json +3 -3
- package/minecraft-data/data/bedrock/1.19.30/types.yml +3 -3
- package/minecraft-data/data/bedrock/1.19.40/protocol.json +3 -3
- package/minecraft-data/data/bedrock/1.19.40/types.yml +3 -3
- package/minecraft-data/data/bedrock/1.19.50/protocol.json +3 -3
- package/minecraft-data/data/bedrock/1.19.50/types.yml +3 -3
- package/minecraft-data/data/bedrock/1.19.60/protocol.json +3 -3
- package/minecraft-data/data/bedrock/1.19.60/types.yml +3 -3
- package/minecraft-data/data/bedrock/1.19.62/protocol.json +3 -3
- package/minecraft-data/data/bedrock/1.19.62/types.yml +3 -3
- package/minecraft-data/data/bedrock/1.19.70/protocol.json +3 -3
- package/minecraft-data/data/bedrock/1.19.70/types.yml +3 -3
- package/minecraft-data/data/bedrock/1.19.80/protocol.json +3 -3
- package/minecraft-data/data/bedrock/1.19.80/types.yml +3 -3
- package/minecraft-data/data/bedrock/1.20.0/protocol.json +3 -3
- package/minecraft-data/data/bedrock/1.20.0/types.yml +3 -3
- package/minecraft-data/data/bedrock/1.20.10/protocol.json +3 -3
- package/minecraft-data/data/bedrock/common/features.json +10 -0
- package/minecraft-data/data/bedrock/latest/types.yml +3 -3
- package/minecraft-data/data/pc/1.19.4/protocol.json +4 -4
- package/minecraft-data/data/pc/1.20/blocks.json +18251 -16821
- package/minecraft-data/data/pc/common/features.json +46 -1
- package/minecraft-data/data/pc/common/protocolVersions.json +16 -0
- package/minecraft-data/doc/history.md +10 -0
- package/package.json +2 -2
package/doc/history.md
CHANGED
|
@@ -1,28 +1,9 @@
|
|
|
1
1
|
const fs = require('fs')
|
|
2
2
|
const cp = require('child_process')
|
|
3
|
-
const https = require('https')
|
|
4
3
|
const helper = require('./github-helper')
|
|
5
4
|
const pcManifestURL = 'https://launchermeta.mojang.com/mc/game/version_manifest.json'
|
|
6
5
|
const changelogURL = 'https://feedback.minecraft.net/hc/en-us/sections/360001186971-Release-Changelogs'
|
|
7
6
|
|
|
8
|
-
// this is a polyfill for node <18
|
|
9
|
-
const fetch = globalThis.fetch || function (url) {
|
|
10
|
-
return new Promise((resolve, reject) => {
|
|
11
|
-
https.get(url, (res) => {
|
|
12
|
-
let data = ''
|
|
13
|
-
res.on('data', (chunk) => {
|
|
14
|
-
data += chunk
|
|
15
|
-
})
|
|
16
|
-
res.on('end', () => {
|
|
17
|
-
resolve({
|
|
18
|
-
ok: true,
|
|
19
|
-
text: () => Promise.resolve(data),
|
|
20
|
-
json: () => Promise.resolve(JSON.parse(data))
|
|
21
|
-
})
|
|
22
|
-
})
|
|
23
|
-
}).on('error', reject)
|
|
24
|
-
})
|
|
25
|
-
}
|
|
26
7
|
const download = (url, dest) => cp.execSync(`curl -L ${url} -o ${dest}`)
|
|
27
8
|
|
|
28
9
|
function buildFirstIssue (title, result, jarData) {
|
|
@@ -65,43 +46,78 @@ async function updateManifestPC () {
|
|
|
65
46
|
const manifest = await fetch(pcManifestURL).then(res => res.json())
|
|
66
47
|
// fs.writeFileSync('./manifest.json', JSON.stringify(manifest, null, 2))
|
|
67
48
|
const knownVersions = protocolVersions.pc.reduce((acc, cur) => (acc[cur.minecraftVersion] = cur, acc), {})
|
|
68
|
-
const
|
|
49
|
+
const latestVersion = manifest.latest.snapshot
|
|
50
|
+
const latestVersionData = manifest.versions.find(v => v.id === latestVersion)
|
|
51
|
+
const latestVersionIsSnapshot = latestVersionData.type !== 'release'
|
|
69
52
|
|
|
70
|
-
const title = `Support Minecraft PC ${
|
|
53
|
+
const title = `Support Minecraft PC ${latestVersion}`
|
|
71
54
|
const issueStatus = await helper.getIssueStatus(title)
|
|
72
55
|
|
|
73
|
-
if (
|
|
74
|
-
|
|
75
|
-
|
|
56
|
+
if (latestVersionIsSnapshot) {
|
|
57
|
+
// don't make issues for snapshots
|
|
58
|
+
if (supportedVersions.pc.includes(latestVersion) || knownVersions[latestVersion]) {
|
|
59
|
+
console.log('Latest version is a known snapshot, no work to do')
|
|
60
|
+
return
|
|
76
61
|
}
|
|
77
|
-
console.log('Latest PC version is supported.')
|
|
78
|
-
return
|
|
79
|
-
} else if (knownVersions[latestRelease]) {
|
|
80
|
-
console.log(`Latest PC version ${latestRelease} is known in protocolVersions.json, but not in versions.json (protocol version ${knownVersions[latestRelease].version})`)
|
|
81
|
-
return
|
|
82
62
|
} else {
|
|
83
|
-
|
|
63
|
+
if (supportedVersions.pc.includes(latestVersion)) {
|
|
64
|
+
if (issueStatus.open) {
|
|
65
|
+
helper.close(issueStatus.id, `Closing as PC ${latestVersion} is now supported`)
|
|
66
|
+
}
|
|
67
|
+
console.log('Latest PC version is supported.')
|
|
68
|
+
return
|
|
69
|
+
} else if (knownVersions[latestVersion]) {
|
|
70
|
+
console.log(`Latest PC version ${latestVersion} is known in protocolVersions.json, but not in versions.json (protocol version ${knownVersions[latestVersion].version})`)
|
|
71
|
+
return
|
|
72
|
+
} else {
|
|
73
|
+
console.log(`Latest PC version ${latestVersion} is not known in protocolVersions.json, adding and making issue`)
|
|
74
|
+
}
|
|
84
75
|
}
|
|
85
|
-
const latestReleaseData = manifest.versions.find(v => v.id === latestRelease)
|
|
86
76
|
|
|
87
|
-
|
|
88
|
-
// (data like protocol/blocks/items/etc is present), just to make sure the known protocol version is correct.
|
|
77
|
+
let versionJson
|
|
89
78
|
try {
|
|
90
|
-
|
|
79
|
+
versionJson = await addEntryFor(latestVersion, latestVersionData)
|
|
80
|
+
} catch (e) {
|
|
81
|
+
console.error(e)
|
|
82
|
+
|
|
83
|
+
if (latestVersionIsSnapshot) {
|
|
84
|
+
console.warn('Failed to update protocolVersions.json for the snapshot', latestVersion)
|
|
85
|
+
} else {
|
|
86
|
+
console.log('Latest PC version is not supported and we failed to load data. Opening issue...')
|
|
87
|
+
const issuePayload = buildFirstIssue(title, latestVersionData)
|
|
88
|
+
helper.createIssue(issuePayload)
|
|
89
|
+
|
|
90
|
+
fs.writeFileSync('./issue.md', issuePayload.body)
|
|
91
|
+
console.log('OK, wrote to ./issue.md', issuePayload)
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
if (!latestVersionIsSnapshot && !issueStatus.open && !issueStatus.closed) {
|
|
96
|
+
console.log('Opening issue', versionJson)
|
|
97
|
+
const issuePayload = buildFirstIssue(title, latestVersionData, versionJson)
|
|
98
|
+
|
|
99
|
+
helper.createIssue(issuePayload)
|
|
100
|
+
|
|
101
|
+
fs.writeFileSync('./issue.md', issuePayload.body)
|
|
102
|
+
console.log('OK, wrote to ./issue.md', issuePayload)
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
async function addEntryFor (releaseVersion, releaseData) {
|
|
106
|
+
const latestReleaseManifest = await fetch(releaseData.url).then(res => res.json())
|
|
91
107
|
// Download client jar
|
|
92
|
-
if (!fs.existsSync(`./${
|
|
108
|
+
if (!fs.existsSync(`./${releaseVersion}.jar`)) {
|
|
93
109
|
const clientJarUrl = latestReleaseManifest.downloads.client.url
|
|
94
110
|
console.log('Downloading client jar', clientJarUrl)
|
|
95
|
-
download(clientJarUrl, `./${
|
|
111
|
+
download(clientJarUrl, `./${releaseVersion}.jar`)
|
|
96
112
|
}
|
|
97
113
|
|
|
98
114
|
// Log the byte size of the client jar
|
|
99
|
-
const clientJarSize = fs.statSync(`./${
|
|
100
|
-
console.log(`Downloaded client jar ${
|
|
115
|
+
const clientJarSize = fs.statSync(`./${releaseVersion}.jar`).size
|
|
116
|
+
console.log(`Downloaded client jar ${releaseVersion}.jar (${clientJarSize} bytes), extracting its version.json...`)
|
|
101
117
|
|
|
102
118
|
// unzip with tar / unzip, Actions image uses 7z
|
|
103
|
-
if (process.platform === 'win32') cp.execSync(`tar -xf ./${
|
|
104
|
-
else cp.execSync(`7z -y e ./${
|
|
119
|
+
if (process.platform === 'win32') cp.execSync(`tar -xf ./${releaseVersion}.jar version.json`)
|
|
120
|
+
else cp.execSync(`7z -y e ./${releaseVersion}.jar version.json`, { stdio: 'inherit' })
|
|
105
121
|
const versionJson = require('./version.json')
|
|
106
122
|
|
|
107
123
|
let majorVersion
|
|
@@ -118,7 +134,7 @@ async function updateManifestPC () {
|
|
|
118
134
|
dataVersion: versionJson.world_version,
|
|
119
135
|
usesNetty: true,
|
|
120
136
|
majorVersion,
|
|
121
|
-
releaseType:
|
|
137
|
+
releaseType: latestVersionData.type
|
|
122
138
|
}
|
|
123
139
|
console.log('Adding new entry to pc protocolVersions.json', newEntry)
|
|
124
140
|
const updatedProtocolVersions = [newEntry, ...protocolVersions.pc]
|
|
@@ -134,24 +150,7 @@ async function updateManifestPC () {
|
|
|
134
150
|
cp.execSync('git push')
|
|
135
151
|
}
|
|
136
152
|
|
|
137
|
-
|
|
138
|
-
console.log('Opening issue', versionJson)
|
|
139
|
-
const issuePayload = buildFirstIssue(title, latestReleaseData, versionJson)
|
|
140
|
-
|
|
141
|
-
helper.createIssue(issuePayload)
|
|
142
|
-
|
|
143
|
-
fs.writeFileSync('./issue.md', issuePayload.body)
|
|
144
|
-
console.log('OK, wrote to ./issue.md', issuePayload)
|
|
145
|
-
}
|
|
146
|
-
} catch (e) {
|
|
147
|
-
console.error(e)
|
|
148
|
-
|
|
149
|
-
console.log('Latest PC version is not supported and we failed to load data. Opening issue...')
|
|
150
|
-
const issuePayload = buildFirstIssue(title, latestReleaseData)
|
|
151
|
-
helper.createIssue(issuePayload)
|
|
152
|
-
|
|
153
|
-
fs.writeFileSync('./issue.md', issuePayload.body)
|
|
154
|
-
console.log('OK, wrote to ./issue.md', issuePayload)
|
|
153
|
+
return versionJson
|
|
155
154
|
}
|
|
156
155
|
}
|
|
157
156
|
|
|
@@ -2064,7 +2064,7 @@
|
|
|
2064
2064
|
[
|
|
2065
2065
|
{
|
|
2066
2066
|
"name": "request_id",
|
|
2067
|
-
"type": "
|
|
2067
|
+
"type": "zigzag32"
|
|
2068
2068
|
},
|
|
2069
2069
|
{
|
|
2070
2070
|
"name": "actions",
|
|
@@ -2342,7 +2342,7 @@
|
|
|
2342
2342
|
},
|
|
2343
2343
|
{
|
|
2344
2344
|
"name": "request_id",
|
|
2345
|
-
"type": "
|
|
2345
|
+
"type": "zigzag32"
|
|
2346
2346
|
},
|
|
2347
2347
|
{
|
|
2348
2348
|
"anon": true,
|
|
@@ -2390,7 +2390,7 @@
|
|
|
2390
2390
|
},
|
|
2391
2391
|
{
|
|
2392
2392
|
"name": "item_stack_id",
|
|
2393
|
-
"type": "
|
|
2393
|
+
"type": "zigzag32"
|
|
2394
2394
|
},
|
|
2395
2395
|
{
|
|
2396
2396
|
"name": "custom_name",
|
|
@@ -779,7 +779,7 @@ StackRequestSlotInfo:
|
|
|
779
779
|
ItemStackRequest:
|
|
780
780
|
# RequestID is a unique ID for the request. This ID is used by the server to send a response for this
|
|
781
781
|
# specific request in the ItemStackResponse packet.
|
|
782
|
-
request_id:
|
|
782
|
+
request_id: zigzag32
|
|
783
783
|
actions: []varint
|
|
784
784
|
type_id: u8 =>
|
|
785
785
|
# TakeStackRequestAction is sent by the client to the server to take x amount of items from one slot in a
|
|
@@ -915,7 +915,7 @@ ItemStackResponses: []varint
|
|
|
915
915
|
1: error
|
|
916
916
|
# RequestID is the unique ID of the request that this response is in reaction to. If rejected, the client
|
|
917
917
|
# will undo the actions from the request with this ID.
|
|
918
|
-
request_id:
|
|
918
|
+
request_id: zigzag32
|
|
919
919
|
_: status ?
|
|
920
920
|
if ok:
|
|
921
921
|
# ContainerInfo holds information on the containers that had their contents changed as a result of the
|
|
@@ -936,7 +936,7 @@ ItemStackResponses: []varint
|
|
|
936
936
|
# sent to the client.
|
|
937
937
|
count: u8
|
|
938
938
|
# StackNetworkID is the network ID of the new stack at a specific slot.
|
|
939
|
-
item_stack_id:
|
|
939
|
+
item_stack_id: zigzag32
|
|
940
940
|
# CustomName is the custom name of the item stack. It is used in relation to text filtering.
|
|
941
941
|
custom_name: string
|
|
942
942
|
# DurabilityCorrection is the current durability of the item stack. This durability will be shown
|
|
@@ -2067,7 +2067,7 @@
|
|
|
2067
2067
|
[
|
|
2068
2068
|
{
|
|
2069
2069
|
"name": "request_id",
|
|
2070
|
-
"type": "
|
|
2070
|
+
"type": "zigzag32"
|
|
2071
2071
|
},
|
|
2072
2072
|
{
|
|
2073
2073
|
"name": "actions",
|
|
@@ -2345,7 +2345,7 @@
|
|
|
2345
2345
|
},
|
|
2346
2346
|
{
|
|
2347
2347
|
"name": "request_id",
|
|
2348
|
-
"type": "
|
|
2348
|
+
"type": "zigzag32"
|
|
2349
2349
|
},
|
|
2350
2350
|
{
|
|
2351
2351
|
"anon": true,
|
|
@@ -2393,7 +2393,7 @@
|
|
|
2393
2393
|
},
|
|
2394
2394
|
{
|
|
2395
2395
|
"name": "item_stack_id",
|
|
2396
|
-
"type": "
|
|
2396
|
+
"type": "zigzag32"
|
|
2397
2397
|
},
|
|
2398
2398
|
{
|
|
2399
2399
|
"name": "custom_name",
|
|
@@ -782,7 +782,7 @@ StackRequestSlotInfo:
|
|
|
782
782
|
ItemStackRequest:
|
|
783
783
|
# RequestID is a unique ID for the request. This ID is used by the server to send a response for this
|
|
784
784
|
# specific request in the ItemStackResponse packet.
|
|
785
|
-
request_id:
|
|
785
|
+
request_id: zigzag32
|
|
786
786
|
actions: []varint
|
|
787
787
|
type_id: u8 =>
|
|
788
788
|
# TakeStackRequestAction is sent by the client to the server to take x amount of items from one slot in a
|
|
@@ -918,7 +918,7 @@ ItemStackResponses: []varint
|
|
|
918
918
|
1: error
|
|
919
919
|
# RequestID is the unique ID of the request that this response is in reaction to. If rejected, the client
|
|
920
920
|
# will undo the actions from the request with this ID.
|
|
921
|
-
request_id:
|
|
921
|
+
request_id: zigzag32
|
|
922
922
|
_: status ?
|
|
923
923
|
if ok:
|
|
924
924
|
# ContainerInfo holds information on the containers that had their contents changed as a result of the
|
|
@@ -939,7 +939,7 @@ ItemStackResponses: []varint
|
|
|
939
939
|
# sent to the client.
|
|
940
940
|
count: u8
|
|
941
941
|
# StackNetworkID is the network ID of the new stack at a specific slot.
|
|
942
|
-
item_stack_id:
|
|
942
|
+
item_stack_id: zigzag32
|
|
943
943
|
# CustomName is the custom name of the item stack. It is used in relation to text filtering.
|
|
944
944
|
custom_name: string
|
|
945
945
|
# DurabilityCorrection is the current durability of the item stack. This durability will be shown
|
|
@@ -2067,7 +2067,7 @@
|
|
|
2067
2067
|
[
|
|
2068
2068
|
{
|
|
2069
2069
|
"name": "request_id",
|
|
2070
|
-
"type": "
|
|
2070
|
+
"type": "zigzag32"
|
|
2071
2071
|
},
|
|
2072
2072
|
{
|
|
2073
2073
|
"name": "actions",
|
|
@@ -2345,7 +2345,7 @@
|
|
|
2345
2345
|
},
|
|
2346
2346
|
{
|
|
2347
2347
|
"name": "request_id",
|
|
2348
|
-
"type": "
|
|
2348
|
+
"type": "zigzag32"
|
|
2349
2349
|
},
|
|
2350
2350
|
{
|
|
2351
2351
|
"anon": true,
|
|
@@ -2393,7 +2393,7 @@
|
|
|
2393
2393
|
},
|
|
2394
2394
|
{
|
|
2395
2395
|
"name": "item_stack_id",
|
|
2396
|
-
"type": "
|
|
2396
|
+
"type": "zigzag32"
|
|
2397
2397
|
},
|
|
2398
2398
|
{
|
|
2399
2399
|
"name": "custom_name",
|
|
@@ -782,7 +782,7 @@ StackRequestSlotInfo:
|
|
|
782
782
|
ItemStackRequest:
|
|
783
783
|
# RequestID is a unique ID for the request. This ID is used by the server to send a response for this
|
|
784
784
|
# specific request in the ItemStackResponse packet.
|
|
785
|
-
request_id:
|
|
785
|
+
request_id: zigzag32
|
|
786
786
|
actions: []varint
|
|
787
787
|
type_id: u8 =>
|
|
788
788
|
# TakeStackRequestAction is sent by the client to the server to take x amount of items from one slot in a
|
|
@@ -918,7 +918,7 @@ ItemStackResponses: []varint
|
|
|
918
918
|
1: error
|
|
919
919
|
# RequestID is the unique ID of the request that this response is in reaction to. If rejected, the client
|
|
920
920
|
# will undo the actions from the request with this ID.
|
|
921
|
-
request_id:
|
|
921
|
+
request_id: zigzag32
|
|
922
922
|
_: status ?
|
|
923
923
|
if ok:
|
|
924
924
|
# ContainerInfo holds information on the containers that had their contents changed as a result of the
|
|
@@ -939,7 +939,7 @@ ItemStackResponses: []varint
|
|
|
939
939
|
# sent to the client.
|
|
940
940
|
count: u8
|
|
941
941
|
# StackNetworkID is the network ID of the new stack at a specific slot.
|
|
942
|
-
item_stack_id:
|
|
942
|
+
item_stack_id: zigzag32
|
|
943
943
|
# CustomName is the custom name of the item stack. It is used in relation to text filtering.
|
|
944
944
|
custom_name: string
|
|
945
945
|
# DurabilityCorrection is the current durability of the item stack. This durability will be shown
|
|
@@ -2075,7 +2075,7 @@
|
|
|
2075
2075
|
[
|
|
2076
2076
|
{
|
|
2077
2077
|
"name": "request_id",
|
|
2078
|
-
"type": "
|
|
2078
|
+
"type": "zigzag32"
|
|
2079
2079
|
},
|
|
2080
2080
|
{
|
|
2081
2081
|
"name": "actions",
|
|
@@ -2353,7 +2353,7 @@
|
|
|
2353
2353
|
},
|
|
2354
2354
|
{
|
|
2355
2355
|
"name": "request_id",
|
|
2356
|
-
"type": "
|
|
2356
|
+
"type": "zigzag32"
|
|
2357
2357
|
},
|
|
2358
2358
|
{
|
|
2359
2359
|
"anon": true,
|
|
@@ -2401,7 +2401,7 @@
|
|
|
2401
2401
|
},
|
|
2402
2402
|
{
|
|
2403
2403
|
"name": "item_stack_id",
|
|
2404
|
-
"type": "
|
|
2404
|
+
"type": "zigzag32"
|
|
2405
2405
|
},
|
|
2406
2406
|
{
|
|
2407
2407
|
"name": "custom_name",
|
|
@@ -787,7 +787,7 @@ StackRequestSlotInfo:
|
|
|
787
787
|
ItemStackRequest:
|
|
788
788
|
# RequestID is a unique ID for the request. This ID is used by the server to send a response for this
|
|
789
789
|
# specific request in the ItemStackResponse packet.
|
|
790
|
-
request_id:
|
|
790
|
+
request_id: zigzag32
|
|
791
791
|
actions: []varint
|
|
792
792
|
type_id: u8 =>
|
|
793
793
|
# TakeStackRequestAction is sent by the client to the server to take x amount of items from one slot in a
|
|
@@ -923,7 +923,7 @@ ItemStackResponses: []varint
|
|
|
923
923
|
1: error
|
|
924
924
|
# RequestID is the unique ID of the request that this response is in reaction to. If rejected, the client
|
|
925
925
|
# will undo the actions from the request with this ID.
|
|
926
|
-
request_id:
|
|
926
|
+
request_id: zigzag32
|
|
927
927
|
_: status ?
|
|
928
928
|
if ok:
|
|
929
929
|
# ContainerInfo holds information on the containers that had their contents changed as a result of the
|
|
@@ -944,7 +944,7 @@ ItemStackResponses: []varint
|
|
|
944
944
|
# sent to the client.
|
|
945
945
|
count: u8
|
|
946
946
|
# StackNetworkID is the network ID of the new stack at a specific slot.
|
|
947
|
-
item_stack_id:
|
|
947
|
+
item_stack_id: zigzag32
|
|
948
948
|
# CustomName is the custom name of the item stack. It is used in relation to text filtering.
|
|
949
949
|
custom_name: string
|
|
950
950
|
# DurabilityCorrection is the current durability of the item stack. This durability will be shown
|
|
@@ -2075,7 +2075,7 @@
|
|
|
2075
2075
|
[
|
|
2076
2076
|
{
|
|
2077
2077
|
"name": "request_id",
|
|
2078
|
-
"type": "
|
|
2078
|
+
"type": "zigzag32"
|
|
2079
2079
|
},
|
|
2080
2080
|
{
|
|
2081
2081
|
"name": "actions",
|
|
@@ -2377,7 +2377,7 @@
|
|
|
2377
2377
|
},
|
|
2378
2378
|
{
|
|
2379
2379
|
"name": "request_id",
|
|
2380
|
-
"type": "
|
|
2380
|
+
"type": "zigzag32"
|
|
2381
2381
|
},
|
|
2382
2382
|
{
|
|
2383
2383
|
"anon": true,
|
|
@@ -2425,7 +2425,7 @@
|
|
|
2425
2425
|
},
|
|
2426
2426
|
{
|
|
2427
2427
|
"name": "item_stack_id",
|
|
2428
|
-
"type": "
|
|
2428
|
+
"type": "zigzag32"
|
|
2429
2429
|
},
|
|
2430
2430
|
{
|
|
2431
2431
|
"name": "custom_name",
|
|
@@ -787,7 +787,7 @@ StackRequestSlotInfo:
|
|
|
787
787
|
ItemStackRequest:
|
|
788
788
|
# RequestID is a unique ID for the request. This ID is used by the server to send a response for this
|
|
789
789
|
# specific request in the ItemStackResponse packet.
|
|
790
|
-
request_id:
|
|
790
|
+
request_id: zigzag32
|
|
791
791
|
actions: []varint
|
|
792
792
|
type_id: u8 =>
|
|
793
793
|
# TakeStackRequestAction is sent by the client to the server to take x amount of items from one slot in a
|
|
@@ -938,7 +938,7 @@ ItemStackResponses: []varint
|
|
|
938
938
|
1: error
|
|
939
939
|
# RequestID is the unique ID of the request that this response is in reaction to. If rejected, the client
|
|
940
940
|
# will undo the actions from the request with this ID.
|
|
941
|
-
request_id:
|
|
941
|
+
request_id: zigzag32
|
|
942
942
|
_: status ?
|
|
943
943
|
if ok:
|
|
944
944
|
# ContainerInfo holds information on the containers that had their contents changed as a result of the
|
|
@@ -959,7 +959,7 @@ ItemStackResponses: []varint
|
|
|
959
959
|
# sent to the client.
|
|
960
960
|
count: u8
|
|
961
961
|
# StackNetworkID is the network ID of the new stack at a specific slot.
|
|
962
|
-
item_stack_id:
|
|
962
|
+
item_stack_id: zigzag32
|
|
963
963
|
# CustomName is the custom name of the item stack. It is used in relation to text filtering.
|
|
964
964
|
custom_name: string
|
|
965
965
|
# DurabilityCorrection is the current durability of the item stack. This durability will be shown
|
|
@@ -2075,7 +2075,7 @@
|
|
|
2075
2075
|
[
|
|
2076
2076
|
{
|
|
2077
2077
|
"name": "request_id",
|
|
2078
|
-
"type": "
|
|
2078
|
+
"type": "zigzag32"
|
|
2079
2079
|
},
|
|
2080
2080
|
{
|
|
2081
2081
|
"name": "actions",
|
|
@@ -2377,7 +2377,7 @@
|
|
|
2377
2377
|
},
|
|
2378
2378
|
{
|
|
2379
2379
|
"name": "request_id",
|
|
2380
|
-
"type": "
|
|
2380
|
+
"type": "zigzag32"
|
|
2381
2381
|
},
|
|
2382
2382
|
{
|
|
2383
2383
|
"anon": true,
|
|
@@ -2425,7 +2425,7 @@
|
|
|
2425
2425
|
},
|
|
2426
2426
|
{
|
|
2427
2427
|
"name": "item_stack_id",
|
|
2428
|
-
"type": "
|
|
2428
|
+
"type": "zigzag32"
|
|
2429
2429
|
},
|
|
2430
2430
|
{
|
|
2431
2431
|
"name": "custom_name",
|
|
@@ -787,7 +787,7 @@ StackRequestSlotInfo:
|
|
|
787
787
|
ItemStackRequest:
|
|
788
788
|
# RequestID is a unique ID for the request. This ID is used by the server to send a response for this
|
|
789
789
|
# specific request in the ItemStackResponse packet.
|
|
790
|
-
request_id:
|
|
790
|
+
request_id: zigzag32
|
|
791
791
|
actions: []varint
|
|
792
792
|
type_id: u8 =>
|
|
793
793
|
# TakeStackRequestAction is sent by the client to the server to take x amount of items from one slot in a
|
|
@@ -938,7 +938,7 @@ ItemStackResponses: []varint
|
|
|
938
938
|
1: error
|
|
939
939
|
# RequestID is the unique ID of the request that this response is in reaction to. If rejected, the client
|
|
940
940
|
# will undo the actions from the request with this ID.
|
|
941
|
-
request_id:
|
|
941
|
+
request_id: zigzag32
|
|
942
942
|
_: status ?
|
|
943
943
|
if ok:
|
|
944
944
|
# ContainerInfo holds information on the containers that had their contents changed as a result of the
|
|
@@ -959,7 +959,7 @@ ItemStackResponses: []varint
|
|
|
959
959
|
# sent to the client.
|
|
960
960
|
count: u8
|
|
961
961
|
# StackNetworkID is the network ID of the new stack at a specific slot.
|
|
962
|
-
item_stack_id:
|
|
962
|
+
item_stack_id: zigzag32
|
|
963
963
|
# CustomName is the custom name of the item stack. It is used in relation to text filtering.
|
|
964
964
|
custom_name: string
|
|
965
965
|
# DurabilityCorrection is the current durability of the item stack. This durability will be shown
|
|
@@ -2075,7 +2075,7 @@
|
|
|
2075
2075
|
[
|
|
2076
2076
|
{
|
|
2077
2077
|
"name": "request_id",
|
|
2078
|
-
"type": "
|
|
2078
|
+
"type": "zigzag32"
|
|
2079
2079
|
},
|
|
2080
2080
|
{
|
|
2081
2081
|
"name": "actions",
|
|
@@ -2379,7 +2379,7 @@
|
|
|
2379
2379
|
},
|
|
2380
2380
|
{
|
|
2381
2381
|
"name": "request_id",
|
|
2382
|
-
"type": "
|
|
2382
|
+
"type": "zigzag32"
|
|
2383
2383
|
},
|
|
2384
2384
|
{
|
|
2385
2385
|
"anon": true,
|
|
@@ -2427,7 +2427,7 @@
|
|
|
2427
2427
|
},
|
|
2428
2428
|
{
|
|
2429
2429
|
"name": "item_stack_id",
|
|
2430
|
-
"type": "
|
|
2430
|
+
"type": "zigzag32"
|
|
2431
2431
|
},
|
|
2432
2432
|
{
|
|
2433
2433
|
"name": "custom_name",
|
|
@@ -791,7 +791,7 @@ StackRequestSlotInfo:
|
|
|
791
791
|
ItemStackRequest:
|
|
792
792
|
# RequestID is a unique ID for the request. This ID is used by the server to send a response for this
|
|
793
793
|
# specific request in the ItemStackResponse packet.
|
|
794
|
-
request_id:
|
|
794
|
+
request_id: zigzag32
|
|
795
795
|
actions: []varint
|
|
796
796
|
type_id: u8 =>
|
|
797
797
|
# TakeStackRequestAction is sent by the client to the server to take x amount of items from one slot in a
|
|
@@ -946,7 +946,7 @@ ItemStackResponses: []varint
|
|
|
946
946
|
1: error
|
|
947
947
|
# RequestID is the unique ID of the request that this response is in reaction to. If rejected, the client
|
|
948
948
|
# will undo the actions from the request with this ID.
|
|
949
|
-
request_id:
|
|
949
|
+
request_id: zigzag32
|
|
950
950
|
_: status ?
|
|
951
951
|
if ok:
|
|
952
952
|
# ContainerInfo holds information on the containers that had their contents changed as a result of the
|
|
@@ -967,7 +967,7 @@ ItemStackResponses: []varint
|
|
|
967
967
|
# sent to the client.
|
|
968
968
|
count: u8
|
|
969
969
|
# StackNetworkID is the network ID of the new stack at a specific slot.
|
|
970
|
-
item_stack_id:
|
|
970
|
+
item_stack_id: zigzag32
|
|
971
971
|
# CustomName is the custom name of the item stack. It is used in relation to text filtering.
|
|
972
972
|
custom_name: string
|
|
973
973
|
# DurabilityCorrection is the current durability of the item stack. This durability will be shown
|
|
@@ -2079,7 +2079,7 @@
|
|
|
2079
2079
|
[
|
|
2080
2080
|
{
|
|
2081
2081
|
"name": "request_id",
|
|
2082
|
-
"type": "
|
|
2082
|
+
"type": "zigzag32"
|
|
2083
2083
|
},
|
|
2084
2084
|
{
|
|
2085
2085
|
"name": "actions",
|
|
@@ -2383,7 +2383,7 @@
|
|
|
2383
2383
|
},
|
|
2384
2384
|
{
|
|
2385
2385
|
"name": "request_id",
|
|
2386
|
-
"type": "
|
|
2386
|
+
"type": "zigzag32"
|
|
2387
2387
|
},
|
|
2388
2388
|
{
|
|
2389
2389
|
"anon": true,
|
|
@@ -2431,7 +2431,7 @@
|
|
|
2431
2431
|
},
|
|
2432
2432
|
{
|
|
2433
2433
|
"name": "item_stack_id",
|
|
2434
|
-
"type": "
|
|
2434
|
+
"type": "zigzag32"
|
|
2435
2435
|
},
|
|
2436
2436
|
{
|
|
2437
2437
|
"name": "custom_name",
|
|
@@ -799,7 +799,7 @@ StackRequestSlotInfo:
|
|
|
799
799
|
ItemStackRequest:
|
|
800
800
|
# RequestID is a unique ID for the request. This ID is used by the server to send a response for this
|
|
801
801
|
# specific request in the ItemStackResponse packet.
|
|
802
|
-
request_id:
|
|
802
|
+
request_id: zigzag32
|
|
803
803
|
actions: []varint
|
|
804
804
|
type_id: u8 =>
|
|
805
805
|
# TakeStackRequestAction is sent by the client to the server to take x amount of items from one slot in a
|
|
@@ -954,7 +954,7 @@ ItemStackResponses: []varint
|
|
|
954
954
|
1: error
|
|
955
955
|
# RequestID is the unique ID of the request that this response is in reaction to. If rejected, the client
|
|
956
956
|
# will undo the actions from the request with this ID.
|
|
957
|
-
request_id:
|
|
957
|
+
request_id: zigzag32
|
|
958
958
|
_: status ?
|
|
959
959
|
if ok:
|
|
960
960
|
# ContainerInfo holds information on the containers that had their contents changed as a result of the
|
|
@@ -975,7 +975,7 @@ ItemStackResponses: []varint
|
|
|
975
975
|
# sent to the client.
|
|
976
976
|
count: u8
|
|
977
977
|
# StackNetworkID is the network ID of the new stack at a specific slot.
|
|
978
|
-
item_stack_id:
|
|
978
|
+
item_stack_id: zigzag32
|
|
979
979
|
# CustomName is the custom name of the item stack. It is used in relation to text filtering.
|
|
980
980
|
custom_name: string
|
|
981
981
|
# DurabilityCorrection is the current durability of the item stack. This durability will be shown
|
|
@@ -2081,7 +2081,7 @@
|
|
|
2081
2081
|
[
|
|
2082
2082
|
{
|
|
2083
2083
|
"name": "request_id",
|
|
2084
|
-
"type": "
|
|
2084
|
+
"type": "zigzag32"
|
|
2085
2085
|
},
|
|
2086
2086
|
{
|
|
2087
2087
|
"name": "actions",
|
|
@@ -2385,7 +2385,7 @@
|
|
|
2385
2385
|
},
|
|
2386
2386
|
{
|
|
2387
2387
|
"name": "request_id",
|
|
2388
|
-
"type": "
|
|
2388
|
+
"type": "zigzag32"
|
|
2389
2389
|
},
|
|
2390
2390
|
{
|
|
2391
2391
|
"anon": true,
|
|
@@ -2433,7 +2433,7 @@
|
|
|
2433
2433
|
},
|
|
2434
2434
|
{
|
|
2435
2435
|
"name": "item_stack_id",
|
|
2436
|
-
"type": "
|
|
2436
|
+
"type": "zigzag32"
|
|
2437
2437
|
},
|
|
2438
2438
|
{
|
|
2439
2439
|
"name": "custom_name",
|