Has "Event/target entity" in inventory BLOCK/ITEM (More than just one item)

Started by FireTamer81 on Mon, 03/08/2021 - 11:22

Topic category: Help with modding (Java Edition)

Last seen on 15:23, 24. Mar 2021
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Has "Event/target entity" in inventory BLOCK/ITEM (More than just one item)
Mon, 03/08/2021 - 11:22

Context, I am creating a block that will build other blocks around it to form a complete multi-block, but only if the player has the required resources in their inventory. 

If player has these blocks/items, remove said items/blocks and place these blocks, else print material list.

The problem I have com across is not knowing how to specify how many of each item/block the player needs before the if statement is considered true/false.

 

I am not exactly sure how to do the images, so I hope what I wrote sufficiently described my dilemma. (If I need to post the image of the procedure, then I can if one were to tell me how)