Add BlockStateMeta which allows creating and editting 1.8's blockEntityTag

By: Thinkofdeath <thinkofdeath@spigotmc.org>
This commit is contained in:
Bukkit/Spigot
2015-03-24 15:36:33 +00:00
parent ee31e221ae
commit 7e256ae56a
2 changed files with 46 additions and 0 deletions

View File

@ -192,4 +192,15 @@ public interface BlockState extends Metadatable {
*/
@Deprecated
public void setRawData(byte data);
/**
* Returns whether this state is placed in the world.
*
* Some methods will not work if the blockState isn't
* placed in the world.
*
* @return whether the state is placed in the world
* or 'virtual' (e.g. on an itemstack)
*/
boolean isPlaced();
}