Procedure Problem.

Started by ElementKing on

Topic category: Advanced modding

Last seen on 13:33, 2. Jul 2019
Joined Oct 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Procedure Problem.

I am quite confused about how to use this Procedure System to make a lucky block. Any suggestions?

Last seen on 10:28, 10. May 2021
Joined Mar 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
It is even easier to make…
Thu, 08/02/2018 - 06:09

It is even easier to make Lucky Blocks now because of this procedure system. Here's what you have to do:

  1. Drag an "if" block from logic and loops
  2. Click on the gear, that should open a menu where you can build your "else" loop
  3. Drag as many "else if" blocks to the if block (the one in the menu) as you want possibilities for your block. You will have an extra possibility from the initial "if"
  4. Now at each "if" on the base column you will have to build your condition something like this: From logic and loops you connect the _=_ (the purple one not the blue one)
  5. In the first space you drag the PI from math( I can't find the symbol on my keyboard  search it on the Internet if you don't know it)
  6. Click on it and choose "Random 0,1"
  7. Now click on the "=" sign in the middle of the condition and choose "<"
  8. In the second space drag "0" from math and change it to the chance you want your next event to happen (%) x 0,01
  9. Do this for all the conditions and fill in every event.

If you don't want a chance to get nothing from the block change the last "else if" to "else"

If an event doesn't happen it will go further down the column.

Please reply, tell me if you succeeded or didn't understand.