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

Started by Testificate Warrior on

Topic category: Help with modding (Java Edition)

Last seen on 00:11, 18. Feb 2023
Joined Sep 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I make my entity not move if it has run out of fuel.

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 00:11, 18. Feb 2023
Joined Sep 2020
Points:

User statistics:

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

Any help would be appreciated.