1
0
mirror of https://github.com/Mojang/bedrock-protocol-docs.git synced 2025-11-06 06:35:12 +00:00
Files
bedrock-protocol-docs/json/SetPlayerInventoryOptionsPacket.json

119 lines
3.8 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "3800421896",
"x-format-version": "MISSING VERSION",
"x-minecraft-version": "1.21.120",
"x-protocol-version": 859,
"definitions": {
"3667194778": {
"title": "InventoryOptions",
"type": "object",
"properties": {
"Filtering": {
"type": "boolean",
"x-ordinal-index": 2
},
"Layout Craft": {
"title": "InventoryLayout",
"type": "string",
"enum": [
"None",
"Survival",
"RecipeBook",
"Creative"
],
"x-underlying-type": "int32",
"x-serialization-options": [
"Compression",
"EnumAsValue"
],
"x-ordinal-index": 4
},
"Layout Inv": {
"title": "InventoryLayout",
"type": "string",
"enum": [
"None",
"Survival",
"RecipeBook",
"Creative"
],
"x-underlying-type": "int32",
"x-serialization-options": [
"Compression",
"EnumAsValue"
],
"x-ordinal-index": 3
},
"Left Inventory Tab": {
"title": "InventoryLeftTabIndex",
"type": "string",
"enum": [
"None",
"RecipeConstruction",
"RecipeEquipment",
"RecipeItems",
"RecipeNature",
"RecipeSearch",
"Survival"
],
"x-underlying-type": "int32",
"x-serialization-options": [
"Compression",
"EnumAsValue"
],
"x-ordinal-index": 0
},
"Right Inventory Tab": {
"title": "InventoryRightTabIndex",
"type": "string",
"enum": [
"None",
"FullScreen",
"Crafting",
"Armor"
],
"x-underlying-type": "int32",
"x-serialization-options": [
"Compression",
"EnumAsValue"
],
"x-ordinal-index": 1
}
},
"required": [
"Filtering",
"Layout Craft",
"Layout Inv",
"Left Inventory Tab",
"Right Inventory Tab"
]
},
"1008886887": {
"title": "SetPlayerInventoryOptionsPacketPayload",
"type": "object",
"properties": {
"Inventory Options": {
"$ref": "#/definitions/3667194778",
"x-ordinal-index": 0
}
},
"required": [
"Inventory Options"
]
}
},
"title": "SetPlayerInventoryOptionsPacket",
"description": "SetPlayerInventoryOptionsPacket",
"type": "object",
"properties": {
"mPayload": {
"$ref": "#/definitions/1008886887",
"x-ordinal-index": 0
}
},
"$metaProperties": {
"[cereal:packet]": 307,
"[cereal:packet_details]": ""
}
}