Checking lying items

Started by Turbo_MaKsIk12 on

Topic category: Advanced modding

Active 1 year ago
Joined Jun 2020
Points:
628

User statistics:

  • Modifications: 0
  • Forum topics: 6
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 0
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?

Active 3 hours ago
Joined Apr 2023
Points:
500

User statistics:

  • Modifications: 3
  • Forum topics: 19
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 396
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