Loot table: how do I get modded drop from vanilla block?"Solved"

Started by Acidglow on

Topic category: User side tutorials

Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Loot table: how do I get modded drop from vanilla block?"Solved"
Wed, 05/19/2021 - 18:36 (edited)

Hey, I am very new to modding etc. and I can't find any tutorials on how do I get modded drop from vanilla block?

I would like to make a loot table which fx: makes stone drop items from one of the mods on my server, how is this done?

 

I know how to change vanilla block drop to vanilla item.

- stone.json:

{
  "type": "minecraft:block",
  "pools": [
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:diamond_ore",
          "weight": 1,
          "functions": [
            {
              "function": "set_count",
              "count": {
                "min": 1,
                "max": 1
              }
            }
          ]
        }
      ]
    }
  ]
}

Edited by Acidglow on Wed, 05/19/2021 - 18:36
Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Problem solved.
Wed, 05/19/2021 - 18:37

Problem solved.