How do I get the registry of an entity created by Mcreator? (Custom Coding)

Started by Hatsuya on Sat, 04/17/2021 - 19:56

Topic category: Help with modding (Java Edition)

Last seen on 10:10, 25. Jun 2021
Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How do I get the registry of an entity created by Mcreator? (Custom Coding)
Sat, 04/17/2021 - 19:57 (edited)

How do I get the registration of the entity I created using mcreator? apparently they are all registered as CustomEntity, how do I get the registration and put it here: https://imgur.com/Mwxcc52 ?
?


 

Edited by Hatsuya on Sat, 04/17/2021 - 19:57
Last seen on 11:15, 22. May 2022
Joined Apr 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
If this class is inside Your…
Sat, 04/17/2021 - 23:01

If this class is inside Your entity's main class then just pass in CustomEntity

Last seen on 10:10, 25. Jun 2021
Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
  Is it a separate class, in…
Wed, 04/21/2021 - 06:30

 

Is it a separate class, in this case how do I do it?