Improved NBT json parsing, attribute base

This commit is contained in:
Shoghi Cervantes
2015-08-08 22:39:43 +02:00
parent f5429ef585
commit a9ead5567b
7 changed files with 514 additions and 36 deletions

View File

@ -63,7 +63,12 @@ class CraftingManager{
$this->registerRecipe((new ShapelessRecipe(Item::get(Item::GLOWSTONE_BLOCK, 0, 1)))->addIngredient(Item::get(Item::GLOWSTONE_DUST, 0, 4)));
$this->registerRecipe((new ShapelessRecipe(Item::get(Item::LIT_PUMPKIN, 0, 1)))->addIngredient(Item::get(Item::PUMPKIN, 0, 1))->addIngredient(Item::get(Item::TORCH, 0, 1)));
$this->registerRecipe((new ShapelessRecipe(Item::get(Item::SNOW_BLOCK, 0, 1)))->addIngredient(Item::get(Item::SNOWBALL, 0, 4)));
$this->registerRecipe((new ShapedRecipe(Item::get(Item::SNOW_BLOCK, 0, 1),
"XX",
"XX"
))->setIngredient("X", Item::get(Item::SNOWBALL)));
$this->registerRecipe((new ShapelessRecipe(Item::get(Item::SNOW_LAYER, 0, 6)))->addIngredient(Item::get(Item::SNOW_BLOCK, 0, 3)));
$this->registerRecipe((new ShapedRecipe(Item::get(Item::STICK, 0, 4),