Pick item from loot table in procedure

Started by Chadderbox on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jul 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Pick item from loot table in procedure

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…
Fri, 02/28/2020 - 17:05

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.

Joined Jul 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thanks for the reply! How…
Fri, 02/28/2020 - 17:07

Thanks for the reply! How can I do this with code? Or is there as alternative?

Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
 I agree, there's plenty of…
Tue, 07/25/2023 - 03:40

 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.