"Get durability of item in slot S of block at position XYZ" procedure

Started by JDLENL on Thu, 07/18/2019 - 17:01

Topic category: Feature requests and ideas for MCreator

Last seen on 00:50, 4. Aug 2019
Joined Nov 2013
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
"Get durability of item in slot S of block at position XYZ" procedure
Thu, 07/18/2019 - 17:01

Currently, there is no way to determine the durability/damage of an object inside the inventory of a block. A procedure to return the durability (and preferably max durability too) of an object in a specific slot of a block at position XYZ, similar to the "Deal X damage to item in slot S of block at position XYZ" procedure. Since we have a way to modify the damage, we should also have a way to read the damage.