How do I get the entity type of a certain entity?

Started by Thundertide on

Topic category: Help with MCreator software

Joined Jul 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I get the entity type of a certain entity?

I am trying to make a mob "capture device" and the only variable I cannot find for the life of me is the entityType. I do not want to go through all 100 or so entities to test for it as that seems like a lot more work then it should be. I am ok if I have to write forge code for it, I just cannot find anything online talking about it.

Joined Jul 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I sound like an idiot when I…
Wed, 07/14/2021 - 09:24

I sound like an idiot when I say forge code, I meant java code.

Joined Jul 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Just Choose Search In The…
Wed, 07/14/2021 - 15:05

Just Choose Search In The Procedures "is subtype of" and scroll down, until you find it

Joined Jul 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i feel like you didn't read…
Wed, 07/14/2021 - 20:42

i feel like you didn't read what I said. I want a string. Not a boolean of whether or not it is X mob.

Joined Jan 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Why exactly are you trying…
Tue, 01/04/2022 - 20:59

Why exactly are you trying to get the entity type. Sorry for the awfully late response.