diff --git a/paper-api/src/main/java/org/bukkit/entity/minecart/PoweredMinecart.java b/paper-api/src/main/java/org/bukkit/entity/minecart/PoweredMinecart.java index 57e8b1d59d..2076af6c02 100644 --- a/paper-api/src/main/java/org/bukkit/entity/minecart/PoweredMinecart.java +++ b/paper-api/src/main/java/org/bukkit/entity/minecart/PoweredMinecart.java @@ -7,4 +7,18 @@ import org.bukkit.entity.Minecart; * player deposits {@link org.bukkit.Material#COAL fuel}. */ public interface PoweredMinecart extends Minecart { + + /** + * Get the number of ticks until the minecart runs out of fuel. + * + * @return Number of ticks until the minecart runs out of fuel + */ + public int getFuel(); + + /** + * Set the number of ticks until the minecart runs out of fuel. + * + * @param fuel Number of ticks until the minecart runs out of fuel + */ + public void setFuel(int fuel); }