0

I'm trying to create a button that when pushed, will spawn a random mob at a given x y z coordinates, but I can't seem to figure out how to pick a random mob.

How would I do this?

Robotnik
  • 38,548
  • 48
  • 184
  • 313
Dcybroz
  • 13
  • 2

1 Answers1

0

You can have a randomization system set up and then for each output have it use a certain mob. This means for each output you will have to hard-code a mob to go along with it. Your randomization can use scoreboard events, droppers (dropper will drop a random item out of its container), entity walking, @r with armor_stands, etc.

Penguin
  • 5,340
  • 6
  • 25
  • 57