CommandSender, Entity, Metadatable, Minecart, Nameable, Permissible, ServerOperator, Vehiclepublic interface CommandMinecart extends Minecart, CommandSender
Entity.Spigot| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
getCommand() |
Gets the command that this CommandMinecart will run when activated.
|
void |
setCommand(java.lang.String command) |
Sets the command that this CommandMinecart will run when activated.
|
void |
setName(java.lang.String name) |
Sets the name of this CommandMinecart.
|
getName, sendMessage, sendMessageaddPassenger, addScoreboardTag, eject, getEntityId, getFallDistance, getFireTicks, getHeight, getLastDamageCause, getLocation, getLocation, getMaxFireTicks, getNearbyEntities, getPassenger, getPassengers, getPistonMoveReaction, getPortalCooldown, getScoreboardTags, getServer, getTicksLived, getType, getUniqueId, getVehicle, getWidth, getWorld, hasGravity, isCustomNameVisible, isDead, isEmpty, isGlowing, isInsideVehicle, isInvulnerable, isOnGround, isSilent, isValid, leaveVehicle, playEffect, remove, removePassenger, removeScoreboardTag, setCustomNameVisible, setFallDistance, setFireTicks, setGlowing, setGravity, setInvulnerable, setLastDamageCause, setPassenger, setPortalCooldown, setSilent, setTicksLived, spigot, teleport, teleport, teleport, teleportgetMetadata, hasMetadata, removeMetadata, setMetadatagetDamage, getDerailedVelocityMod, getDisplayBlock, getDisplayBlockOffset, getFlyingVelocityMod, getMaxSpeed, isSlowWhenEmpty, setDamage, setDerailedVelocityMod, setDisplayBlock, setDisplayBlockOffset, setFlyingVelocityMod, setMaxSpeed, setSlowWhenEmptygetCustomName, setCustomNameaddAttachment, addAttachment, addAttachment, addAttachment, getEffectivePermissions, hasPermission, hasPermission, isPermissionSet, isPermissionSet, recalculatePermissions, removeAttachmentisOp, setOpgetVelocity, setVelocityjava.lang.String getCommand()
void setCommand(java.lang.String command)
command - Command that this CommandMinecart will run when
activated.void setName(java.lang.String name)
name - New name for this CommandMinecart.Copyright © 2018. All rights reserved.