Devan-Kerman / ARRP

A fabric api for creating resources and assets at runtime
Mozilla Public License 2.0
101 stars 25 forks source link

Adding LootTable in the Wiki page doesn't seem to work #12

Closed yuesha-yc closed 3 years ago

yuesha-yc commented 4 years ago
RESOURCE_PACK.addLootTable(id("minecraft:blocks/acacia_fence"),
                loot("minecraft:block")
                        .pool(pool()
                                .rolls(1)
                                .entry(entry()
                                        .type("minecraft:item")
                                        .name("minecraft:diamond"))
                                .condition(condition("minecraft:survives_explosion")))
        );
Devan-Kerman commented 3 years ago

uhh, did u register ur resource pak

yuesha-yc commented 3 years ago

yes

Devan-Kerman commented 3 years ago

idk what u did wrong, there are some new examples and docs on the way, if u still have this problem make a new issue or smth