mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-10 10:17:38 +01:00
Remove some deprecated methods in World
By: Erik Broes <erikbroes@grum.nl>
This commit is contained in:
parent
ed47624667
commit
ecc7ca0477
@ -292,46 +292,6 @@ public interface World {
|
|||||||
*/
|
*/
|
||||||
public boolean generateTree(Location loc, TreeType type, BlockChangeDelegate delegate);
|
public boolean generateTree(Location loc, TreeType type, BlockChangeDelegate delegate);
|
||||||
|
|
||||||
/**
|
|
||||||
* Creates a regular passenger minecart at the given {@link Location}
|
|
||||||
*
|
|
||||||
* @param location Location to spawn the minecart
|
|
||||||
* @return Minecart created as a result of this method
|
|
||||||
* @deprecated use {@link #spawn(Location, Class)} instead
|
|
||||||
*/
|
|
||||||
@Deprecated
|
|
||||||
public Minecart spawnMinecart(Location location);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Creates a storage minecart at the given {@link Location}
|
|
||||||
*
|
|
||||||
* @param loc Location to spawn the minecart
|
|
||||||
* @return StorageMinecart created as a result of this method
|
|
||||||
* @deprecated use {@link #spawn(Location, Class)} instead
|
|
||||||
*/
|
|
||||||
@Deprecated
|
|
||||||
public StorageMinecart spawnStorageMinecart(Location loc);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Creates a powered minecart at the given {@link Location}
|
|
||||||
*
|
|
||||||
* @param loc Location to spawn the minecart
|
|
||||||
* @return PoweredMinecart created as a result of this method
|
|
||||||
* @deprecated use {@link #spawn(Location, Class)} instead
|
|
||||||
*/
|
|
||||||
@Deprecated
|
|
||||||
public PoweredMinecart spawnPoweredMinecart(Location loc);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Creates a boat at the given {@link Location}
|
|
||||||
*
|
|
||||||
* @param loc Location to spawn the boat
|
|
||||||
* @return Boat created as a result of this method
|
|
||||||
* @deprecated use {@link #spawn(Location, Class)} instead
|
|
||||||
*/
|
|
||||||
@Deprecated
|
|
||||||
public Boat spawnBoat(Location loc);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates a creature at the given {@link Location}
|
* Creates a creature at the given {@link Location}
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user