I just recently have been interested in changing the loot table of mobs, and no matter how hard I try, I can't disable stone swords from a wither skeleton's drops. I even looked into the original loot table for the wither skeleton, and the stone sword doesn't even show as an option
I just recently have been interested in changing the loot table of mobs, and no matter how hard I try, I can't disable stone swords from a wither skeleton's drops. I even looked into the original loot table for the wither skeleton, and the stone sword doesn't even show as an option
Equipped items are handled differently than drops in the loot table.
https://minecraft.fandom.com/wiki/Drops
I expect you'd have to mod the game to change the drop rate of equipped items.
You ought to be able to use a command block to delete the swords when they're dropped.
Or, if this is just for an XP/loot farm you could build an item sorter to automatically sort out the swords and drop them into lava or cactus.
Just testing.
Oh, okay, thank you, that's what I expected. There isn't a .json file dedicated for mob equipment in loot_tables?