what is entity and itemstack iterator

Started by dsadasdas on

Topic category: Help with modding (Java Edition)

Last seen on 08:13, 15. Apr 2024
Joined Mar 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
what is entity and itemstack iterator

im a bit confused on what these are? by looking at a old forum post, i got this link, but it dosent really help

Last seen on 08:13, 15. Apr 2024
Joined Mar 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
just sending a reply so this…
Mon, 03/25/2024 - 16:31

just sending a reply so this gets pushed up in the category because i really wanna know...

Last seen on 08:13, 15. Apr 2024
Joined Mar 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
please?
Mon, 03/25/2024 - 18:26

please?

Last seen on 16:12, 23. Apr 2024
Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i don't know exactly but i…
Mon, 03/25/2024 - 18:35

i don't know exactly but i understand a bit about entity iterator, if you use world procedures like (for each entity/player... as entity iterator) you can use inside it the entity iterator, in my case i use this to filter like this (if entity iterator==get entity(zombie): will only execute this to zombies).

 

Sorry if bad english ;)

Last seen on 16:12, 23. Apr 2024
Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Here's an example
Mon, 03/25/2024 - 18:42

Here's an example