Procedure to test for multiple items in entities inventory

Status
Migrated
Issue description

Future support for testing for multiple items in an entity's inventory such as player or mob. Below are some suggested support features.

  • Testing for multiple items in the hotbar.
  • Testing for multiple items in the inventory.

If other people have any ideas on things I have missed feel free to join the conversation in the comments of this post.

Issue comments

One of the blocks suggested in that ticket is the "Get stack size", which would fill the role.

One can not convert slot contents to itemstack yet, although it is planned, so, for now, this one would be required separately too.

At this point, this can be done using loops and checking all slots in inventory, but if possible, a more convenient procedure block will be considered for this.