观察原版中的石墨压缩机、硅冶炼厂,可以看出他们的共性就是能消耗一些的材料而产出一定量的材料,更通俗的来说,就是对物品加工使其变成另一种物品,那么下面我们就来学习这种方块的写法。

模版

  1. {
  2. "name":"铜铅合金熔炉",
  3. "description":"熔炼合金熔炉",
  4. "size":2,
  5. "health":100,
  6. "requirements":[
  7. "silicon/10",
  8. "titanium/50"
  9. ],
  10. "craftTime":60,
  11. "consumes":{
  12. "power":1,
  13. //电力没有不要写0,应当直接不写这个项
  14. "items":{
  15. "items":[
  16. "copper/1",
  17. "lead/1"
  18. ]
  19. }
  20. },
  21. "outputItems":[
  22. "铜铅合金/2"
  23. ]
  24. }