Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add all window types, remove buttons field #47

Merged
merged 4 commits into from
Aug 30, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
139 changes: 121 additions & 18 deletions enums/windows.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,41 @@
[
{
"id": "",
"name": "Player",
"slots": [
{
"name": "craft result",
"index": 0
},
{
"name": "craft grid",
"index": 1,
"size": 4
},
{
"name": "armor",
"index": 5,
"size": 4
}
]
},
{
"id": "EntityHorse",
"name": "Horse",
"openedWith": [
{
"type": "entity",
"id": 100
}
]
},
{
"id": "minecraft:anvil",
"name": "Anvil",
"properties": [
"repair cost"
]
},
{
"id": "minecraft:beacon",
"name": "Beacon",
Expand All @@ -10,17 +47,13 @@
],
"properties": [
"level",
"effect one",
"effect two"
],
"buttons": [
"apply",
"cancel"
"effect 1",
"effect 2"
],
"openedWith":[
"openedWith": [
{
"type":"block",
"id":138
"type": "block",
"id": 138
}
]
},
Expand All @@ -41,21 +74,91 @@
"properties": [
"brew time"
],
"openedWith":[
"openedWith": [
{
"type":"block",
"id":117
"type": "block",
"id": 117
}
]
},
{
"id": "EntityHorse",
"name": "Horse",
"openedWith":[
"id": "minecraft:chest",
"name": "Chest"
},
{
"id": "minecraft:crafting_table",
"name": "Workbench",
"slots": [
{
"name": "result",
"index": 0
},
{
"type":"entity",
"id":100
"name": "grid",
"index": 1,
"size": 10
}
]
},
{
"id": "minecraft:dispenser",
"name": "Dispenser"
},
{
"id": "minecraft:dropper",
"name": "Dropper"
},
{
"id": "minecraft:enchanting_table",
"name": "Encantment Table",
"slots": [
{
"name": "enchanted",
"index": 0
},
{
"name": "lapis",
"index": 1
}
],
"properties": [
"xp 1",
"xp 2",
"xp 3",
"seed",
"tooltip 1",
"tooltip 2",
"tooltip 3"
]
},
{
"id": "minecraft:furnace",
"name": "Furnace",
"slots": [
{
"name": "smelted",
"index": 0
},
{
"name": "fuel",
"index": 1
},
{
"name": "result",
"index": 2
}
],
"properties": [
"progress",
"fuel"
]
},
{
"id": "minecraft:hopper",
"name": "Hopper"
},
{
"id": "minecraft:villager",
"name": "NPC Trade"
}
]
]
9 changes: 0 additions & 9 deletions enums_schemas/windows_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,15 +58,6 @@
},
"additionalItems":false
},
"buttons": {
"description": "Names of the buttons of the window",
"type": "array",
"minItems": 1,
"items": {
"type": "string"
},
"additionalItems":false
},
"openedWith" : {
"type":"array",
"items":{
Expand Down