[SOLVED] Custom Java entity is stuck

Started by ChoucrouteLoulou on

Topic category: Help with modding (Java Edition)

Last seen on 16:12, 25. Oct 2022
Joined Oct 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
[SOLVED] Custom Java entity is stuck
Sun, 10/02/2022 - 04:20 (edited)

Goodmorning to all of you.

 

I'm currently making a mod that adds SteamPunk Vehicles (that is the name of the mod indeed). I created my model in Blockbench, exported in in java entity, and imported it in McCreator.

 

Then I made my own entity based on that model. I follow the EXACT SAME tutorial from the video from NWTgaming (https://youtu.be/VXWX02zXMjc).

 

But when I'm running my client to test my rideable entity it is stuck. It doesn't fall, and doesn't move with WASD. (The 3d model is rendering indeed...)

Here is the exemple.

 

Of course I checked Rideable and Forward control. I also tried to @override in the code then check HasNoGravity to False.

 

But nothing happened.

 

Can you guys give me advice ?

 

Thanks to all !

Edited by ChoucrouteLoulou on Sun, 10/02/2022 - 04:20
Last seen on 16:12, 25. Oct 2022
Joined Oct 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
It is 1.16.5 by the way. But…
Sat, 10/01/2022 - 15:22

It is 1.16.5 by the way. But I don't think it matters.

Last seen on 20:02, 18. Apr 2024
Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
If you want it to not move…
Sat, 10/01/2022 - 15:38

If you want it to not move just add a condition to movement that returns false

Last seen on 16:12, 25. Oct 2022
Joined Oct 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You haven't understood me.  …
Sat, 10/01/2022 - 16:02

You haven't understood me.

 

I want it to be a rideable entity, to be a car precisely.I CLEARLY want it to move, but it doesn't. It even get stuck in the air.

Last seen on 20:02, 18. Apr 2024
Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Well make sure that It isn't…
Sat, 10/01/2022 - 16:04

Well make sure that It isn't a flying entity and that AI is enabled.

Last seen on 16:12, 25. Oct 2022
Joined Oct 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I'll try this as soon as I'm…
Sat, 10/01/2022 - 17:09

I'll try this as soon as I'm coming home. I'll give you the answer back.

Last seen on 16:12, 25. Oct 2022
Joined Oct 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
IT WORKED.   Thanks !
Sun, 10/02/2022 - 04:19

IT WORKED.

 

Thanks !

Last seen on 15:33, 18. Apr 2024
Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hey, if you have other…
Thu, 10/27/2022 - 22:25

Hey, if you have other questions regarding rideable entities I might be able to help you out with some procedures I used before. I actually started making a steampunk vehicles mod months ago and just now released a beta version :D if you don't mind, I would borrow from your and Nerdy's approach at the fuel system