程序包 org.bukkit.entity.minecart

# 接口 ExplosiveMinecart

所有超级接口:
  `CommandSender`, `Entity`, `Metadatable`, `Minecart`, `Nameable`, `Permissible`, `PersistentDataHolder`, `ServerOperator`, `Vehicle`

public interface ExplosiveMinecart extends Minecart
代表TNT矿车，可以被引爆.

- ## 嵌套类概要

  ## 从接口继承的嵌套类/接口 org.bukkit.entity.Entity

  `Entity.Spigot`

- ## 方法概要

  修饰符和类型
  方法
  说明
  `void`
  `explode()`
  Immediately explode this minecart with the power assumed by its current movement.
  `void`
  `explode(double power)`
  Immediately explode this minecart with the given power.
  `int`
  `getFuseTicks()`
  Get the fuse ticks of this minecart.
  `void`
  `ignite()`
  Ignite this minecart's fuse naturally.
  `boolean`
  `isIgnited()`
  Check whether or not this minecart's fuse has been ignited.
  `void`
  `setFuseTicks(int ticks)`
  Set the fuse ticks of this minecart.

  ### 从接口继承的方法 org.bukkit.command.CommandSender

  `getName, sendMessage, sendMessage, sendMessage, sendMessage`

  ### 从接口继承的方法 org.bukkit.entity.Entity

  `addPassenger, addScoreboardTag, copy, copy, createSnapshot, eject, getAsString, getBoundingBox, getEntityId, getFacing, getFallDistance, getFireTicks, getFreezeTicks, getHeight, getLastDamageCause, getLocation, getLocation, getMaxFireTicks, getMaxFreezeTicks, getNearbyEntities, getPassenger, getPassengers, getPistonMoveReaction, getPortalCooldown, getPose, getScoreboardTags, getServer, getSpawnCategory, getSwimHighSpeedSplashSound, getSwimSound, getSwimSplashSound, getTicksLived, getTrackedBy, getType, getUniqueId, getVehicle, getWidth, getWorld, hasGravity, isCustomNameVisible, isDead, isEmpty, isFrozen, isGlowing, isInsideVehicle, isInvulnerable, isInWater, isInWorld, isOnGround, isPersistent, isSilent, isValid, isVisibleByDefault, isVisualFire, leaveVehicle, playEffect, remove, removePassenger, removeScoreboardTag, setCustomNameVisible, setFallDistance, setFireTicks, setFreezeTicks, setGlowing, setGravity, setInvulnerable, setLastDamageCause, setPassenger, setPersistent, setPortalCooldown, setRotation, setSilent, setTicksLived, setVisibleByDefault, setVisualFire, spigot, teleport, teleport, teleport, teleport`

  ### 从接口继承的方法 org.bukkit.metadata.Metadatable

  `getMetadata, hasMetadata, removeMetadata, setMetadata`

  ### 从接口继承的方法 org.bukkit.entity.Minecart

  `getDamage, getDerailedVelocityMod, getDisplayBlock, getDisplayBlockData, getDisplayBlockOffset, getFlyingVelocityMod, getMaxSpeed, isSlowWhenEmpty, setDamage, setDerailedVelocityMod, setDisplayBlock, setDisplayBlockData, setDisplayBlockOffset, setFlyingVelocityMod, setMaxSpeed, setSlowWhenEmpty`

  ### 从接口继承的方法 org.bukkit.Nameable

  `getCustomName, setCustomName`

  ### 从接口继承的方法 org.bukkit.permissions.Permissible

  `addAttachment, addAttachment, addAttachment, addAttachment, getEffectivePermissions, hasPermission, hasPermission, isPermissionSet, isPermissionSet, recalculatePermissions, removeAttachment`

  ### 从接口继承的方法 org.bukkit.persistence.PersistentDataHolder

  `getPersistentDataContainer`

  ### 从接口继承的方法 org.bukkit.permissions.ServerOperator

  `isOp, setOp`

  ### 从接口继承的方法 org.bukkit.entity.Vehicle

  `getVelocity, setVelocity`

- ## 方法详细资料

  - ### setFuseTicks

    void setFuseTicks(int ticks)
    Set the fuse ticks of this minecart. If the fuse ticks are set to a non-zero value, this will ignite the explosive.
    参数:
      `ticks` - the ticks

  - ### getFuseTicks

    int getFuseTicks()
    Get the fuse ticks of this minecart. If the fuse ticks reach 0, the minecart will explode.
    返回:
      the fuse ticks, or -1 if this minecart's fuse has not yet been ignited

  - ### ignite

    void ignite()
    Ignite this minecart's fuse naturally.

  - ### isIgnited

    boolean isIgnited()
    Check whether or not this minecart's fuse has been ignited.
    返回:
      true if ignited, false otherwise

  - ### explode

    void explode()
    Immediately explode this minecart with the power assumed by its current movement.

  - ### explode

    void explode(double power)
    Immediately explode this minecart with the given power.
    参数:
      `power` - the power to use. Must be positive and cannot exceed 5.0