Started by
ezhgamer173
on
Topic category: Feature requests and ideas for MCreator
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.
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
Let me try that
Is this something I can paste into my files?
Because I can't find get entity type.
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