Creative Loot tables 图标

Creative Loot tables

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.0.0
本资源为搬运资源,原资源地址: https://modrinth.com/mod/creative-loot-tables
资源信息

Minecraft 版本: 1.21.4 1.21.5

平台: fabric

标签: utility

资源介绍

CREATIVE LOOT TABLES

Creative loot tables is a mod that allows you to show some items of your datapack's loot tables in a new creative intentory tab.
This items will automatically update when realoading your datapacks with /reload or re entering your world.

For now the mod only works in single player


Usage

To use the mod you need to create a loot table called creative_loot_table in your datapack's namespace loot_table folder that allows you to get all the items you want to show in the creative tab without condition.

Example.

in datapacks\your_datapack\data\your_namespace\loot_table\creative_loot_table.json

you can have something like this, where you add a pool to each item

{
  "pools": [
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:loot_table",
          "value": "minecraft:blocks/dirt"
        }
      ]
    },
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "value": "minecraft:entities/cow",
          "name": "minecraft:diamond_sword",
          "functions": [
            {
              "function": "minecraft:set_name",
              "name": "My cool sword"
            }
          ]
        }
      ]
    }
  ]
}

Referencing in each entry a loot table that gives you the item with no condition or directly defining the item.

Is important that this loot tables is in the root loot_table folder and not in a subfolder like: datapacks\your_datapack\data\your_namespace\loot_table\swords\creative_loot_table.json

下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Glowing Blocks

价格:0 墨喵币
下载量:0

查看详情
SmeltRawOreBlocks

价格:0 墨喵币
下载量:0

查看详情
Velpix Shaders

价格:0 墨喵币
下载量:0

查看详情
Stinky SMP

价格:0 墨喵币
下载量:0

查看详情