Single entity in entity parameters is not supported

Started by ManosSef on

Topic category: Troubleshooting, bugs, and solutions

Last seen on 08:39, 21. Aug 2022
Joined Aug 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Single entity in entity parameters is not supported

I updated MCreator to 2022.2 to use the new command parameter builders, and I wanted to make a command that accepts a single entity in an entity parameter. MCreator supports single players (EntityArgument.player()), multiple players (EntityArgument.players()) and multiple entities (EntityArgument.entities()). However, when I checked Minecraft's code, I found there is support for single entities (EntityArgument.entity()), which is not supported in MCreator. Is this a bug?