小波_xiaobo
如题,配方代码:
  1. {
  2.   "format_version": "1.16",
  3.   "minecraft:recipe_shaped": {
  4.     "description": {
  5.     "identifier": "xiaobo:luck1"
  6.     },
  7.     "tags": [ "crafting_table" ],
  8.     "pattern": [
  9.       "###",
  10.       "#*#",
  11.       "###"
  12.     ],
  13.     "key": {
  14.       "#": {
  15.         "item": "minecraft:stick"
  16.       },
  17.       "*": {
  18.         "item": "minecraft:emerald"
  19.       }
  20.     },
  21.     "result": {
  22.       "item": "xiaobo:luck1",
  23.       "data": 1
  24.     }
  25.   }
  26. }
复制代码
报错代码
  1. [Blocks][error]-recipes/luck1.json | xiaobo:luck1 | Custom blocks only support default state when dropped. Consider adding a minecraft:loot component to make the dropped item explicit. Returning default state block.
复制代码



小波_xiaobo
已自行解决:加了个控制数量参数还有data