mojira.dev
MCPE-39580

Can't use custom entities in type selectors

Using the type selector with custom entities in commands will return an error and will not target the entity.

Comments 7

Would like to comment that a certain custom entity (without a runtime_identifier) was considered to be a minecraft:cat by commands (\kill @e[type=!player] would kill it and say "Killed Cat" and \kill @e[type=cat] would kill it)

It's either a panda or a cat

Can confirm for the latest beta

In beta 1.10.0.3, custom entity identifiers still seem to be unable to be used in type selectors, though I do not know if changes to addons has somehow caused the custom entity I'm testing with to become somehow partially invalid.

/summon custom:entity
  custom:entity is listed as a suggestion and the command works (poor guy's invisible, though, despite otherwise functioning normally and making noise)

/kill @e[type=custom:entity]
  custom:entity is not listed as a suggestion, command fails with syntax error

 

/kill @e[type=!player]
  kills entity with the output "Killed Unknown"

Can confirm for the latest beta

Fixed in the latest beta

Cleaning up old tickets: This ticket has not been updated recently so is being closed as Cannot Reproduce. If you feel this is still a valid issue then please comment, or create a new ticket following the Issue Guidelines.

Also, we'd recommend making use of the search feature before writing a new bug report, as it's very likely that the issue has been mentioned already, and you can add a vote and any new information to the main ticket.

For any queries with your account or billing, you will need to contact Mojang Customer Support directly.

For feature requests or feedback, please head over to the Minecraft Feedback Site where you can search and vote for existing topics, or add a new thread if necessary.

Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki

Wither

(Unassigned)

Unconfirmed

Windows

Windows 10

add-on, command, custom-entity, selector

1.9.0.3 Beta, 1.8.1, 1.9.0.5 Beta, 1.10.0.3 Beta

Retrieved