插件手册:mythicmobs:技能:机制列表:breakblockandgiveitem

Break Block And Give Item


在目标位置打破方块并提供物品。这个机制也会掉落方块(基岩除外)。需要forcesync=true

属性缩写描述默认值-
doDropsdrops, d是否掉落方块true-
doEffectefffect, e是否显示破坏效果true-
useTooltool, t是否使用玩家手中的工具true-
fakelootingfl从原点播放拾取物品动画false-
itemsitem, i要掉落的物品或整个掉落表-

使用坩埚物品: 它不会掉落泥土,而是会为玩家提供钻石。

  1. #Items Document
  2. CustomItem:
  3.   Id: GOLDEN_SHOVEL
  4.   Display: 'Lucky Shovel'
  5.   Skills:
  6. - skill{s=dirtToDiamonds;sync=true} @TargetLocation ~onBreakBlock
  7.  
  8. #Skills Document
  9. dirtToDiamonds:
  10.   TargetConditions:
  11. - blocktype{t=DIRT,GRASS_BLOCK} true
  12.   Skills:
  13. - breakBlockAndGiveItem{dodrops=false;items=diamond}
  • 插件手册/mythicmobs/技能/机制列表/breakblockandgiveitem.txt
  • 最后更改: 2021/09/07 09:14
  • duangfafa