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

Started by Testificate Warrior on

Topic category: Help with Minecraft modding (Java Edition)

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.