Where'd "If item X is in player's hand" go?

Started by Sweddy on

Topic category: Help with MCreator software

Active 6 years ago
Joined Sep 2013
Points:
903

User statistics:

  • Modifications: 0
  • Forum topics: 32
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 40
Where'd "If item X is in player's hand" go?

It was there before the Procedure system was overhauled. What happened to it?

I'm trying to add rare drops to blocks that should only apply if the player uses the appropriate tool to break it. I can't do that now seeing as "If item X is in player's hand" is not a procedure anymore.

Active 4 years ago
Joined Jun 2016
Points:
3744

User statistics:

  • Modifications: 10
  • Forum topics: 39
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 5490
Just use these blocks If […
Tue, 06/19/2018 - 14:57

Just use these blocks

If [(Get item in entity main hand) = (item minecraft component)

Do

Active 2 years ago
Joined Apr 2015
Points:
761

User statistics:

  • Modifications: 0
  • Forum topics: 6
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 35
I'm looking for the same…
Sun, 09/16/2018 - 03:58

I'm looking for the same thing, and I don't understand what do you mean by the blocks

If [(Get item in entity main hand) = (item minecraft component)

Do

I understand that I need to use the if then do block, but I have been trying to do item in entity's main hand, and then a specific item, and I have not seem to come across how I can do that.

Active 2 years ago
Joined Apr 2015
Points:
761

User statistics:

  • Modifications: 0
  • Forum topics: 6
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 35
Never mind I found out how I…
Sun, 09/16/2018 - 04:19

Never mind I found out how I to do this, if Sweddy doesn't undertand it either, here's a screenshot

Active 2 years ago
Joined Apr 2015
Points:
761

User statistics:

  • Modifications: 0
  • Forum topics: 6
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 35
(No subject)
Sun, 09/16/2018 - 04:21

this

Active 4 years ago
Joined Sep 2015
Points:
713

User statistics:

  • Modifications: 0
  • Forum topics: 0
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 4
Maybe I'm late but thanks…
Sat, 01/26/2019 - 16:11

Maybe I'm late but thanks mate! You helped preventing another 15 minutes of raging...

Active 4 years ago
Joined Jun 2020
Points:
609

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 3
I can't find those code…
Thu, 06/25/2020 - 23:45

I can't find those code blocks

Active 4 years ago
Joined Jun 2020
Points:
609

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 3
There should really be a…
Sat, 07/18/2020 - 02:59

There should really be a code block search option, but I found them.

Active 2 years ago
Joined Mar 2019
Points:
735

User statistics:

  • Modifications: 0
  • Forum topics: 14
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 17
Where is the "Item in entity…
Sat, 07/25/2020 - 08:46

Where is the "Item in entity's main hand" block ??

Active 2 years ago
Joined Mar 2019
Points:
735

User statistics:

  • Modifications: 0
  • Forum topics: 14
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 17
I'm trying to put the block …
Sat, 07/25/2020 - 08:54

I'm trying to put the block "Item in main hand of event/target entity" in the operation but I can't

Active 10 months ago
Joined Jun 2015
Points:
1275

User statistics:

  • Modifications: 10
  • Forum topics: 32
  • Wiki pages: 0
  • MCreator plugins: 1
  • Comments: 544
Here you go, please in the…
Sat, 07/25/2020 - 11:53

Here you go, please in the future search before asking...
procedure