There have been many questions on MCreator's website on how to use procedure system. We have decided to create a getting started guide for the new procedure system.
We have created a separate wiki page for this purpose. Old event related pages were marked as "legacy" on our wiki, but we will keep them on the website for the users of older MCreator versions.
Many users complained that they can not make things that were possible in event system before. This is not true, however. Just the way how to achieve the same effect is now different. Everything that was possible before is still possible, even with many more options and combinations. This new procedure system is very similar to the one found in Scratch editor. The block system framework we use is called Blockly and is developed by Google. It allows us to make a visual programming experience that was never possible before.
On the procedures wiki page, there are examples of procedures including the explanation of trigger and dependencies. Below, you can see an example of how to make a random possibility condition in the new procedure system.
Random possibility
In this example, we show how to create an if condition that triggers in 70% of the cases. In case it is triggered, the block at x, y, z (these coordinates depend on the trigger that provides actual coordinate values) is removed.
Examples such as the one provided in the citation above and many others can be found on our wiki on the new page dedicated to procedures.
We will update this wiki page with more examples in the future. If you would like to see a specific example, comment on this post and we will select the best requests and add them to the wiki page. Right now, only some procedures that were most commonly asked are shown. These include examples of how to create conditions that could previously be made using the event condition text box.
Comments
You just change the number in the condition. Random generates decimal numbers between 0 and 1 with equal possibility. So if you check if the number is smaller than 0.3, this will be true in 30% of cases if the condition is < 0.9, this will be true in 90% of the cases, so the probability for this condition to be true is 90% out of 100%.
Of course, you can, but right now I don't have a code snippet as it will most likely involve Java reflection in order to access the text field variables from the procedure class. I suggest you open a feature request ticket on our tracker and I will post the code there once I have a working sample.
I think that something not right with procedure triggers. What happened: I place trigger of effect when Item in invertory = npthing happens, however, when I added another trigger : When clicked on air = effect are working and mod is ok now. I guess that there is something not right with procedure system
i wish you could choose what you wanted the random number to be between