drop_weighted_random_item

drop_weighted_random_item

触发效果

在触发器属性中的位置按权重随机掉落一个物品。

示例配置

- id: drop_weighted_random_item
  args:
    items: # 随机物品列表
      - items: # 各个子物品下可以单独为其设置权重值
          - diamond 2
          - ancient_debris 2
        weight: 2
      - item: ancient_debris # Or just a single item
        weight: 5

Last updated