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, setSlowWhenEmptygetVelocity, setVelocityeject, 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, teleportgetMetadata, hasMetadata, removeMetadata, setMetadatagetName, getServer, sendMessage, sendMessageaddAttachment, addAttachment, addAttachment, addAttachment, getEffectivePermissions, hasPermission, hasPermission, isPermissionSet, isPermissionSet, recalculatePermissions, removeAttachmentisOp, setOpString 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.