gigaherz / Ender-Rift

The Powered Bottomless Storage System
https://www.curseforge.com/minecraft/mc-mods/ender-rift
BSD 3-Clause "New" or "Revised" License
12 stars 6 forks source link

Errors in Recipe "manual.json" #39

Open TheFloydman opened 6 years ago

TheFloydman commented 6 years ago

The recipe for the manual is not being imported into the game for a couple of reasons:

  1. "modid" should have the value "gbook"
  2. every "item" should be followed by a "data", even if the value is 0 (no quotes). This is separate from "nbt", so the "result" array will contain "item", "nbt", and "data", ie:

"item": "gbook:guidebook", "nbt": "{Book:\"enderrift:xml/book.xml\"}", "data": 0

The 2 "item"s in "ingredients" should also each be followed by a "data".

I apologize for not submitting a pull request. I'm new at this.

TheFloydman commented 6 years ago

Here is a fixed version:

{ "type": "minecraft:crafting_shapeless", "conditions": [ { "type": "forge:mod_loaded", "modid": "gbook" } ], "ingredients": [ { "item": "minecraft:book", "data": 0 }, { "item": "minecraft:ender_pearl", "data": 0 } ], "result": { "item": "gbook:guidebook", "nbt": "{Book:\"enderrift:xml/book.xml\"}", "data": 0 } }

gigaherz commented 6 years ago

Thanks! :)