Random vanilla chest loot

Started by scorpion981 on Mon, 09/30/2019 - 00:32

Topic category: Help with MCreator modding

Last seen on 00:07, 16. Oct 2019
Joined Jul 2017
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Random vanilla chest loot
Mon, 09/30/2019 - 00:32

How do i make a chest with random loots like the chests in vanilla villages, dungeons or nether fortresss? It can be with a structure, a block that spawn chest or another thing if you have others ideas. There is another topic for that but Mcreator change and i dont find what he was talking about.

Last seen on 00:07, 16. Oct 2019
Joined Jul 2017
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Can someone answer pls?
Mon, 09/30/2019 - 21:51

Can someone answer pls?

Last seen on 23:57, 15. Oct 2019
Joined Aug 2019
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
One way of doing it through…
Tue, 10/01/2019 - 21:18

One way of doing it through procedures it is by adding items inside of a block if it has tile entity. Use a random number to put it inside of a slot (use round and multiply to get the max number of slots -1)

There are a couple of tricks you can use to get something inside of a random slot and when it is placed inside of a slot, create a procedure that also randomises the item and the amount.

Last seen on 23:57, 15. Oct 2019
Joined Aug 2019
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
I think there are also posts…
Tue, 10/01/2019 - 21:19

I think there are also posts about this already showing how to do this exactly using custom code.

Last seen on 00:07, 16. Oct 2019
Joined Jul 2017
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
This is not really helping,…
Thu, 10/10/2019 - 01:00

This is not really helping, sorry