Add interface for spawning FallingBlocks and correctly spawn a FallingBlock with the spawn(Location, FallingBlock.class) method. Adds BUKKIT-2282

Also add FallingBlock and methods.

Deprecated FallingSand to emphasize FallingBlock.

By: feildmaster <admin@feildmaster.com>
This commit is contained in:
Bukkit/Spigot
2012-08-13 22:15:55 -05:00
parent 27b0f3727f
commit 4dc1654ae8
4 changed files with 74 additions and 2 deletions

View File

@@ -2,5 +2,8 @@ package org.bukkit.entity;
/**
* Represents a falling block.
*
* @deprecated See {@link FallingBlock}
*/
public interface FallingSand extends Entity {}
@Deprecated
public interface FallingSand extends FallingBlock {}