How do i do to make a bonus drop by mining my ore with fortune ?

Started by Hugeh on Thu, 12/31/2020 - 21:08

Topic category: Help with MCreator software

Last seen on 21:41, 23. Jan 2021
Joined May 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How do i do to make a bonus drop by mining my ore with fortune ?
Thu, 12/31/2020 - 21:24 (edited)

Im trying to make my ore drop more gems by the fortune enchantment, but i don't know how to make it possible...

Edited by Hugeh on Thu, 12/31/2020 - 21:24
Last seen on 21:41, 23. Jan 2021
Joined May 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How i do that ?
Sat, 01/02/2021 - 03:52

How i do that ?

Last seen on 18:41, 20. Feb 2021
Joined Jul 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Sorry im a day late, but…
Sun, 01/03/2021 - 18:24

Sorry im a day late, but here is how:

First,create a loot table with whatever name, the actual name isn't important
Next, o inside, and change the top line to blocks/ then the ore name. When doing the ore name replace capital letters with a non-capital and a _ (example: RetroDiamondOre would become retro_diamond_ore, NoobOre would become noob_ore, etc)
Next, make sure the middle section (dropdown) is set to mod and the bottom dropdown is set to blocks
Then modify the existing loot table to be a loot table with 1 rolls (mix and max, no bonus rolls)
Add the gem u want it to drop, set min and max to 1, and click the "affected by fortune" enchant.

Now go to your item, go to its drops area, and click the box for "using a loot table"

If you want to it drop itself with silk touch, do the next 2 steps
Go back to the loot table, go to the group down that says Ignore silk touch, and change that to "Only Without Silk Touch"
Create another entry of the same, but change the gem for the ore, make sure Affected by Fortune is off, and that the dropdown is set to "Only With Silk Touch"