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

Started by Thundertide on Wed, 07/14/2021 - 09:22

Topic category: Help with MCreator software

Last seen on 04:22, 21. Jul 2021
Joined Jul 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How do I get the entity type of a certain entity?
Wed, 07/14/2021 - 09:22

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.

Last seen on 04:22, 21. Jul 2021
Joined Jul 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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.

Last seen on 17:02, 16. Sep 2021
Joined Jul 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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

Last seen on 04:22, 21. Jul 2021
Joined Jul 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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.