Fortune with enchanted pickaxe procedure

Started by Anakin_Guy on

Topic category: Help with MCreator software

Joined Dec 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Fortune with enchanted pickaxe procedure
Sun, 03/24/2019 - 19:37 (edited)

Help me please with the procedure of ore gem.

Please tell me the procedure of this procedure.

How can I do this so that it only works when Pickaxe is enchanted?

How do I make it work like this?

Help me please for 1.8.3

Edited by Anakin_Guy on Sun, 03/24/2019 - 19:37
Joined Apr 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You want to generate ore or…
Sat, 01/05/2019 - 03:48

You want to generate ore or to make ore drop random loot? Be more specific

 

Joined Sep 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
If you're looking to attempt…
Sat, 01/05/2019 - 08:09

If you're looking to attempt to replicate the Fortune enchantment for a custom block (or to change how vanilla blocks work), here's a method using the Random 0,1 block:

Fortune

 

This example shows that, when a block (in this case a Diamond Ore block) were to be broken via mining, there is a 25% chance that the ore will spawn 3 Diamonds, whereas a 10% chance to spawn 5. A little bit overkill, but examples are examples. This method is pretty easy to work with and is very modular. It's been awhile since I've used MCreator (due to work, my poor mod's been dead, oops) so I'm sure there's a more condensed way to do this.

Joined Dec 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
xDovah It works even without…
Sat, 01/05/2019 - 18:36

xDovah It works even without charms, it should work only with Fortune enchantment.

Joined Dec 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Wes I want to mine ore.
Sat, 01/05/2019 - 18:38

Wes I want to mine ore.

Joined Nov 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Or you could assign the…
Sun, 01/06/2019 - 16:21

Or you could assign the number to a variable and times it using Random(0,1)

like this:

(Random(0,1) x fortunevar)

and put it in a repeat block to spawn whatever item.

Joined Dec 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
  how can i make it work…
Wed, 01/16/2019 - 21:13

 

how can i make it work only when enchanting?

Joined Aug 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
What do you mean with "How…
Sun, 01/20/2019 - 15:02

What do you mean with "How can I make it work only when enchanting"? Do you mean when you have the fortune enchantment on whatever pick you mine it with? If so then you don't need any procedures to do so, the game automatically does the fortune effect on every ore, even for modified versions of the game. And if you are confused and asking "What on earth does this person mean with 'modified versions of the game' " it means modded minecraft which means using mods on minecraft. Also no one would solve your problem if you aren't so specific, today I just made a topic talking about how can I make an item place a block in the overworld, I don't have to talk about it so much because the title explains the whole topic, I agree with Wes really. Also DiamondGamin you don't have to assign that variable because that way you are only doing more steps plus you don't need the variable because the (Random (0,1)) block chooses a random number between 0 and 1 and so that variable is useless. Just saying that it doesn't have to be there plus for people who don't know how variables work (Like me, they are confusing because I have done quite a lot of games on Scratch and I know that you only need to go to data grab the block that has the variable name on it and well, do anything with it) it is quite confusing at first (But the (Get ([Variable name])) does the same thing) wouldn't actually know how it works. But the topic on this comment is you don't need a procedure if the pickaxe you want the person to mine the ore with already has a fortune enchantment. Also I agree with Wes, be more specific.

Joined Dec 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Let the procedure add the…
Tue, 01/22/2019 - 21:49

Let the procedure add the ability to work on enchantments for 1.8.2.

Joined Dec 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How can I do this so that it…
Sun, 01/27/2019 - 22:43

How can I do this so that it only works when Pickaxe is enchanted?