public interface CommandMinecart extends Minecart, CommandSender
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, getFlyingVelocityMod, getMaxSpeed, isSlowWhenEmpty, setDamage, setDerailedVelocityMod, setFlyingVelocityMod, setMaxSpeed, setSlowWhenEmpty
getVelocity, setVelocity
eject, getEntityId, getFallDistance, getFireTicks, getLastDamageCause, getLocation, getLocation, getMaxFireTicks, getNearbyEntities, getPassenger, getServer, getTicksLived, getType, getUniqueId, getVehicle, getWorld, isDead, isEmpty, isInsideVehicle, isOnGround, isValid, leaveVehicle, playEffect, remove, setFallDistance, setFireTicks, setLastDamageCause, setPassenger, setTicksLived, teleport, teleport, teleport, teleport
getMetadata, hasMetadata, removeMetadata, setMetadata
getName, getServer, 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 © 2014. All rights reserved.