I want to remove the bones drop from a wither skeleton and add a new one.
I managed to use LootTableEvents.MODIFY to add my new drop, but I don't know how to remove the bones.
I am pretty sure there is no way to just remove them, so I figures I should propably replace the whole loot table using LootTableEvents.REPLACE.
I created my loot table but I have no clue how to use LootTableEvents.REPLACE as there are no sources showing how, and I don't understand how MODIFY works to try and do it on my own.
#How to replace loot tables? [1.21]
20 messages · Page 1 of 1 (latest)
Any help?
In case of doubts check the docs: https://maven.fabricmc.net/docs/fabric-api-0.101.2+1.21/net/fabricmc/fabric/api/loot/v3/LootTableEvents.html
Yes but the docs only say:
'This event can be used to replace loot tables. If a loot table is replaced, the iteration will stop for that loot table.'
had you found any solution?
I did not manage to solve my problem
however
I think the way you are supposed to do it is by using mixins
I never ended up using mixins for anything, but from what I have heard its a bit difficult so if you are just starting out, I would suggest that you don't deal with it right now
yeah, they are difficult
fuck notch, why on java?
Well I guess it was a logical choice 15 years ago
also I don't think he ever meant it to last this long when he chose the language

Would you prefer to mod in C? Python?
No... cause I don't know how it is honestly
a mad man once said
if you can read x86, you can mod in C
Nasa's supercomputers would barely be able to run a Minecraft written in Python 😭