public interface MinecartFurnace extends Minecart
Modifier and Type | Method and Description |
---|---|
int |
getFuel()
Gets the current fuel time in ticks.
|
void |
setFuel(int fuel)
Sets the fuel time in ticks.
|
doesSlowWhenEmpty, getAirborneVelocityMod, getDerailedVelocityMod, getPotentialMaxSpeed, getSwiftness, isOnRail, setAirborneVelocityMod, setDerailedVelocityMod, setSlowWhenEmpty, setSwiftness
createSnapshot, damage, getLocation, getRotation, getScale, getTransform, getType, getWorld, isLoaded, isOnGround, isRemoved, remove, setLocation, setLocationAndRotation, setLocationAndRotation, setLocationAndRotationSafely, setLocationAndRotationSafely, setLocationSafely, setRotation, setScale, setTransform, transferToWorld, transferToWorld
getUniqueId
getProperties, getProperty, setRawData, validateRawData
toContainer
int getFuel()
Usually, the fuel time will decay until reaching 0. At zero, the fuel minecart will decelerate to a stop.
void setFuel(int fuel)
Usually, the fuel time will decay until reaching 0. At zero, the fuel minecart will decelerate to a stop.
fuel
- The fuel time in ticks