Interface PoweredMinecart

    • Method Detail

      • getFuel

        int getFuel()
        Get the number of ticks until the minecart runs out of fuel.
        Returns:
        Number of ticks until the minecart runs out of fuel
      • setFuel

        void setFuel​(int fuel)
        Set the number of ticks until the minecart runs out of fuel.
        Parameters:
        fuel - Number of ticks until the minecart runs out of fuel