public interface CommandMinecart extends Minecart, CommandSender
Entity.Spigot
Modifier and Type | Method and Description |
---|---|
String |
getCommand()
Gets the command that this CommandMinecart will run when activated.
|
void |
setCommand(String command)
Sets the command that this CommandMinecart will run when activated.
|
void |
setName(String name)
Sets the name of this CommandMinecart.
|
_INVALID_getDamage, _INVALID_setDamage, getDamage, getDerailedVelocityMod, getDisplayBlock, getDisplayBlockOffset, getFlyingVelocityMod, getMaxSpeed, isSlowWhenEmpty, setDamage, setDerailedVelocityMod, setDisplayBlock, setDisplayBlockOffset, setFlyingVelocityMod, setMaxSpeed, setSlowWhenEmpty
getVelocity, setVelocity
addScoreboardTag, eject, getEntityId, getFallDistance, getFireTicks, getLastDamageCause, getLocation, getLocation, getMaxFireTicks, getNearbyEntities, getPassenger, getPortalCooldown, getScoreboardTags, getServer, getTicksLived, getType, getUniqueId, getVehicle, getWorld, hasGravity, isCustomNameVisible, isDead, isEmpty, isGlowing, isInsideVehicle, isInvulnerable, isOnGround, isSilent, isValid, leaveVehicle, playEffect, remove, removeScoreboardTag, setCustomNameVisible, setFallDistance, setFireTicks, setGlowing, setGravity, setInvulnerable, setLastDamageCause, setPassenger, setPortalCooldown, setSilent, setTicksLived, spigot, teleport, teleport, teleport, teleport
getMetadata, hasMetadata, removeMetadata, setMetadata
getName, sendMessage, sendMessage
addAttachment, addAttachment, addAttachment, addAttachment, getEffectivePermissions, hasPermission, hasPermission, isPermissionSet, isPermissionSet, recalculatePermissions, removeAttachment
isOp, setOp
getCustomName, setCustomName
String getCommand()
void setCommand(String command)
command
- Command that this CommandMinecart will run when
activated.void setName(String name)
name
- New name for this CommandMinecart.Copyright © 2016. All rights reserved.