Get Enchant procedure block

Upvotes: 0
Issue description

Get the enchant of the provided tool in Hand, it would be cool for Fortune Pickaxes

Issue comments

Submitted by Klemen on Wed, 03/06/2019 - 19:01

I can add has provided item enchantment block that will check for specific enhancement.

Submitted by skyman478 on Wed, 03/06/2019 - 22:30

That would be very good, nice idea

Thanks, so i can make for some Ore, As trigger, [When block is destroyed by Player]

when i set IF : Has provided item in Hand "Pickaxe"

                      IF: Has provided item enchantment block

                           Spawn Gem(ore>)

Submitted by Klemen on Sat, 03/09/2019 - 14:32

Another good block would be an enhancement level procedure block.

Submitted by Klemen on Sun, 03/10/2019 - 17:07

In 1.8.3, we will add new get enhancement level procedure block. If the returned value is 0, this means that the given item does not have selected enhancement applied.

ok, 1.8.3 is really near, I think it might be released next week

Submitted by Klemen on Sun, 03/10/2019 - 17:41

You will just need to select the desired enchantment to check for from the dropdown.

Submitted by Anakin_Guy on Wed, 03/13/2019 - 13:06

I myself tried to explain it, but you did a good job that.

Submitted by Anakin_Guy on Wed, 03/13/2019 - 15:10

I will wait Enchant procedure block Fortune at 1.8.3.