@occultus/api-root - v0.29.3
    Preparing search index...

    Class BlockWithDestroyCondition

    设置方块的掉落条件

    new BlockWithDestroyCondition("destroy_condition");
    
    "destroy_condition": {
    "tag": "minecraft:is_pickaxe",
    "loot_table": "blocks/lab_table"
    }

    我们推荐使用原版数据驱动来实现有关的功能

    Index

    Constructors

    Properties

    Constructors

    Properties

    name: string