Closed W1llDu closed 2 years ago
Bfapi uses a different recipe stuff to make it easier to make them without a tool, for a shaped recipe you would need to do:
{
"id": "lifesteal:health",
"recipe": {
"type": "minecraft:shaped_crafting",
"group": "minecraft_apple",
"icon": {
"id": "minecraft:apple",
"Count": 1,
"tag": {
"Marks": [
"lifesteal"
],
"display": {
"Name": "{\"color\":\"red\",\"text\":\"Health\"}"
}
}
},
"requirements": {
},
"results": {
},
"ingredients": [
"minecraft:diamond_block", "minecraft:totem_of_undying", "minecraft:diamond_block",
"minecraft:respawn_anchor", "minecraft:heart_of_the_sea", "minecraft:respawn_anchor",
"minecraft:dragon_head", "minecraft:nether_star", "minecraft:dragon_head"
],
"size": "3x3"
}
}
Hope this helps <3
for example:
java.lang.NullPointerException: Cannot invoke "com.google.gson.JsonElement.getAsJsonArray()" because the return value of "com.google.gson.JsonObject.get(String)" is null