Problem with stripping wood is when there is any item in second hand

Started by wMalgama on

Topic category: Help with Minecraft modding (Java Edition)

Active 3 weeks ago
Joined Feb 2025
Points:
15

User statistics:

  • Modifications: 0
  • Forum topics: 2
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 3
Problem with stripping wood is when there is any item in second hand

This procedure replace a birch log with a new mod block when stripping with any axe. This works as long as there is no items in the second hand; if there is an any items, the procedure stops working, even if item is later removed from the second hand. How can I fix this?


This procedure:

 

 

Active 1 day ago
Joined Feb 2025
Points:
21

User statistics:

  • Modifications: 0
  • Forum topics: 3
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 3
I'm quite new to this as…
Thu, 02/20/2025 - 18:02

I'm quite new to this as well, but if you're looking for something new, depending on the update you're using, I've got a procedure that works perfectly, at least for me

https://mcreator.net/forum/101628/logswood-stripped-variant-stripping-procedure-prevent-block-placement

Here is where I got the procedure from, thanks to that beautiful person giving their procedure out. If you try it, hopefully it works for you!

Active 1 day ago
Joined Sep 2023
Points:
133

User statistics:

  • Modifications: 0
  • Forum topics: 4
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 6
No idea why this is…
Thu, 02/20/2025 - 19:04

No idea why this is happening but it should be fixable by just adding a check for the offhand. Detect both if the offhand is air, and if it is not air, using an OR. This should make your procedure execute if the offhand either contains air OR does not contain air.

Active 3 weeks ago
Joined Feb 2025
Points:
15

User statistics:

  • Modifications: 0
  • Forum topics: 2
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 3
It turned out that this…
Fri, 02/21/2025 - 09:29

It turned out that this error occurs when the other hand has an item that can perform actions on the pcm (food, tools)
. I still don't know what the problem is, adding a condition with an empty/filled slot of the left hand, which kryr suggested, didn't help

Active 3 weeks ago
Joined Feb 2025
Points:
15

User statistics:

  • Modifications: 0
  • Forum topics: 2
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 3
It turned out that this…
Fri, 02/21/2025 - 09:32

It turned out that this error occurs when the other hand has an item that can perform actions on the pcm (food, tools)

*on the mouse right click, misspell