跳到主要内容

Treasure Hunter Action

Mining simple blocks like Dirt or Stone has a chance to drop Emeralds

字段

字段类型默认值描述
chanceDouble0.005Chance to drop a treasure per block broken (e.g. 0.005 for 0.5%)
TypeWriter 通用字段(criteria, modifiers, triggers)
字段类型默认值描述
criteriaList<Criteria>empty—
modifiersList<Modifier>empty—
triggersList<Ref<TriggerableEntry>>empty—

When to use it​

Put this entry in the actions of a mechanic of a Custom Enchantment Definition whose event is BLOCK_BREAK. It reads the block-break event.