How to control the durability of object in a procedure

Started by davidegaeta on

Topic category: Help with MCreator software

Active 10 months ago
Joined Oct 2024
Points:
93

User statistics:

  • Modifications: 0
  • Forum topics: 4
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 24
How to control the durability of object in a procedure

Hi. How can make a procedure where insert a condition that control the durability of object? Thanks.

Active 7 hours ago
Joined Dec 2014
Points:
1443

User statistics:

  • Modifications: 0
  • Forum topics: 6
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1388
This?
Wed, 10/30/2024 - 22:07

This?

Active 10 months ago
Joined Oct 2024
Points:
93

User statistics:

  • Modifications: 0
  • Forum topics: 4
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 24
No, I meant whether there is…
Thu, 10/31/2024 - 14:54

No, I meant whether there is a condition that controls when the durability of the object is zero, to be linked to the if block.

 

Active 7 hours ago
Joined Dec 2014
Points:
1443

User statistics:

  • Modifications: 0
  • Forum topics: 6
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1388
Oh, I think item destroyed…
Thu, 10/31/2024 - 15:00

Oh, I think item destroyed might work then

Active 10 months ago
Joined Oct 2024
Points:
93

User statistics:

  • Modifications: 0
  • Forum topics: 4
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 24
if there is a way to create…
Thu, 10/31/2024 - 15:08

if there is a way to create a condition where if the object is consumed completely, so the durability is zero, then it executes an action, for example the sound and animation of item break.

Active 10 months ago
Joined Oct 2024
Points:
93

User statistics:

  • Modifications: 0
  • Forum topics: 4
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 24
how do I put a condition in…
Thu, 10/31/2024 - 15:22

how do I put a condition in the item destroyed procedure if the object is a shear?

Active 7 hours ago
Joined Dec 2014
Points:
1443

User statistics:

  • Modifications: 0
  • Forum topics: 6
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1388
(No subject)
Thu, 10/31/2024 - 15:25

Active 10 months ago
Joined Oct 2024
Points:
93

User statistics:

  • Modifications: 0
  • Forum topics: 4
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 24
The procedure not function.
Fri, 11/01/2024 - 13:24

The procedure not function.

Active 7 hours ago
Joined Dec 2014
Points:
1443

User statistics:

  • Modifications: 0
  • Forum topics: 6
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1388
This worked for me...?
Fri, 11/01/2024 - 13:29

This worked for me...?