Random vanilla chest loot

Started by scorpion981 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jul 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Random vanilla chest loot

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.

Joined Jul 2017
Points:

User statistics:

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

Can someone answer pls?

Joined Aug 2019
Points:

User statistics:

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

Joined Aug 2019
Points:

User statistics:

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

Joined Jul 2017
Points:

User statistics:

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

This is not really helping, sorry