Checking lying items

Started by Turbo_MaKsIk12 on

Topic category: Advanced modding

Last seen on 13:11, 22. Mar 2024
Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Checking lying items

I'm doing a special ritual in which you need to throw objects into the center of the circle and click on the PCM circle. After that, the function occurs. How to make a check of lying items outside the inventory?

Last seen on 20:45, 24. Apr 2024
Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I think that you could use…
Thu, 04/06/2023 - 12:52

I think that you could use the "for each entity in radius (number) as entity iterator" block with something like

"If entity iterator is sub/type of item"

"Do get itemstack of item entity entity iterator"

and possibly something with local variables to have the game memorize the items