@@ -1,6 +1,7 @@
|
||||
package org.bukkit.entity;
|
||||
|
||||
import org.bukkit.Material;
|
||||
import org.bukkit.block.data.BlockData;
|
||||
|
||||
/**
|
||||
* Represents a falling block
|
||||
@@ -11,26 +12,18 @@ public interface FallingBlock extends Entity {
|
||||
* Get the Material of the falling block
|
||||
*
|
||||
* @return Material of the block
|
||||
*/
|
||||
Material getMaterial();
|
||||
|
||||
/**
|
||||
* Get the ID of the falling block
|
||||
*
|
||||
* @return ID type of the block
|
||||
* @deprecated Magic value
|
||||
* @deprecated use {@link #getBlockData()}
|
||||
*/
|
||||
@Deprecated
|
||||
int getBlockId();
|
||||
Material getMaterial();
|
||||
|
||||
/**
|
||||
* Get the data for the falling block
|
||||
*
|
||||
* @return data of the block
|
||||
* @deprecated Magic value
|
||||
*/
|
||||
@Deprecated
|
||||
byte getBlockData();
|
||||
BlockData getBlockData();
|
||||
|
||||
/**
|
||||
* Get if the falling block will break into an item if it cannot be placed
|
||||
|
||||
Reference in New Issue
Block a user