Skip to content

Commit

Permalink
Merge pull request #47 from Gjum/windows
Browse files Browse the repository at this point in the history
Add all window types, remove buttons field
  • Loading branch information
rom1504 committed Aug 30, 2015
2 parents 28a6df3 + 3d4292d commit 7e582ad
Show file tree
Hide file tree
Showing 2 changed files with 121 additions and 27 deletions.
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

0 comments on commit 7e582ad

Please sign in to comment.