#How to replace loot tables? [1.21]

20 messages · Page 1 of 1 (latest)

deep lintel
#

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.

deep lintel
#

Any help?

deep lintel
#

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.'

final sluice
deep lintel
#

however

deep lintel
#

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

final sluice
#

fuck notch, why on java?

deep lintel
#

also I don't think he ever meant it to last this long when he chose the language

final sluice
humble crater
final sluice
eager cloak
#

if you can read x86, you can mod in C

dense parcel