How to create your own Lucky Block mod using MCreator

Started by ZombieManF on Mon, 12/03/2018 - 21:26

Topic category: User side tutorials

Last seen on 20:30, 11. Dec 2018
Joined Dec 2018
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How to create your own Lucky Block mod using MCreator
Mon, 12/03/2018 - 21:26

IDK if there is already a tutorial on this, but this is my personal way of making a Lucky Block, so just follow along with the steps (sorry if they are hard to read).

  1. Create your Lucky Block texture. I would recommend either Importing it or Drawing it, as you cannot get the question mark in the easy-to-use interface. Unless you do not want the question mark, in which case, proceed.
  2. Create a new block and make it your Lucky Block.
  3. Check the box that says "Doesn't drop itself?" and set the item to air (the cloud).
  4. Add a procedure under "When block destroyed by player."
  5. Create a new local Number variable and name it "Lucky".
  6. Enter the following block: "Set(Lucky) to: (((Random [0,1)) x (amountOfThingsThatCanHappen)) + (1))"
  7. Add an If Then block. Click the gear in the corner and add an Else If block for every thing that you want to happen.
  8. On every If block, put an ((variable) = (thenumber)). Increase it by 1 each time.
  9. Add lines of code inside each If and Else If for every thing you want your Lucky Block to do when cracked open.

If it does not work, check to make sure you did the steps correctly (they worked for me when I tested). The steps above are for MCreator 1.8.1.

I hope this tutorial helped!

Last seen on 04:03, 21. Oct 2020
Joined Nov 2015
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Thanks for this easy…
Thu, 12/27/2018 - 23:29

Thanks for this easy tutorial!

Last seen on 00:26, 18. Jun 2020
Joined Oct 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
ill like this if the creator…
Tue, 01/08/2019 - 16:06

ill like this if the creator of mcreator add procedures to mcreator 1.10.2

Last seen on 16:38, 10. Dec 2019
Joined Mar 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
bad undersand 
Wed, 01/09/2019 - 11:47

bad undersand 

Last seen on 17:11, 10. Oct 2020
Joined Aug 2018
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I use the previous version…
Sat, 01/19/2019 - 20:06

I use the previous version of mcreator ):

Last seen on 02:21, 27. Oct 2020
Joined Aug 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Do you have MCreator 1.7.9…
Sat, 01/19/2019 - 21:48

Do you have MCreator 1.7.9 or more or MCreator 1.7.8 or less ?

Last seen on 17:11, 10. Oct 2020
Joined Aug 2018
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
1.7.8 Yeh.
Sun, 01/20/2019 - 02:05

1.7.8

Yeh.

Last seen on 10:07, 14. Aug 2020
Joined Jul 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I found that you can also…
Sun, 01/20/2019 - 06:00

I found that you can also use the "When block destroyed by player" event to put in various things & use the random possibility condition or use various probability conditions.

Last seen on 17:11, 10. Oct 2020
Joined Aug 2018
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I have used it once, but I…
Sun, 01/20/2019 - 14:32

I have used it once, but I have progress on previous versions. I don't like it either.

Last seen on 19:38, 26. Oct 2020
Joined Apr 2010
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
It only has new features and…
Sun, 01/20/2019 - 14:51

It only has new features and fixes a lot of bugs. We don't offer any official support for older versions.

Last seen on 15:07, 16. Mar 2020
Joined Apr 2017
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I don't think he gives…
Mon, 01/21/2019 - 13:04

I don't think he gives enough info (at least in my opinion) but maybe you can help?

I want to but can nothing with the given info about the problem.

https://mcreator.net/forum/46480/help-gui

Last seen on 16:55, 25. Oct 2020
Joined Jun 2018
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
works great thanks (:
Mon, 04/08/2019 - 19:57

works great thanks (: