Started by
demotestoauth
on
Topic category: Help with Minecraft modding (Java Edition)
I am new mcreator and just starting out. so, my problem is how to modify default mob drops. I have written an enchantment "Witherite" that can be applied on swords and axes that gives the hit entity wither effect based on the level of 1-4.... so, what i want to do is whenever a wither(boss) is killed, It Should always drop witherite 2 book along with the nether star. I have no idea on how to accomplish this. so, I would be very grateful if someone could help
That should work but it will not contain witherite enchant.. so any way to sneak some nbt data?
I managed to do it.
By creating a variable of type itemstack and add a specific enchant with level to the variable and then spawning the enchanted book.