Started by
ktosiowy ktos
on
Topic category: Help with Minecraft modding (Java Edition)
I'm having a quite specific problem here. There's this vanilla feature, that when you right-click a rose bush with shears, it drops another rose bush. I want to disable this feature or make it drop something else than a rose bush. How do I do that?
Create a datapack in which you change the vanilla rose bush loot table to any item you like, then merge that datapack with your mod. That loot should go in - your mod\data\minecraft\loot_tables\blocks (rose_bush.json goes here)
This is the rose_bush loot table:
reference: https://www.youtube.com/results?search_query=custom+loot+table+minecraft
You don't even need to do write one manually then merge. Just create a loottable in your workspace, set it to a block with the name rose_bush, and there you go.
Wouldn't that just change the item that drops after breaking a rose bush? I want to change just the item that drops when you right-click it with shears
Ah I see what you mean now. I believe if you edit the blockstates/loot tables in vanilla MC, you should be able to change it to not drop anything. I'll look into the data files later since I'm curious myself and will update ya.