Random Selection?

Started by Crispy_Memes on Wed, 12/16/2015 - 16:35
Last seen on 02:54, 18. Dec 2015
Joined Dec 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Random Selection?
Wed, 12/16/2015 - 16:35

Hi, I am trying to make a mod with presents in it like Christmas, but I want to make the present right click present and it gives you a random item.. Is there a way to do that?

Thanks!

Last seen on 22:33, 5. Aug 2017
Joined Sep 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
I belive you can do it using
Wed, 12/16/2015 - 18:57

I belive you can do it using variables. I'm not sure how tho

Last seen on 08:18, 12. Jan 2018
Joined May 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
yes it is with events not
Thu, 12/17/2015 - 22:25

yes it is with events not variables this is what you do

 

1.Make a Block

2.Setup the stuff

3.then finsh it

4.click on it again and heasd towards events

5.The click "Add Event" To On Block Rightclick

6.Use Either "Spawn Gem" or "Add Item To Inventory" ~2nd option is a little buggy but still works..)

The thats it....I have a porblem with trying to get it spawn randomly in the world so i cant help you with that one