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
eject, getCustomName, getEntityId, getFallDistance, getFireTicks, getLastDamageCause, getLocation, getLocation, getMaxFireTicks, getNearbyEntities, getPassenger, getServer, getTicksLived, getType, getUniqueId, getVehicle, getWorld, isCustomNameVisible, isDead, isEmpty, isInsideVehicle, isOnGround, isValid, leaveVehicle, playEffect, remove, setCustomName, setCustomNameVisible, setFallDistance, setFireTicks, setLastDamageCause, setPassenger, 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
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 © 2015. All rights reserved.