ARRP
ARRP copied to clipboard
Wiki could use more examples on Loot tables
I started using ARRP for my mod's datapack stuff, but then I stumbled across a rather big blocking point, where I found myself unable to reproduce a vanilla loot table in code using the JLootTable methods.
The loot tables I was trying to reproduce were notably :
- the bookshelf loot table (silk touch predicate)
- the slab loot table but with a silk touch predicate for both single and double slab drops.
I would really appreciate if you could either put more examples or point me in the right direction for these 👍
-Aza
UPDATE :
I managed to reproduce the loot tables I aimed to make with ARRP, after understand how JCondition.parameter()
worked !
Some additional documentation on this would still be welcome tho, but that's up to you.
~~Could you send a comment with the code used for that, as I have no idea how to do the silk touch predicate?~~
Nevermind, found it in ATBYW