[TUTORIAL] Very easy way to override vanilla drops

Started by crispy_chips1234 on

Topic category: User side tutorials

Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
[TUTORIAL] Very easy way to override vanilla drops
Sat, 02/15/2020 - 17:34 (edited)

In this tutorial I will be showing you how to change vanilla  block drops. No coding/loot tables required.

1:Make a procedure element and make it trigger by global trigger when block broken.

2:Do this:

bruuuuuuuh

What this does is that it breaks the block completely(without drop) before the game drops the loot table, and the command spawns a iron ingot in the exact place where the drop is supposed to be.

2.5:The Command: /summon minecraft:item ~0.5 ~ ~0.5 {Item:{id:"minecraft:iron_ingot",Count:1b,Damage:0s}}

Replace the oak with whatever the broken block is in your case and replace id:"minecraft:iron_ingot" with the register name of the drop you want(works with modded drops but only from your mod)

3:You can also do more complex conditions in the if statement. For example if you want oak wood to have a 25% chance to drop 3 diamonds along with the iron:

complex

4:If you want your loot to drop along with the vanilla loot table, do the same as the first loot table but without the destroy block

5:If you want multiple item drops, use the repeat x times procedure block

This works for 1.12 and 1.14(But I haven't tested it for 1.14 yet)

That's it! I hope I helped! 


Vote on the next tutorial

1-Custom shoot speed for a ranged weapon

2-Advanced Alloy Smelter tutorial

3-Items that lose durability in water

Edited by crispy_chips1234 on Sat, 02/15/2020 - 17:34
Joined Aug 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
A way more simple than yours…
Sat, 02/15/2020 - 14:20

A way more simple than yours. Use loot tables with namespace minecraft. It works every time. ;)

Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Yes, but it won't work in…
Sun, 02/16/2020 - 02:15

Yes, but it won't work in more complex conditions(for example different drops on different blocks) 

Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Oof Next tutorial:Ranged…
Thu, 02/20/2020 - 08:27

Oof

Next tutorial:Ranged Weapon with custom shoot speed

Joined Feb 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Awww, I was gonna ask for…
Sun, 02/23/2020 - 14:31

Awww, I was gonna ask for the second one, the advanced alloy smelter. But now that you wrote it, I guess custom shot speed is pretty cool as well.
Now that I think more about, that's pretty useful.
I'm voting for the custom shot speed.

Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
lol the "advanced" alloy…
Mon, 02/24/2020 - 00:54

lol the "advanced" alloy smelter is just a furnace with 3 slots for those who don't know procedures XD
And I'm making the custom shoot speed tutorial today

Joined Dec 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Can i get this to work with…
Fri, 01/22/2021 - 23:00

Can i get this to work with modded items?

 

Joined Dec 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
for which version Mcreator ?
Sun, 02/06/2022 - 17:13

for which version Mcreator ?

Joined Dec 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
works for 1.19.4, have been…
Sun, 03/03/2024 - 17:16

works for 1.19.4, have been looking for this all over the internet, thank you verey much :)

Joined Apr 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I've been trying to follow…
Fri, 04/05/2024 - 00:26

I've been trying to follow this but I fail at the first thing to even start it. which is I can't fine the one code block wich has the "get block at x y z" and the one with the slot of said block (idk how you call it) component. I've been working on this one ore for my mod that turns to stone when it's morning and then turns into the custom ore when it's night but I've been trying to fix drops for it, normal deepslate or stone when morning, custom drop at night. been really struggling with this and tried loot tables but that hasn't worked so any input will help tremendously. I'm using the 2024 version of the program and my mod is for version 1.20.1 for minecraft.