Get entity ID or spawn egg

Started by ezhgamer173 on

Topic category: Feature requests and ideas for MCreator

Last seen on 22:12, 7. Mar 2024
Joined Nov 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Get entity ID or spawn egg

I'm trying to make a capture mod, and I can't find a way to get the ID of an entity, for example skeletons return "minecraft:skeleton". Another nice block would be get entity spawn egg.

Last seen on 13:58, 21. Jan 2023
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
get entitys at position {x,y…
Tue, 12/28/2021 - 16:24

get entitys at position {x,y,z of entity {insert capture entitiy/entities}} if !null && !minecraft:item then get trigger entity type if trigger entity type = mod:AdminBallEntity

get entitys at position {x,y,z of entity {insert capture entitiy/entities}} choose random number get for each entity at position {x,y,z of entity {insert capture entitiy/entities}} iterator ran(0 : (entity iterators -1)}}) get type of entity iterators give throw entity Admin ball caputured{held entity:{entity iterator} entityNBT:[{contains all NBT information from the entity}]}

that is complicated and slightly summarized

Last seen on 22:12, 7. Mar 2024
Joined Nov 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Let me try that  
Sun, 01/02/2022 - 13:22

Let me try that

 

Last seen on 22:12, 7. Mar 2024
Joined Nov 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Is this something I can…
Sun, 01/02/2022 - 13:26

Is this something I can paste into my files?

Because I can't find get entity type.

 

Last seen on 21:45, 9. Oct 2023
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I am quite confused if there…
Mon, 05/02/2022 - 05:49

I am quite confused if there is a way one could get a spawn egg from whatever entity the player is right-clicking, by using procedures specifically