Is there a way to offset entity models in code?

Started by Kid Justice Gaming on

Topic category: Help with modding (Java Edition)

Last seen on 22:38, 10. Nov 2021
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Is there a way to offset entity models in code?

So i was able to change up the code for a living entity to have the phantom AI and model, the only problem is that the hitbox is underneath where the actual entity is:the hitbox appears underneath the model

also if someone can also tell me how to remove the name tag that would help too.

Last seen on 16:48, 17. Jan 2024
Joined May 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Okay so, I had the same…
Sat, 07/18/2020 - 03:26

Okay so, I had the same issue. I'm going to guess you used the Blockbench template, in which case you'll need to move it in Blockbench itself. If not, it's really not hard to do this with even no experience in Blockbench and it's either the only way, or by far easiest way, to fix your issue. As for the name tag, you should be able to just leave the field blank and it won't show.

Last seen on 19:53, 2. Jun 2021
Joined Sep 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
why not make a new model on…
Sat, 07/18/2020 - 06:09

why not make a new model on techne or blockbench? its so easy and fast :)

Last seen on 22:38, 10. Nov 2021
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I actually used the vanilla…
Sat, 07/18/2020 - 06:25

I actually used the vanilla model in code by importing net.minecraft.client.renderer.entity.model.PhantomModel;

Last seen on 22:38, 10. Nov 2021
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Im about ready to try that…
Sat, 07/18/2020 - 06:26

Im about ready to try that but i wanna see if i can get this working