S速风
看了半天教程,貌似只学会了最基础的,再怎么添加就不会了

{
        "type":"minecraft:entity",
        "pools":[
                {
                        "rolls":1,
                        "entries":[
                                {
                                        "type":"minecraft:item",
                                        "name":"minecraft:diamond"
                                }
                        ]
                }
        ]
}


比如这个,我想让僵尸在晴天被杀死掉落钻石,在雨天死亡掉落铁锭

有一说一,论坛教程真的难懂(可能是我傻

2021.12 数据,可能有更多内容看了半天教程,貌似只学会了最基础的,再怎么添加就不会了


{
        "type":"minecraft:entity",
        "pools":[
                {
                        "rolls":1,
                        "entries":[
                                {
                                        "type":"minecraft:item",
                                        "name":"minecraft:diamond"
                                }
                        ]
                }
        ]
}


比如这个,我想让僵尸在晴天被杀死掉落钻石,在雨天死亡掉落铁锭


有一说一,论坛教程真的难懂(可能是我傻

xmdhs
https://misode.github.io/loot-table/

S速风
xmdhs 发表于 2020-3-14 15:56
https://misode.github.io/loot-table/

生成器吗?刚开始学不太想用生成器,而且我还没打开...

xmdhs
本帖最后由 xmdhs 于 2020-3-14 16:19 编辑
S速风 发表于 2020-3-14 16:14
生成器吗?刚开始学不太想用生成器,而且我还没打开...

多等等就可以打开了。生成器又不代表不能学,理解每一段的意思就行。

反正自己写也是复制粘贴,都差不多

{
  "type": "minecraft:entity",
  "pools": [
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:stone",
          "conditions": [
            {
              "condition": "minecraft:weather_check",
              "raining": true
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:stone",
          "conditions": [
            {
              "condition": "minecraft:weather_check",
              "raining": false
            }
          ]
        }
      ],
      "conditions": [
        {
          "condition": "minecraft:killed_by_player",
          "inverse": true
        }
      ]
    }
  ]
}