How to Generate Random Loot in Chest EFFICIENT

Started by marcell123455 on

Topic category: Help with modding (Java Edition)

Last seen on 21:48, 16. Jan 2024
Joined Aug 2013
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to Generate Random Loot in Chest EFFICIENT
Thu, 08/08/2019 - 10:21 (edited)

Hi I am tying to create random loot in chests. I created these procedures, they work but they also crash the game sometimes and are very inefficient. Has anyone a idea how to fix this, or create a completely new way to get random loot in chests?

When a "Spawnerblock" is placed this will be executet on update tick:

https://imgur.com/2OX2UXS

NormallootCount is 6

https://imgur.com/2OleKHR

than comes the final generation

https://imgur.com/PIXc55S

 

 

THANKS :)

Edited by marcell123455 on Thu, 08/08/2019 - 10:21
Last seen on 20:25, 8. May 2020
Joined Aug 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Make your loot table in…
Wed, 10/16/2019 - 09:45

Make your loot table in procedures using this method: https://www.youtube.com/watch?v=aA04iEQAdMs

Here, you can see a complete vanilla chest loot table: https://www.youtube.com/watch?v=oGYHO4wpLGw&t=70s

Read the pinned comment on the second video.