Added minecart classes, vehicle class, and the ability to spawn minecarts. StorageMinecart needs a getInventory(), but that is waiting on the addition of inventory code.
By: sk89q <the.sk89q@gmail.com>
This commit is contained in:
@@ -63,7 +63,7 @@ public interface World {
|
||||
* @return whether the tree was created
|
||||
*/
|
||||
public boolean generateTree(Location loc);
|
||||
|
||||
|
||||
/**
|
||||
* Spawns a big tree at a location.
|
||||
*
|
||||
@@ -71,4 +71,28 @@ public interface World {
|
||||
* @return whether the tree was created
|
||||
*/
|
||||
public boolean generateBigTree(Location loc);
|
||||
|
||||
/**
|
||||
* Spawns a regular passenger minecart.
|
||||
*
|
||||
* @param loc
|
||||
* @return
|
||||
*/
|
||||
public Minecart spawnMinecart(Location loc);
|
||||
|
||||
/**
|
||||
* Spawns a storage minecart.
|
||||
*
|
||||
* @param loc
|
||||
* @return
|
||||
*/
|
||||
public StorageMinecart spawnStorageMinecart(Location loc);
|
||||
|
||||
/**
|
||||
* Spawns a powered minecart.
|
||||
*
|
||||
* @param loc
|
||||
* @return
|
||||
*/
|
||||
public PoweredMinecart spawnPoweredMinecart(Location loc);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user