How to Generate Random Loot in Chest EFFICIENT

Started by marcell123455 on Thu, 08/08/2019 - 10:19

Topic category: Help with MCreator modding

Last seen on 14:21, 22. Sep 2019
Joined Aug 2013
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
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