Started by
Chadderbox
on
Topic category: Help with Minecraft modding (Java Edition)
I am trying to generate a random block out of a loot table I have inside a procedure, does anybody know how to do this? If need be can I code it in and then link the code and procedure (but I don't want to code so my students can follow along more easily)
This is not possible without code at this moment. I suggest you open a support ticket and request this as a feature and we will consider adding a procedure block for this.
Thanks for the reply! How can I do this with code? Or is there as alternative?
I don't have a code at hand for this. This might be worth asking on Minecraft Forge forums.
I agree, there's plenty of situations where it'd be helpful to use a loot table instead of manually coding in chances. The /Loot command is pretty effective, if you just want to drop something from a loot table or dump a loot table in a chest- not so much if you need a specific result for a procedure.
This is supported in 2023.2