How do I make my entity not move if it has run out of fuel.

Started by Testificate Warrior on Fri, 09/02/2022 - 10:05

Topic category: Help with modding (Java Edition)

Last seen on 05:31, 29. Nov 2022
Joined Sep 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How do I make my entity not move if it has run out of fuel.
Fri, 09/02/2022 - 10:05

I am currently making a Car mod for minecraft and I want to know how to make my car frozen if it runs out of fuel. I don't want to make a separate entity for the car that has no ai.

I've got the Fuel system running where it drains the tank for the longer I use it. But I would really appreciate if there was another way to make the car not move when it has no fuel.

Last seen on 05:31, 29. Nov 2022
Joined Sep 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Any help would be…
Wed, 09/07/2022 - 21:47

Any help would be appreciated.

Last seen on 05:31, 29. Nov 2022
Joined Sep 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Please  
Mon, 09/12/2022 - 07:51

Please