Bukkit-API  1.7.9-R0.2
The inofficial Bukkit-API
org.bukkit.entity.minecart.CommandMinecart Interface Reference
Inheritance diagram for org.bukkit.entity.minecart.CommandMinecart:
org.bukkit.entity.Minecart org.bukkit.command.CommandSender org.bukkit.entity.Vehicle org.bukkit.permissions.Permissible org.bukkit.entity.Entity org.bukkit.permissions.ServerOperator org.bukkit.metadata.Metadatable

Public Member Functions

String getCommand ()
 
void setCommand (String command)
 
void setName (String name)
 
- Public Member Functions inherited from org.bukkit.entity.Minecart
void _INVALID_setDamage (int damage)
 
void setDamage (double damage)
 
int _INVALID_getDamage ()
 
double getDamage ()
 
double getMaxSpeed ()
 
void setMaxSpeed (double speed)
 
boolean isSlowWhenEmpty ()
 
void setSlowWhenEmpty (boolean slow)
 
Vector getFlyingVelocityMod ()
 
void setFlyingVelocityMod (Vector flying)
 
Vector getDerailedVelocityMod ()
 
void setDerailedVelocityMod (Vector derailed)
 
- Public Member Functions inherited from org.bukkit.entity.Vehicle
Vector getVelocity ()
 
void setVelocity (Vector vel)
 
- Public Member Functions inherited from org.bukkit.entity.Entity
Location getLocation ()
 
Location getLocation (Location loc)
 
boolean isOnGround ()
 
World getWorld ()
 
boolean teleport (Location location)
 
boolean teleport (Location location, TeleportCause cause)
 
boolean teleport (Entity destination)
 
boolean teleport (Entity destination, TeleportCause cause)
 
List< org.bukkit.entity.EntitygetNearbyEntities (double x, double y, double z)
 
int getEntityId ()
 
int getFireTicks ()
 
int getMaxFireTicks ()
 
void setFireTicks (int ticks)
 
void remove ()
 
boolean isDead ()
 
boolean isValid ()
 
Server getServer ()
 
abstract Entity getPassenger ()
 
abstract boolean setPassenger (Entity passenger)
 
abstract boolean isEmpty ()
 
abstract boolean eject ()
 
float getFallDistance ()
 
void setFallDistance (float distance)
 
void setLastDamageCause (EntityDamageEvent event)
 
EntityDamageEvent getLastDamageCause ()
 
UUID getUniqueId ()
 
int getTicksLived ()
 
void setTicksLived (int value)
 
void playEffect (EntityEffect type)
 
EntityType getType ()
 
boolean isInsideVehicle ()
 
boolean leaveVehicle ()
 
Entity getVehicle ()
 
- Public Member Functions inherited from org.bukkit.command.CommandSender
void sendMessage (String message)
 
void sendMessage (String[] messages)
 
Server getServer ()
 
String getName ()
 
- Public Member Functions inherited from org.bukkit.permissions.Permissible
boolean isPermissionSet (String name)
 
boolean isPermissionSet (Permission perm)
 
boolean hasPermission (String name)
 
boolean hasPermission (Permission perm)
 
PermissionAttachment addAttachment (Plugin plugin, String name, boolean value)
 
PermissionAttachment addAttachment (Plugin plugin)
 
PermissionAttachment addAttachment (Plugin plugin, String name, boolean value, int ticks)
 
PermissionAttachment addAttachment (Plugin plugin, int ticks)
 
void removeAttachment (PermissionAttachment attachment)
 
void recalculatePermissions ()
 
Set< PermissionAttachmentInfogetEffectivePermissions ()
 
- Public Member Functions inherited from org.bukkit.permissions.ServerOperator
boolean isOp ()
 
void setOp (boolean value)
 

Detailed Description

Definition at line 6 of file CommandMinecart.java.

Member Function Documentation

String org.bukkit.entity.minecart.CommandMinecart.getCommand ( )

Gets the command that this CommandMinecart will run when activated. This will never return null. If the CommandMinecart does not have a command, an empty String will be returned instead.

Returns
Command that this CommandMinecart will run when powered.
void org.bukkit.entity.minecart.CommandMinecart.setCommand ( String  command)

Sets the command that this CommandMinecart will run when activated. Setting the command to null is the same as setting it to an empty String.

Parameters
commandCommand that this CommandMinecart will run when activated.
void org.bukkit.entity.minecart.CommandMinecart.setName ( String  name)

Sets the name of this CommandMinecart. The name is used with commands that this CommandMinecart executes. Setting the name to null is the same as setting it to "@".

Parameters
nameNew name for this CommandMinecart.

The documentation for this interface was generated from the following file: