Custom Items from Vanilla Blocks

Started by MamaLuigi on

Topic category: Help with Minecraft modding (Java Edition)

Joined Sep 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Custom Items from Vanilla Blocks

I want to make it so when you break Sand, you have a chance to get Sea Shells, but i want it to use Loot Tables in some way, so that using Fortune could drop more of them

 

How would I accomplish this? Any help would be greatly appreciated!

Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Make a loot table, but…
Sun, 10/08/2023 - 20:18

Make a loot table, but change the namespace to 'minecraft' instead of your mod. Then, just make sure the name of the loot table is the same as the vanilla loot table. (You can use an asset-finder tool like MC Assets to browse data files, or you should be able to look at MCcreator's data lists, or the Minecraft wiki.) As long as the name matches the vanilla block's registry name, you should be able to make it drop whatever you want.