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

Started by FireTamer81 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Has "Event/target entity" in inventory BLOCK/ITEM (More than just one item)

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)