minecraft-data
Advanced tools
Comparing version 0.1.1 to 0.2.0
@@ -1,2 +0,2 @@ | ||
var WikiTextParser = require('./wikitext_parser'); | ||
var WikiTextParser = require('./lib/wikitext_parser'); | ||
var fs = require('fs'); | ||
@@ -6,3 +6,12 @@ | ||
wikiTextParser.getArticle("Data_values/Entity_IDs",function(data){ | ||
function getText(rawText) | ||
{ | ||
return rawText | ||
.replace(/\[\[(?:.+?\|)?(.+?)\]\]/g,"$1") // remove links | ||
.replace(/\(.+\)/g,"") // remove text in parenthesis | ||
.replace(/^(.+)<br \/>.+$/,"$1") // keep only the first line if two lines | ||
.trim(); | ||
} | ||
wikiTextParser.getArticle("Data_values/Entity_IDs",function(err,data){ | ||
var sectionObject=wikiTextParser.pageToSectionObject(data); | ||
@@ -23,2 +32,3 @@ | ||
"id":parseInt(id), | ||
"displayName":getText(values[4]), | ||
"name":values[5].trim(), | ||
@@ -25,0 +35,0 @@ "type":currentType}; |
@@ -0,1 +1,10 @@ | ||
## 0.2.0 | ||
* update blocks, entities, items and recipes enums with new wiki extractors | ||
* add entities displayName | ||
* add drops in blocks | ||
* add metadata variations in blocks and drops | ||
* update recipes with variations of blocks and items | ||
* amount -> count and meta -> metadata in recipes | ||
* reorganize and improve wiki extractors | ||
## 0.1.1 | ||
@@ -2,0 +11,0 @@ * some new wiki extractors : beginning of work for blocks, entities |
@@ -13,12 +13,12 @@ # Recipes | ||
A **list** of `id` and `meta`. | ||
A **list** of `id` and `metadata`. | ||
This is preferred if there are many items at once, e.g. in a shape. | ||
**Example:** `[1, 2]` for any amount of Polished Granite | ||
**Example:** `[1, 2]` for any count of Polished Granite | ||
A **dictionary** of at least `id`, optionally `meta` and `amount`. | ||
A **dictionary** of at least `id`, optionally `metadata` and `count`. | ||
This is preferred if there are not many items at once, e.g. `result` in a recipe. | ||
**Examples:** | ||
- `{"id": 1}` for any item with ID `1` | ||
- `{"id": 1, "meta": 3}` for any amount of Diorite | ||
- `{"id": 1, "meta": 2, "amount": 4}` for 4 Polished Granite | ||
- `{"id": 1, "metadata": 3}` for any count of Diorite | ||
- `{"id": 1, "metadata": 2, "count": 4}` for 4 Polished Granite | ||
@@ -63,4 +63,4 @@ ### Shapes | ||
[ | ||
[{"id": 1, "meta": 1}, {"id": 1, "meta": 1}], | ||
[{"id": 1, "meta": 1}, {"id": 1, "meta": 1}] | ||
[{"id": 1, "metadata": 1}, {"id": 1, "metadata": 1}], | ||
[{"id": 1, "metadata": 1}, {"id": 1, "metadata": 1}] | ||
] | ||
@@ -83,3 +83,3 @@ | ||
Each ID maps to a list of recipes. | ||
There may be multiple different recipes per item (same ID and meta). | ||
There may be multiple different recipes per item (same ID and metadata). | ||
The recipes may not be sorted. | ||
@@ -93,3 +93,3 @@ | ||
{ // Polished Granite | ||
"result": {"id": 1, "meta": 2, "amount": 4}, | ||
"result": {"id": 1, "metadata": 2, "count": 4}, | ||
"inShape": [ | ||
@@ -101,3 +101,3 @@ [[1,1], [1,1]], | ||
{ // Polished Diorite | ||
"result": {"id": 1, "meta": 4, "amount": 4}, | ||
"result": {"id": 1, "metadata": 4, "count": 4}, | ||
"inShape": [ | ||
@@ -111,3 +111,3 @@ [[1,3], [1,3]], | ||
{ | ||
"result": {"id": 5, "meta": -1, "amount": 4}, | ||
"result": {"id": 5, "metadata": -1, "count": 4}, | ||
"inShape": [ | ||
@@ -120,3 +120,3 @@ [17] | ||
{ | ||
"result": {"id": 280, "meta": -1, "amount": 4}, | ||
"result": {"id": 280, "metadata": -1, "count": 4}, | ||
"inShape": [ | ||
@@ -123,0 +123,0 @@ [5], |
@@ -6,3 +6,3 @@ { | ||
"uniqueItems": true, | ||
"patternProperties" : { | ||
"patternProperties": { | ||
"^[0-9]+$": { | ||
@@ -45,3 +45,6 @@ "title": "block", | ||
"description": "BoundingBox of a block", | ||
"enum":["block","empty"] | ||
"enum": [ | ||
"block", | ||
"empty" | ||
] | ||
}, | ||
@@ -53,3 +56,3 @@ "material": { | ||
"harvestTools": { | ||
"description": "Tools that can harvest a block", | ||
"description": "Using one of these tools is required to harvest a block, without that you get a 3.33x time penalty.", | ||
"type": "object", | ||
@@ -59,17 +62,88 @@ "patternProperties": { | ||
} | ||
}, | ||
"variations": { | ||
"type": "array", | ||
"items": { | ||
"type": "object", | ||
"properties": { | ||
"metadata": { | ||
"type": "integer", | ||
"minimum": 0 | ||
}, | ||
"displayName": { | ||
"type": "string" | ||
} | ||
}, | ||
"required": [ | ||
"metadata", | ||
"displayName" | ||
], | ||
"additionalProperties": false | ||
} | ||
}, | ||
"drops": { | ||
"type": "array", | ||
"items": { | ||
"type": "object", | ||
"properties": { | ||
"minCount": { | ||
"type": "number", | ||
"mininmum": 0, | ||
"description":"minimum number or chance" | ||
}, | ||
"maxCount": { | ||
"type": "number", | ||
"minimum": 0, | ||
"description":"maximum number or chance" | ||
}, | ||
"drop": { | ||
"oneOf": [ | ||
{ | ||
"type": "integer", | ||
"minimum": 0 | ||
}, | ||
{ | ||
"type": "object", | ||
"properties": { | ||
"id": { | ||
"type": "integer", | ||
"minimum": 0 | ||
}, | ||
"metadata": { | ||
"type": "integer", | ||
"minimum": 0 | ||
} | ||
}, | ||
"required": [ | ||
"id", | ||
"metadata" | ||
], | ||
"additionalProperties": false | ||
} | ||
] | ||
} | ||
}, | ||
"required": [ | ||
"minCount", | ||
"maxCount", | ||
"drop" | ||
], | ||
"additionalProperties": false | ||
} | ||
} | ||
}, | ||
"required": [ | ||
"id", | ||
"displayName", | ||
"name", | ||
"hardness", | ||
"stackSize", | ||
"diggable", | ||
"boundingBox" | ||
], | ||
"additionalProperties": false | ||
} | ||
} | ||
}, | ||
"required": [ | ||
"id", | ||
"displayName", | ||
"name", | ||
"hardness", | ||
"stackSize", | ||
"diggable", | ||
"boundingBox", | ||
"drops" | ||
], | ||
"additionalProperties": false | ||
}, | ||
"additionalProperties": false | ||
} |
@@ -16,2 +16,6 @@ { | ||
}, | ||
"displayName": { | ||
"description": "The display name of an entity", | ||
"type": "string" | ||
}, | ||
"name": { | ||
@@ -29,2 +33,3 @@ "description": "The name of an entity", | ||
"id", | ||
"displayName", | ||
"name", | ||
@@ -31,0 +36,0 @@ "type" |
@@ -29,2 +29,19 @@ { | ||
"pattern": "\\S+" | ||
}, | ||
"variations" : { | ||
"type" : "array", | ||
"items": { | ||
"type" : "object", | ||
"properties": { | ||
"metadata":{ | ||
"type":"integer", | ||
"minimum": 0 | ||
}, | ||
"displayName":{ | ||
"type":"string" | ||
} | ||
}, | ||
"required": ["metadata", "displayName"], | ||
"additionalProperties":false | ||
} | ||
} | ||
@@ -31,0 +48,0 @@ }, |
{ | ||
"$schema": "http://json-schema.org/draft-04/schema#", | ||
"title": "recipes", | ||
"description":"A dictionary of quoted numerical item IDs. Each ID maps to a list of recipes. There may be multiple different recipes per item (same ID and meta). The recipes may not be sorted.", | ||
"description":"A dictionary of quoted numerical item IDs. Each ID maps to a list of recipes. There may be multiple different recipes per item (same ID and metadata). The recipes may not be sorted.", | ||
@@ -13,7 +13,7 @@ "definitions": { | ||
"metadata": {"type":"integer"}, | ||
"amount": {"type":"integer"}, | ||
"id_meta_array":{ | ||
"count": {"type":"integer"}, | ||
"id_metadata_array":{ | ||
"type":"array", | ||
"title":"[id,meta]", | ||
"description":"A list of id and meta. This is preferred if there are many items at once, e.g. in a shape.", | ||
"title":"[id,metadata]", | ||
"description":"A list of id and metadata. This is preferred if there are many items at once, e.g. in a shape.", | ||
"items":[ | ||
@@ -25,10 +25,10 @@ {"$ref" : "#/definitions/id"}, | ||
}, | ||
"id_meta_amount_object":{ | ||
"id_metadata_count_object":{ | ||
"type":"object", | ||
"title":"{id:1,meta:1,amount:1}", | ||
"description":"A dictionary of at least id, optionally meta and amount. This is preferred if there are not many items at once, e.g. result in a recipe.", | ||
"title":"{id:1,metadata:1,count:1}", | ||
"description":"A dictionary of at least id, optionally metadata and count. This is preferred if there are not many items at once, e.g. result in a recipe.", | ||
"properties":{ | ||
"id":{"$ref" : "#/definitions/id"}, | ||
"meta":{"$ref" : "#/definitions/metadata"}, | ||
"amount":{"$ref" : "#/definitions/amount"} | ||
"metadata":{"$ref" : "#/definitions/metadata"}, | ||
"count":{"$ref" : "#/definitions/count"} | ||
}, | ||
@@ -43,4 +43,4 @@ "required": ["id"], | ||
{"$ref" : "#/definitions/id"}, | ||
{"$ref": "#/definitions/id_meta_array"}, | ||
{"$ref": "#/definitions/id_meta_amount_object"} | ||
{"$ref": "#/definitions/id_metadata_array"}, | ||
{"$ref": "#/definitions/id_metadata_count_object"} | ||
] | ||
@@ -47,0 +47,0 @@ }, |
{ | ||
"1": { | ||
"id": 1, | ||
"displayName": "Dropped item", | ||
"name": "Item", | ||
@@ -9,2 +10,3 @@ "type": "Drops" | ||
"id": 2, | ||
"displayName": "Experience Orb", | ||
"name": "XPOrb", | ||
@@ -15,2 +17,3 @@ "type": "Drops" | ||
"id": 8, | ||
"displayName": "Lead knot", | ||
"name": "LeashKnot", | ||
@@ -21,2 +24,3 @@ "type": "Immobile" | ||
"id": 9, | ||
"displayName": "Painting", | ||
"name": "Painting", | ||
@@ -27,2 +31,3 @@ "type": "Immobile" | ||
"id": 10, | ||
"displayName": "Shot arrow", | ||
"name": "Arrow", | ||
@@ -33,2 +38,3 @@ "type": "Projectiles" | ||
"id": 11, | ||
"displayName": "Thrown snowball", | ||
"name": "Snowball", | ||
@@ -39,2 +45,3 @@ "type": "Projectiles" | ||
"id": 12, | ||
"displayName": "Ghast fireball", | ||
"name": "Fireball", | ||
@@ -45,2 +52,3 @@ "type": "Projectiles" | ||
"id": 13, | ||
"displayName": "Blaze fireball", | ||
"name": "SmallFireball", | ||
@@ -51,2 +59,3 @@ "type": "Projectiles" | ||
"id": 14, | ||
"displayName": "Thrown Ender Pearl", | ||
"name": "ThrownEnderpearl", | ||
@@ -57,2 +66,3 @@ "type": "Projectiles" | ||
"id": 15, | ||
"displayName": "Thrown Eye of Ender", | ||
"name": "EyeOfEnderSignal", | ||
@@ -63,2 +73,3 @@ "type": "Projectiles" | ||
"id": 16, | ||
"displayName": "Thrown splash potion", | ||
"name": "ThrownPotion", | ||
@@ -69,2 +80,3 @@ "type": "Projectiles" | ||
"id": 17, | ||
"displayName": "Thrown Bottle o' Enchanting", | ||
"name": "ThrownExpBottle", | ||
@@ -75,2 +87,3 @@ "type": "Projectiles" | ||
"id": 18, | ||
"displayName": "Item Frame", | ||
"name": "ItemFrame", | ||
@@ -81,2 +94,3 @@ "type": "Immobile" | ||
"id": 19, | ||
"displayName": "Wither Skull", | ||
"name": "WitherSkull", | ||
@@ -87,2 +101,3 @@ "type": "Projectiles" | ||
"id": 20, | ||
"displayName": "Primed TNT", | ||
"name": "PrimedTnt", | ||
@@ -93,2 +108,3 @@ "type": "Blocks" | ||
"id": 21, | ||
"displayName": "Falling block", | ||
"name": "FallingSand", | ||
@@ -99,2 +115,3 @@ "type": "Blocks" | ||
"id": 22, | ||
"displayName": "Firework Rocket", | ||
"name": "FireworksRocketEntity", | ||
@@ -105,2 +122,3 @@ "type": "Projectiles" | ||
"id": 30, | ||
"displayName": "Armor Stand", | ||
"name": "ArmorStand", | ||
@@ -111,2 +129,3 @@ "type": "Immobile" | ||
"id": 40, | ||
"displayName": "Minecart with Command Block", | ||
"name": "MinecartCommandBlock", | ||
@@ -117,2 +136,3 @@ "type": "Vehicles" | ||
"id": 41, | ||
"displayName": "Boat", | ||
"name": "Boat", | ||
@@ -123,2 +143,3 @@ "type": "Vehicles" | ||
"id": 42, | ||
"displayName": "Minecart", | ||
"name": "MinecartRideable", | ||
@@ -129,2 +150,3 @@ "type": "Vehicles" | ||
"id": 43, | ||
"displayName": "Minecart with Chest", | ||
"name": "MinecartChest", | ||
@@ -135,2 +157,3 @@ "type": "Vehicles" | ||
"id": 44, | ||
"displayName": "Minecart with Furnace", | ||
"name": "MinecartFurnace", | ||
@@ -141,2 +164,3 @@ "type": "Vehicles" | ||
"id": 45, | ||
"displayName": "Minecart with TNT", | ||
"name": "MinecartTNT", | ||
@@ -147,2 +171,3 @@ "type": "Vehicles" | ||
"id": 46, | ||
"displayName": "Minecart with Hopper", | ||
"name": "MinecartHopper", | ||
@@ -153,2 +178,3 @@ "type": "Vehicles" | ||
"id": 47, | ||
"displayName": "Minecart with Spawner", | ||
"name": "MinecartSpawner", | ||
@@ -159,2 +185,3 @@ "type": "Vehicles" | ||
"id": 48, | ||
"displayName": "Mob", | ||
"name": "Mob", | ||
@@ -165,2 +192,3 @@ "type": "Generic" | ||
"id": 49, | ||
"displayName": "Monster", | ||
"name": "Monster", | ||
@@ -171,2 +199,3 @@ "type": "Generic" | ||
"id": 50, | ||
"displayName": "Creeper", | ||
"name": "Creeper", | ||
@@ -177,2 +206,3 @@ "type": "Hostile mobs" | ||
"id": 51, | ||
"displayName": "Skeleton", | ||
"name": "Skeleton", | ||
@@ -183,2 +213,3 @@ "type": "Hostile mobs" | ||
"id": 52, | ||
"displayName": "Spider", | ||
"name": "Spider", | ||
@@ -189,2 +220,3 @@ "type": "Hostile mobs" | ||
"id": 53, | ||
"displayName": "Giant", | ||
"name": "Giant", | ||
@@ -195,2 +227,3 @@ "type": "Hostile mobs" | ||
"id": 54, | ||
"displayName": "Zombie Villager", | ||
"name": "Zombie", | ||
@@ -201,2 +234,3 @@ "type": "Hostile mobs" | ||
"id": 55, | ||
"displayName": "Slime", | ||
"name": "Slime", | ||
@@ -207,2 +241,3 @@ "type": "Hostile mobs" | ||
"id": 56, | ||
"displayName": "Ghast", | ||
"name": "Ghast", | ||
@@ -213,2 +248,3 @@ "type": "Hostile mobs" | ||
"id": 57, | ||
"displayName": "Zombie Pigman", | ||
"name": "PigZombie", | ||
@@ -219,2 +255,3 @@ "type": "Hostile mobs" | ||
"id": 58, | ||
"displayName": "Enderman", | ||
"name": "Enderman", | ||
@@ -225,2 +262,3 @@ "type": "Hostile mobs" | ||
"id": 59, | ||
"displayName": "Cave Spider", | ||
"name": "CaveSpider", | ||
@@ -231,2 +269,3 @@ "type": "Hostile mobs" | ||
"id": 60, | ||
"displayName": "Silverfish", | ||
"name": "Silverfish", | ||
@@ -237,2 +276,3 @@ "type": "Hostile mobs" | ||
"id": 61, | ||
"displayName": "Blaze", | ||
"name": "Blaze", | ||
@@ -243,2 +283,3 @@ "type": "Hostile mobs" | ||
"id": 62, | ||
"displayName": "Magma Cube", | ||
"name": "LavaSlime", | ||
@@ -249,2 +290,3 @@ "type": "Hostile mobs" | ||
"id": 63, | ||
"displayName": "Ender Dragon", | ||
"name": "EnderDragon", | ||
@@ -255,2 +297,3 @@ "type": "Hostile mobs" | ||
"id": 64, | ||
"displayName": "Wither", | ||
"name": "WitherBoss", | ||
@@ -261,2 +304,3 @@ "type": "Hostile mobs" | ||
"id": 65, | ||
"displayName": "Bat", | ||
"name": "Bat", | ||
@@ -267,2 +311,3 @@ "type": "Passive mobs" | ||
"id": 66, | ||
"displayName": "Witch", | ||
"name": "Witch", | ||
@@ -273,2 +318,3 @@ "type": "Hostile mobs" | ||
"id": 67, | ||
"displayName": "Endermite", | ||
"name": "Endermite", | ||
@@ -279,2 +325,3 @@ "type": "Hostile mobs" | ||
"id": 68, | ||
"displayName": "Guardian", | ||
"name": "Guardian", | ||
@@ -285,2 +332,3 @@ "type": "Hostile mobs" | ||
"id": 90, | ||
"displayName": "Pig", | ||
"name": "Pig", | ||
@@ -291,2 +339,3 @@ "type": "Passive mobs" | ||
"id": 91, | ||
"displayName": "Sheep", | ||
"name": "Sheep", | ||
@@ -297,2 +346,3 @@ "type": "Passive mobs" | ||
"id": 92, | ||
"displayName": "Cow", | ||
"name": "Cow", | ||
@@ -303,2 +353,3 @@ "type": "Passive mobs" | ||
"id": 93, | ||
"displayName": "Chicken", | ||
"name": "Chicken", | ||
@@ -309,2 +360,3 @@ "type": "Passive mobs" | ||
"id": 94, | ||
"displayName": "Squid", | ||
"name": "Squid", | ||
@@ -315,2 +367,3 @@ "type": "Passive mobs" | ||
"id": 95, | ||
"displayName": "Wolf", | ||
"name": "Wolf", | ||
@@ -321,2 +374,3 @@ "type": "Passive mobs" | ||
"id": 96, | ||
"displayName": "Mooshroom", | ||
"name": "MushroomCow", | ||
@@ -327,2 +381,3 @@ "type": "Passive mobs" | ||
"id": 97, | ||
"displayName": "Snow Golem", | ||
"name": "SnowMan", | ||
@@ -333,2 +388,3 @@ "type": "Passive mobs" | ||
"id": 98, | ||
"displayName": "Ocelot", | ||
"name": "Ozelot", | ||
@@ -339,2 +395,3 @@ "type": "Passive mobs" | ||
"id": 99, | ||
"displayName": "Iron Golem", | ||
"name": "VillagerGolem", | ||
@@ -345,2 +402,3 @@ "type": "Passive mobs" | ||
"id": 100, | ||
"displayName": "Horse", | ||
"name": "EntityHorse", | ||
@@ -351,2 +409,3 @@ "type": "Passive mobs" | ||
"id": 101, | ||
"displayName": "Rabbit", | ||
"name": "Rabbit", | ||
@@ -357,2 +416,3 @@ "type": "Passive mobs" | ||
"id": 120, | ||
"displayName": "Villager", | ||
"name": "Villager", | ||
@@ -363,2 +423,3 @@ "type": "NPCs" | ||
"id": 200, | ||
"displayName": "Ender Crystal", | ||
"name": "EnderCrystal", | ||
@@ -365,0 +426,0 @@ "type": "Immobile" |
@@ -6,3 +6,3 @@ { | ||
"stackSize": 1, | ||
"name": "shovelIron" | ||
"name": "iron_shovel" | ||
}, | ||
@@ -13,3 +13,3 @@ "257": { | ||
"stackSize": 1, | ||
"name": "pickaxeIron" | ||
"name": "iron_pickaxe" | ||
}, | ||
@@ -20,3 +20,3 @@ "258": { | ||
"stackSize": 1, | ||
"name": "hatchetIron" | ||
"name": "iron_axe" | ||
}, | ||
@@ -27,3 +27,3 @@ "259": { | ||
"stackSize": 1, | ||
"name": "flintAndSteel" | ||
"name": "flint_and_steel" | ||
}, | ||
@@ -52,3 +52,13 @@ "260": { | ||
"stackSize": 64, | ||
"name": "coal" | ||
"name": "coal", | ||
"variations": [ | ||
{ | ||
"metadata": 0, | ||
"displayName": "Coal" | ||
}, | ||
{ | ||
"metadata": 1, | ||
"displayName": "Charcoal" | ||
} | ||
] | ||
}, | ||
@@ -65,3 +75,3 @@ "264": { | ||
"stackSize": 64, | ||
"name": "ingotIron" | ||
"name": "iron_ingot" | ||
}, | ||
@@ -72,3 +82,3 @@ "266": { | ||
"stackSize": 64, | ||
"name": "ingotGold" | ||
"name": "gold_ingot" | ||
}, | ||
@@ -79,3 +89,3 @@ "267": { | ||
"stackSize": 1, | ||
"name": "swordIron" | ||
"name": "iron_sword" | ||
}, | ||
@@ -86,3 +96,3 @@ "268": { | ||
"stackSize": 1, | ||
"name": "swordWood" | ||
"name": "wooden_sword" | ||
}, | ||
@@ -93,3 +103,3 @@ "269": { | ||
"stackSize": 1, | ||
"name": "shovelWood" | ||
"name": "wooden_shovel" | ||
}, | ||
@@ -100,3 +110,3 @@ "270": { | ||
"stackSize": 1, | ||
"name": "pickaxeWood" | ||
"name": "wooden_pickaxe" | ||
}, | ||
@@ -107,3 +117,3 @@ "271": { | ||
"stackSize": 1, | ||
"name": "hatchetWood" | ||
"name": "wooden_axe" | ||
}, | ||
@@ -114,3 +124,3 @@ "272": { | ||
"stackSize": 1, | ||
"name": "swordStone" | ||
"name": "stone_sword" | ||
}, | ||
@@ -121,3 +131,3 @@ "273": { | ||
"stackSize": 1, | ||
"name": "shovelStone" | ||
"name": "stone_shovel" | ||
}, | ||
@@ -128,3 +138,3 @@ "274": { | ||
"stackSize": 1, | ||
"name": "pickaxeStone" | ||
"name": "stone_pickaxe" | ||
}, | ||
@@ -135,3 +145,3 @@ "275": { | ||
"stackSize": 1, | ||
"name": "hatchetStone" | ||
"name": "stone_axe" | ||
}, | ||
@@ -142,3 +152,3 @@ "276": { | ||
"stackSize": 1, | ||
"name": "swordDiamond" | ||
"name": "diamond_sword" | ||
}, | ||
@@ -149,3 +159,3 @@ "277": { | ||
"stackSize": 1, | ||
"name": "shovelDiamond" | ||
"name": "diamond_shovel" | ||
}, | ||
@@ -156,3 +166,3 @@ "278": { | ||
"stackSize": 1, | ||
"name": "pickaxeDiamond" | ||
"name": "diamond_pickaxe" | ||
}, | ||
@@ -163,3 +173,3 @@ "279": { | ||
"stackSize": 1, | ||
"name": "hatchetDiamond" | ||
"name": "diamond_axe" | ||
}, | ||
@@ -181,4 +191,4 @@ "280": { | ||
"displayName": "Mushroom Stew", | ||
"stackSize": 64, | ||
"name": "mushroomStew" | ||
"stackSize": 1, | ||
"name": "mushroom_stew" | ||
}, | ||
@@ -189,3 +199,3 @@ "283": { | ||
"stackSize": 1, | ||
"name": "swordGold" | ||
"name": "golden_sword" | ||
}, | ||
@@ -196,3 +206,3 @@ "284": { | ||
"stackSize": 1, | ||
"name": "shovelGold" | ||
"name": "golden_shovel" | ||
}, | ||
@@ -203,3 +213,3 @@ "285": { | ||
"stackSize": 1, | ||
"name": "pickaxeGold" | ||
"name": "golden_pickaxe" | ||
}, | ||
@@ -210,3 +220,3 @@ "286": { | ||
"stackSize": 1, | ||
"name": "hatchetGold" | ||
"name": "golden_axe" | ||
}, | ||
@@ -229,3 +239,3 @@ "287": { | ||
"stackSize": 64, | ||
"name": "sulphur" | ||
"name": "gunpowder" | ||
}, | ||
@@ -236,3 +246,3 @@ "290": { | ||
"stackSize": 1, | ||
"name": "hoeWood" | ||
"name": "wooden_hoe" | ||
}, | ||
@@ -243,3 +253,3 @@ "291": { | ||
"stackSize": 1, | ||
"name": "hoeStone" | ||
"name": "stone_hoe" | ||
}, | ||
@@ -250,3 +260,3 @@ "292": { | ||
"stackSize": 1, | ||
"name": "hoeIron" | ||
"name": "iron_hoe" | ||
}, | ||
@@ -257,3 +267,3 @@ "293": { | ||
"stackSize": 1, | ||
"name": "hoeDiamond" | ||
"name": "diamond_hoe" | ||
}, | ||
@@ -264,3 +274,3 @@ "294": { | ||
"stackSize": 1, | ||
"name": "hoeGold" | ||
"name": "golden_hoe" | ||
}, | ||
@@ -271,3 +281,3 @@ "295": { | ||
"stackSize": 64, | ||
"name": "seeds" | ||
"name": "wheat_seeds" | ||
}, | ||
@@ -290,3 +300,3 @@ "296": { | ||
"stackSize": 1, | ||
"name": "helmetCloth" | ||
"name": "leather_helmet" | ||
}, | ||
@@ -297,3 +307,3 @@ "299": { | ||
"stackSize": 1, | ||
"name": "chestplateCloth" | ||
"name": "leather_chestplate" | ||
}, | ||
@@ -304,3 +314,3 @@ "300": { | ||
"stackSize": 1, | ||
"name": "leggingsCloth" | ||
"name": "leather_leggings" | ||
}, | ||
@@ -311,3 +321,3 @@ "301": { | ||
"stackSize": 1, | ||
"name": "bootsCloth" | ||
"name": "leather_boots" | ||
}, | ||
@@ -318,3 +328,3 @@ "302": { | ||
"stackSize": 1, | ||
"name": "helmetChain" | ||
"name": "chainmail_helmet" | ||
}, | ||
@@ -325,3 +335,3 @@ "303": { | ||
"stackSize": 1, | ||
"name": "chestplateChain" | ||
"name": "chainmail_chestplate" | ||
}, | ||
@@ -332,3 +342,3 @@ "304": { | ||
"stackSize": 1, | ||
"name": "leggingsChain" | ||
"name": "chainmail_leggings" | ||
}, | ||
@@ -339,3 +349,3 @@ "305": { | ||
"stackSize": 1, | ||
"name": "bootsChain" | ||
"name": "chainmail_boots" | ||
}, | ||
@@ -346,3 +356,3 @@ "306": { | ||
"stackSize": 1, | ||
"name": "helmetIron" | ||
"name": "iron_helmet" | ||
}, | ||
@@ -353,3 +363,3 @@ "307": { | ||
"stackSize": 1, | ||
"name": "chestplateIron" | ||
"name": "iron_chestplate" | ||
}, | ||
@@ -360,3 +370,3 @@ "308": { | ||
"stackSize": 1, | ||
"name": "leggingsIron" | ||
"name": "iron_leggings" | ||
}, | ||
@@ -367,3 +377,3 @@ "309": { | ||
"stackSize": 1, | ||
"name": "bootsIron" | ||
"name": "iron_boots" | ||
}, | ||
@@ -374,3 +384,3 @@ "310": { | ||
"stackSize": 1, | ||
"name": "helmetDiamond" | ||
"name": "diamond_helmet" | ||
}, | ||
@@ -381,3 +391,3 @@ "311": { | ||
"stackSize": 1, | ||
"name": "chestplateDiamond" | ||
"name": "diamond_chestplate" | ||
}, | ||
@@ -388,3 +398,3 @@ "312": { | ||
"stackSize": 1, | ||
"name": "leggingsDiamond" | ||
"name": "diamond_leggings" | ||
}, | ||
@@ -395,3 +405,3 @@ "313": { | ||
"stackSize": 1, | ||
"name": "bootsDiamond" | ||
"name": "diamond_boots" | ||
}, | ||
@@ -402,3 +412,3 @@ "314": { | ||
"stackSize": 1, | ||
"name": "helmetGold" | ||
"name": "golden_helmet" | ||
}, | ||
@@ -409,3 +419,3 @@ "315": { | ||
"stackSize": 1, | ||
"name": "chestplateGold" | ||
"name": "golden_chestplate" | ||
}, | ||
@@ -416,3 +426,3 @@ "316": { | ||
"stackSize": 1, | ||
"name": "leggingsGold" | ||
"name": "golden_leggings" | ||
}, | ||
@@ -423,3 +433,3 @@ "317": { | ||
"stackSize": 1, | ||
"name": "bootsGold" | ||
"name": "golden_boots" | ||
}, | ||
@@ -436,3 +446,3 @@ "318": { | ||
"stackSize": 64, | ||
"name": "porkchopRaw" | ||
"name": "porkchop" | ||
}, | ||
@@ -443,3 +453,3 @@ "320": { | ||
"stackSize": 64, | ||
"name": "porkchopCooked" | ||
"name": "cooked_porkchop" | ||
}, | ||
@@ -456,3 +466,13 @@ "321": { | ||
"stackSize": 64, | ||
"name": "appleGold" | ||
"name": "golden_apple", | ||
"variations": [ | ||
{ | ||
"metadata": 0, | ||
"displayName": "Golden Apple" | ||
}, | ||
{ | ||
"metadata": 1, | ||
"displayName": "Enchanted Golden Apple" | ||
} | ||
] | ||
}, | ||
@@ -462,3 +482,3 @@ "323": { | ||
"displayName": "Sign", | ||
"stackSize": 1, | ||
"stackSize": 16, | ||
"name": "sign" | ||
@@ -468,5 +488,5 @@ }, | ||
"id": 324, | ||
"displayName": "Wooden Door", | ||
"stackSize": 1, | ||
"name": "doorOak" | ||
"displayName": "Oak Door", | ||
"stackSize": 64, | ||
"name": "wooden_door" | ||
}, | ||
@@ -476,4 +496,4 @@ "325": { | ||
"displayName": "Bucket", | ||
"name": "bucket", | ||
"stackSize": 16 | ||
"stackSize": 16, | ||
"name": "bucket" | ||
}, | ||
@@ -483,4 +503,4 @@ "326": { | ||
"displayName": "Water Bucket", | ||
"stackSize": 1, | ||
"name": "bucketWater" | ||
"stackSize": 64, | ||
"name": "water_bucket" | ||
}, | ||
@@ -490,4 +510,4 @@ "327": { | ||
"displayName": "Lava Bucket", | ||
"stackSize": 1, | ||
"name": "bucketLava" | ||
"stackSize": 64, | ||
"name": "lava_bucket" | ||
}, | ||
@@ -509,4 +529,4 @@ "328": { | ||
"displayName": "Iron Door", | ||
"stackSize": 1, | ||
"name": "doorIron" | ||
"stackSize": 64, | ||
"name": "iron_door" | ||
}, | ||
@@ -541,3 +561,3 @@ "331": { | ||
"stackSize": 1, | ||
"name": "milk" | ||
"name": "milk_bucket" | ||
}, | ||
@@ -554,7 +574,7 @@ "336": { | ||
"stackSize": 64, | ||
"name": "clay" | ||
"name": "clay_ball" | ||
}, | ||
"338": { | ||
"id": 338, | ||
"displayName": "Sugar Canes", | ||
"displayName": "Sugar Cane", | ||
"stackSize": 64, | ||
@@ -579,3 +599,3 @@ "name": "reeds" | ||
"stackSize": 64, | ||
"name": "slimeball" | ||
"name": "slime_ball" | ||
}, | ||
@@ -586,3 +606,3 @@ "342": { | ||
"stackSize": 1, | ||
"name": "minecartChest" | ||
"name": "chest_minecart" | ||
}, | ||
@@ -593,3 +613,3 @@ "343": { | ||
"stackSize": 1, | ||
"name": "minecartFurnace" | ||
"name": "furnace_minecart" | ||
}, | ||
@@ -612,3 +632,3 @@ "344": { | ||
"stackSize": 1, | ||
"name": "fishingRod" | ||
"name": "fishing_rod" | ||
}, | ||
@@ -625,3 +645,3 @@ "347": { | ||
"stackSize": 64, | ||
"name": "yellowDust" | ||
"name": "glowstone_dust" | ||
}, | ||
@@ -632,3 +652,21 @@ "349": { | ||
"stackSize": 64, | ||
"name": "fishRaw" | ||
"name": "fish", | ||
"variations": [ | ||
{ | ||
"metadata": 0, | ||
"displayName": "Raw Fish" | ||
}, | ||
{ | ||
"metadata": 1, | ||
"displayName": "Raw Salmon" | ||
}, | ||
{ | ||
"metadata": 2, | ||
"displayName": "Clownfish" | ||
}, | ||
{ | ||
"metadata": 3, | ||
"displayName": "Pufferfish" | ||
} | ||
] | ||
}, | ||
@@ -639,9 +677,75 @@ "350": { | ||
"stackSize": 64, | ||
"name": "fishCooked" | ||
"name": "cooked_fish" | ||
}, | ||
"351": { | ||
"id": 351, | ||
"displayName": "Dye", | ||
"stackSize": 64, | ||
"displayName": "Dye", | ||
"name": "dyePowder" | ||
"name": "dye", | ||
"variations": [ | ||
{ | ||
"metadata": 0, | ||
"displayName": "Ink Sac" | ||
}, | ||
{ | ||
"metadata": 1, | ||
"displayName": "Rose Red" | ||
}, | ||
{ | ||
"metadata": 2, | ||
"displayName": "Cactus Green" | ||
}, | ||
{ | ||
"metadata": 3, | ||
"displayName": "Cocoa Beans" | ||
}, | ||
{ | ||
"metadata": 4, | ||
"displayName": "Lapis Lazuli" | ||
}, | ||
{ | ||
"metadata": 5, | ||
"displayName": "Purple Dye" | ||
}, | ||
{ | ||
"metadata": 6, | ||
"displayName": "Cyan Dye" | ||
}, | ||
{ | ||
"metadata": 7, | ||
"displayName": "Light Gray Dye" | ||
}, | ||
{ | ||
"metadata": 8, | ||
"displayName": "Gray Dye" | ||
}, | ||
{ | ||
"metadata": 9, | ||
"displayName": "Pink Dye" | ||
}, | ||
{ | ||
"metadata": 10, | ||
"displayName": "Lime Dye" | ||
}, | ||
{ | ||
"metadata": 11, | ||
"displayName": "Dandelion Yellow" | ||
}, | ||
{ | ||
"metadata": 12, | ||
"displayName": "Light Blue Dye" | ||
}, | ||
{ | ||
"metadata": 13, | ||
"displayName": "Magenta Dye" | ||
}, | ||
{ | ||
"metadata": 14, | ||
"displayName": "Orange Dye" | ||
}, | ||
{ | ||
"metadata": 15, | ||
"displayName": "Bone Meal" | ||
} | ||
] | ||
}, | ||
@@ -663,4 +767,4 @@ "352": { | ||
"displayName": "Cake", | ||
"name": "cake", | ||
"stackSize": 1 | ||
"stackSize": 1, | ||
"name": "cake" | ||
}, | ||
@@ -670,4 +774,4 @@ "355": { | ||
"displayName": "Bed", | ||
"name": "bed", | ||
"stackSize": 1 | ||
"stackSize": 1, | ||
"name": "bed" | ||
}, | ||
@@ -678,3 +782,3 @@ "356": { | ||
"stackSize": 64, | ||
"name": "diode" | ||
"name": "repeater" | ||
}, | ||
@@ -684,3 +788,3 @@ "357": { | ||
"displayName": "Cookie", | ||
"stackSize": 8, | ||
"stackSize": 64, | ||
"name": "cookie" | ||
@@ -691,4 +795,4 @@ }, | ||
"displayName": "Map", | ||
"stackSize": 1, | ||
"name": "map" | ||
"stackSize": 64, | ||
"name": "filled_map" | ||
}, | ||
@@ -711,3 +815,3 @@ "359": { | ||
"stackSize": 64, | ||
"name": "seeds_pumpkin" | ||
"name": "pumpkin_seeds" | ||
}, | ||
@@ -718,3 +822,3 @@ "362": { | ||
"stackSize": 64, | ||
"name": "seeds_melon" | ||
"name": "melon_seeds" | ||
}, | ||
@@ -725,3 +829,3 @@ "363": { | ||
"stackSize": 64, | ||
"name": "beefRaw" | ||
"name": "beef" | ||
}, | ||
@@ -732,3 +836,3 @@ "364": { | ||
"stackSize": 64, | ||
"name": "beefCooked" | ||
"name": "cooked_beef" | ||
}, | ||
@@ -739,3 +843,3 @@ "365": { | ||
"stackSize": 64, | ||
"name": "chickenRaw" | ||
"name": "chicken" | ||
}, | ||
@@ -746,3 +850,3 @@ "366": { | ||
"stackSize": 64, | ||
"name": "chickenCooked" | ||
"name": "cooked_chicken" | ||
}, | ||
@@ -753,3 +857,3 @@ "367": { | ||
"stackSize": 64, | ||
"name": "rottenFlesh" | ||
"name": "rotten_flesh" | ||
}, | ||
@@ -759,4 +863,4 @@ "368": { | ||
"displayName": "Ender Pearl", | ||
"stackSize": 64, | ||
"name": "enderPearl" | ||
"stackSize": 16, | ||
"name": "ender_pearl" | ||
}, | ||
@@ -767,3 +871,3 @@ "369": { | ||
"stackSize": 64, | ||
"name": "blazeRod" | ||
"name": "blaze_rod" | ||
}, | ||
@@ -774,3 +878,3 @@ "370": { | ||
"stackSize": 64, | ||
"name": "ghastTear" | ||
"name": "ghast_tear" | ||
}, | ||
@@ -781,3 +885,3 @@ "371": { | ||
"stackSize": 64, | ||
"name": "goldNugget" | ||
"name": "gold_nugget" | ||
}, | ||
@@ -788,3 +892,3 @@ "372": { | ||
"stackSize": 64, | ||
"name": "netherStalkSeeds" | ||
"name": "nether_wart" | ||
}, | ||
@@ -801,3 +905,3 @@ "373": { | ||
"stackSize": 64, | ||
"name": "glassBottle" | ||
"name": "glass_bottle" | ||
}, | ||
@@ -808,3 +912,3 @@ "375": { | ||
"stackSize": 64, | ||
"name": "spiderEye" | ||
"name": "spider_eye" | ||
}, | ||
@@ -815,3 +919,3 @@ "376": { | ||
"stackSize": 64, | ||
"name": "fermentedSpiderEye" | ||
"name": "fermented_spider_eye" | ||
}, | ||
@@ -822,3 +926,3 @@ "377": { | ||
"stackSize": 64, | ||
"name": "blazePowder" | ||
"name": "blaze_powder" | ||
}, | ||
@@ -829,3 +933,3 @@ "378": { | ||
"stackSize": 64, | ||
"name": "magmaCream" | ||
"name": "magma_cream" | ||
}, | ||
@@ -836,3 +940,3 @@ "379": { | ||
"stackSize": 64, | ||
"name": "brewingStand" | ||
"name": "brewing_stand" | ||
}, | ||
@@ -842,3 +946,3 @@ "380": { | ||
"displayName": "Cauldron", | ||
"stackSize": 1, | ||
"stackSize": 64, | ||
"name": "cauldron" | ||
@@ -849,4 +953,4 @@ }, | ||
"displayName": "Eye of Ender", | ||
"stackSize": 1, | ||
"name": "eyeOfEnder" | ||
"stackSize": 64, | ||
"name": "ender_eye" | ||
}, | ||
@@ -857,9 +961,9 @@ "382": { | ||
"stackSize": 64, | ||
"name": "speckledMelon" | ||
"name": "speckled_melon" | ||
}, | ||
"383": { | ||
"id": 383, | ||
"displayName": "Spawn", | ||
"displayName": "Spawn Egg", | ||
"stackSize": 64, | ||
"name": "monsterPlacer" | ||
"name": "spawn_egg" | ||
}, | ||
@@ -870,3 +974,3 @@ "384": { | ||
"stackSize": 64, | ||
"name": "expBottle" | ||
"name": "experience_bottle" | ||
}, | ||
@@ -877,3 +981,3 @@ "385": { | ||
"stackSize": 64, | ||
"name": "fireball" | ||
"name": "fire_charge" | ||
}, | ||
@@ -884,3 +988,3 @@ "386": { | ||
"stackSize": 1, | ||
"name": "writingBook" | ||
"name": "writable_book" | ||
}, | ||
@@ -890,4 +994,4 @@ "387": { | ||
"displayName": "Written Book", | ||
"stackSize": 1, | ||
"name": "writtenBook" | ||
"stackSize": 16, | ||
"name": "written_book" | ||
}, | ||
@@ -904,3 +1008,3 @@ "388": { | ||
"stackSize": 64, | ||
"name": "frame" | ||
"name": "item_frame" | ||
}, | ||
@@ -911,3 +1015,61 @@ "390": { | ||
"stackSize": 64, | ||
"name": "flowerPot" | ||
"name": "flower_pot", | ||
"variations": [ | ||
{ | ||
"metadata": 0, | ||
"displayName": "Empty Flower Pot" | ||
}, | ||
{ | ||
"metadata": 1, | ||
"displayName": "Poppy Flower Pot" | ||
}, | ||
{ | ||
"metadata": 2, | ||
"displayName": "Dandelion Flower Pot" | ||
}, | ||
{ | ||
"metadata": 3, | ||
"displayName": "Oak sapling Flower Pot" | ||
}, | ||
{ | ||
"metadata": 4, | ||
"displayName": "Spruce sapling Flower Pot" | ||
}, | ||
{ | ||
"metadata": 5, | ||
"displayName": "Birch sapling Flower Pot" | ||
}, | ||
{ | ||
"metadata": 6, | ||
"displayName": "Jungle sapling Flower Pot" | ||
}, | ||
{ | ||
"metadata": 7, | ||
"displayName": "Red mushroom Flower Pot" | ||
}, | ||
{ | ||
"metadata": 8, | ||
"displayName": "Brown mushroom Flower Pot" | ||
}, | ||
{ | ||
"metadata": 9, | ||
"displayName": "Cactus Flower Pot" | ||
}, | ||
{ | ||
"metadata": 10, | ||
"displayName": "Dead bush Flower Pot" | ||
}, | ||
{ | ||
"metadata": 11, | ||
"displayName": "Fern Flower Pot" | ||
}, | ||
{ | ||
"metadata": 12, | ||
"displayName": "Acacia sapling Flower Pot" | ||
}, | ||
{ | ||
"metadata": 13, | ||
"displayName": "Dark oak sapling Flower Pot" | ||
} | ||
] | ||
}, | ||
@@ -918,3 +1080,3 @@ "391": { | ||
"stackSize": 64, | ||
"name": "carrots" | ||
"name": "carrot" | ||
}, | ||
@@ -931,3 +1093,3 @@ "392": { | ||
"stackSize": 64, | ||
"name": "potatoBaked" | ||
"name": "baked_potato" | ||
}, | ||
@@ -938,3 +1100,3 @@ "394": { | ||
"stackSize": 64, | ||
"name": "potatoPoisonous" | ||
"name": "poisonous_potato" | ||
}, | ||
@@ -945,3 +1107,3 @@ "395": { | ||
"stackSize": 64, | ||
"name": "emptyMap" | ||
"name": "map" | ||
}, | ||
@@ -952,9 +1114,31 @@ "396": { | ||
"stackSize": 64, | ||
"name": "carrotGolden" | ||
"name": "golden_carrot" | ||
}, | ||
"397": { | ||
"id": 397, | ||
"displayName": "Mob head", | ||
"stackSize": 64, | ||
"displayName": "Mob Head", | ||
"name": "skull" | ||
"name": "skull", | ||
"variations": [ | ||
{ | ||
"metadata": 0, | ||
"displayName": "Skeleton Skull" | ||
}, | ||
{ | ||
"metadata": 1, | ||
"displayName": "Wither Skeleton Skull" | ||
}, | ||
{ | ||
"metadata": 2, | ||
"displayName": "Zombie Head" | ||
}, | ||
{ | ||
"metadata": 3, | ||
"displayName": "Head" | ||
}, | ||
{ | ||
"metadata": 4, | ||
"displayName": "Creeper Head" | ||
} | ||
] | ||
}, | ||
@@ -964,4 +1148,4 @@ "398": { | ||
"displayName": "Carrot on a Stick", | ||
"stackSize": 64, | ||
"name": "carrotOnAStick" | ||
"stackSize": 1, | ||
"name": "carrot_on_a_stick" | ||
}, | ||
@@ -972,3 +1156,3 @@ "399": { | ||
"stackSize": 64, | ||
"name": "netherStar" | ||
"name": "nether_star" | ||
}, | ||
@@ -979,3 +1163,3 @@ "400": { | ||
"stackSize": 64, | ||
"name": "pumpkinPie" | ||
"name": "pumpkin_pie" | ||
}, | ||
@@ -992,3 +1176,3 @@ "401": { | ||
"stackSize": 64, | ||
"name": "fireworksCharge" | ||
"name": "firework_charge" | ||
}, | ||
@@ -998,4 +1182,4 @@ "403": { | ||
"displayName": "Enchanted Book", | ||
"name": "enchantedBook", | ||
"stackSize": 1 | ||
"stackSize": 1, | ||
"name": "enchanted_book" | ||
}, | ||
@@ -1005,4 +1189,4 @@ "404": { | ||
"displayName": "Redstone Comparator", | ||
"name": "comparator", | ||
"stackSize": 64 | ||
"stackSize": 64, | ||
"name": "comparator" | ||
}, | ||
@@ -1012,4 +1196,4 @@ "405": { | ||
"displayName": "Nether Brick", | ||
"name": "netherbrick", | ||
"stackSize": 64 | ||
"stackSize": 64, | ||
"name": "netherbrick" | ||
}, | ||
@@ -1019,4 +1203,4 @@ "406": { | ||
"displayName": "Nether Quartz", | ||
"name": "netherquartz", | ||
"stackSize": 64 | ||
"stackSize": 64, | ||
"name": "quartz" | ||
}, | ||
@@ -1026,4 +1210,4 @@ "407": { | ||
"displayName": "Minecart with TNT", | ||
"name": "minecartTnt", | ||
"stackSize": 1 | ||
"stackSize": 1, | ||
"name": "tnt_minecart" | ||
}, | ||
@@ -1033,4 +1217,4 @@ "408": { | ||
"displayName": "Minecart with Hopper", | ||
"name": "minecartHopper", | ||
"stackSize": 1 | ||
"stackSize": 1, | ||
"name": "hopper_minecart" | ||
}, | ||
@@ -1040,4 +1224,4 @@ "409": { | ||
"displayName": "Prismarine Shard", | ||
"name": "prismarineShard", | ||
"stackSize": 64 | ||
"stackSize": 64, | ||
"name": "prismarine_shard" | ||
}, | ||
@@ -1047,4 +1231,4 @@ "410": { | ||
"displayName": "Prismarine Crystals", | ||
"name": "prismarineCrystals", | ||
"stackSize": 64 | ||
"stackSize": 64, | ||
"name": "prismarine_crystals" | ||
}, | ||
@@ -1054,4 +1238,4 @@ "411": { | ||
"displayName": "Raw Rabbit", | ||
"name": "rabbitRaw", | ||
"stackSize": 64 | ||
"stackSize": 64, | ||
"name": "rabbit" | ||
}, | ||
@@ -1061,4 +1245,4 @@ "412": { | ||
"displayName": "Cooked Rabbit", | ||
"name": "rabbitCooked", | ||
"stackSize": 64 | ||
"stackSize": 64, | ||
"name": "cooked_rabbit" | ||
}, | ||
@@ -1068,4 +1252,4 @@ "413": { | ||
"displayName": "Rabbit Stew", | ||
"name": "rabbitStew", | ||
"stackSize": 1 | ||
"stackSize": 1, | ||
"name": "rabbit_stew" | ||
}, | ||
@@ -1075,4 +1259,4 @@ "414": { | ||
"displayName": "Rabbit's Foot", | ||
"name": "rabbitFoot", | ||
"stackSize": 64 | ||
"stackSize": 64, | ||
"name": "rabbit_foot" | ||
}, | ||
@@ -1082,4 +1266,4 @@ "415": { | ||
"displayName": "Rabbit Hide", | ||
"name": "rabbitHide", | ||
"stackSize": 64 | ||
"stackSize": 64, | ||
"name": "rabbit_hide" | ||
}, | ||
@@ -1089,4 +1273,4 @@ "416": { | ||
"displayName": "Armor Stand", | ||
"name": "armorStand", | ||
"stackSize": 16 | ||
"stackSize": 16, | ||
"name": "armor_stand" | ||
}, | ||
@@ -1096,4 +1280,4 @@ "417": { | ||
"displayName": "Iron Horse Armor", | ||
"name": "horsearmormetal", | ||
"stackSize": 1 | ||
"stackSize": 1, | ||
"name": "iron_horse_armor" | ||
}, | ||
@@ -1103,4 +1287,4 @@ "418": { | ||
"displayName": "Golden Horse Armor", | ||
"name": "horsearmorgold", | ||
"stackSize": 64 | ||
"stackSize": 1, | ||
"name": "golden_horse_armor" | ||
}, | ||
@@ -1110,4 +1294,4 @@ "419": { | ||
"displayName": "Diamond Horse Armor", | ||
"name": "horsearmordiamond", | ||
"stackSize": 64 | ||
"stackSize": 1, | ||
"name": "diamond_horse_armor" | ||
}, | ||
@@ -1117,4 +1301,4 @@ "420": { | ||
"displayName": "Lead", | ||
"name": "leash", | ||
"stackSize": 64 | ||
"stackSize": 64, | ||
"name": "lead" | ||
}, | ||
@@ -1124,4 +1308,4 @@ "421": { | ||
"displayName": "Name Tag", | ||
"name": "nameTag", | ||
"stackSize": 64 | ||
"stackSize": 64, | ||
"name": "name_tag" | ||
}, | ||
@@ -1131,4 +1315,4 @@ "422": { | ||
"displayName": "Minecart with Command Block", | ||
"name": "minecartCommandBlock", | ||
"stackSize": 1 | ||
"stackSize": 1, | ||
"name": "command_block_minecart" | ||
}, | ||
@@ -1138,4 +1322,4 @@ "423": { | ||
"displayName": "Raw Mutton", | ||
"name": "muttonRaw", | ||
"stackSize": 64 | ||
"stackSize": 64, | ||
"name": "mutton" | ||
}, | ||
@@ -1145,4 +1329,4 @@ "424": { | ||
"displayName": "Cooked Mutton", | ||
"name": "muttonCooked", | ||
"stackSize": 64 | ||
"stackSize": 64, | ||
"name": "cooked_mutton" | ||
}, | ||
@@ -1152,34 +1336,34 @@ "425": { | ||
"displayName": "Banner", | ||
"name": "banner", | ||
"stackSize": 16 | ||
"stackSize": 16, | ||
"name": "banner" | ||
}, | ||
"426": { | ||
"id": 426, | ||
"displayName": "Spruce Door", | ||
"stackSize": 64, | ||
"name": "spruce_door" | ||
}, | ||
"427": { | ||
"id": 427, | ||
"displayName": "Spruce Door", | ||
"name": "doorSpruce", | ||
"stackSize": 64 | ||
"displayName": "Birch Door", | ||
"stackSize": 64, | ||
"name": "birch_door" | ||
}, | ||
"428": { | ||
"id": 428, | ||
"displayName": "Birch Door", | ||
"name": "doorBirch", | ||
"stackSize": 64 | ||
"displayName": "Jungle Door", | ||
"stackSize": 64, | ||
"name": "jungle_door" | ||
}, | ||
"429": { | ||
"id": 429, | ||
"displayName": "Jungle Door", | ||
"name": "doorJungle", | ||
"stackSize": 64 | ||
"displayName": "Acacia Door", | ||
"stackSize": 64, | ||
"name": "acacia_door" | ||
}, | ||
"430": { | ||
"id": 430, | ||
"displayName": "Acacia Door", | ||
"name": "doorAcacia", | ||
"stackSize": 64 | ||
}, | ||
"431": { | ||
"id": 431, | ||
"displayName": "Dark Oak Door", | ||
"name": "doorDarkOak", | ||
"stackSize": 64 | ||
"stackSize": 64, | ||
"name": "dark_oak_door" | ||
}, | ||
@@ -1190,3 +1374,3 @@ "2256": { | ||
"stackSize": 1, | ||
"name": "record13" | ||
"name": "record_13" | ||
}, | ||
@@ -1197,3 +1381,3 @@ "2257": { | ||
"stackSize": 1, | ||
"name": "recordCat" | ||
"name": "record_cat" | ||
}, | ||
@@ -1204,3 +1388,3 @@ "2258": { | ||
"stackSize": 1, | ||
"name": "recordBlocks" | ||
"name": "record_blocks" | ||
}, | ||
@@ -1211,3 +1395,3 @@ "2259": { | ||
"stackSize": 1, | ||
"name": "recordChirp" | ||
"name": "record_chirp" | ||
}, | ||
@@ -1218,3 +1402,3 @@ "2260": { | ||
"stackSize": 1, | ||
"name": "recordFar" | ||
"name": "record_far" | ||
}, | ||
@@ -1225,3 +1409,3 @@ "2261": { | ||
"stackSize": 1, | ||
"name": "recordMall" | ||
"name": "record_mall" | ||
}, | ||
@@ -1232,3 +1416,3 @@ "2262": { | ||
"stackSize": 1, | ||
"name": "recordMellohi" | ||
"name": "record_mellohi" | ||
}, | ||
@@ -1239,3 +1423,3 @@ "2263": { | ||
"stackSize": 1, | ||
"name": "recordStal" | ||
"name": "record_stal" | ||
}, | ||
@@ -1246,3 +1430,3 @@ "2264": { | ||
"stackSize": 1, | ||
"name": "recordStrad" | ||
"name": "record_strad" | ||
}, | ||
@@ -1253,3 +1437,3 @@ "2265": { | ||
"stackSize": 1, | ||
"name": "recordWard" | ||
"name": "record_ward" | ||
}, | ||
@@ -1260,3 +1444,3 @@ "2266": { | ||
"stackSize": 1, | ||
"name": "record11" | ||
"name": "record_11" | ||
}, | ||
@@ -1267,4 +1451,4 @@ "2267": { | ||
"stackSize": 1, | ||
"name": "recordWait" | ||
"name": "record_wait" | ||
} | ||
} | ||
} |
{ | ||
"name": "minecraft-data", | ||
"version": "0.1.1", | ||
"version": "0.2.0", | ||
"description": "provide minecraft data for minecraft clients, servers and libraries", | ||
@@ -18,4 +18,5 @@ "main": "index.js", | ||
"nodemw": "~0.4.2", | ||
"underscore" : "~1.8.2" | ||
"underscore" : "~1.8.2", | ||
"async":"~0.9.0" | ||
} | ||
} |
@@ -1,5 +0,4 @@ | ||
# minecraft-data | ||
# minecraft-data | ||
[![NPM version](https://badge.fury.io/js/minecraft-data.svg)](http://badge.fury.io/js/minecraft-data) [![Build Status](https://circleci.com/gh/PrismarineJS/minecraft-data.svg?style=shield)](https://circleci.com/gh/PrismarineJS/minecraft-data) | ||
[![Build Status](https://circleci.com/gh/PrismarineJS/minecraft-data.png?style=shield)](https://circleci.com/gh/PrismarineJS/minecraft-data) | ||
Provide minecraft data for minecraft clients, servers and libraries. | ||
@@ -15,1 +14,25 @@ | ||
* [Textual documentation of the recipe format](doc/recipes.md) | ||
## Extractors | ||
Minecraft data provides a few extractors to update the data : | ||
* bin/wiki_extractor/item_extractor.js extracts items.json from the minecraft wiki | ||
* bin/wiki_extractor/entities_extractor.js extracts entities.json from the minecraft wiki | ||
* bin/wiki_extractor/blocks_extractor.js extracts blocks.json from the minecraft wiki | ||
* manual filling of materials.json : this file is very simple, it is there to make it easier to handle some edge cases | ||
* manual filling of instruments.json : data coming from http://wiki.vg/Block_Actions | ||
* bin/wiki_extractor/recipes_extractor.js extracts recipes.json from the minecraft wiki | ||
* bin/generate_enums.js is a script to generate the item, block, biome and recipe enums using a burger.json file generated by https://github.com/mcdevs/Burger which is not up to date with minecraft 1.8 | ||
* manual filling of biomes.json : see https://github.com/andrewrk/mineflayer/pull/197 for more detail | ||
## Data quality | ||
Minecraft data provides scripts to audit the data, they can be useful to check the data is correct : | ||
* bin/audit_block_enum.js audits blocks.json : it checks for duplicates names and jumps in ids | ||
* bin/audit_item_enum.js audits items.json : it checks for duplicates names and jumps in ids | ||
* bin/audit_recipes.js audits recipes.json : it counts the number of recipes with a shape, without one and with an outShape | ||
Minecraft data also provides json schemas in enums_schemas/ that are used in test/test.js to check the json file are valid relative to these schemas. | ||
These schemas can also be used to understand better how the json files are formatted in order to use it. |
@@ -11,2 +11,3 @@ var assert = require('assert'); | ||
describe("minecraft-data", function() { | ||
this.timeout(60 * 1000); | ||
enums.forEach(function(enumName){ | ||
@@ -13,0 +14,0 @@ it(enumName+".json is valid",function(){ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
692745
51
36411
37
7
5
1