@@ -1,32 +1,10 @@
|
||||
package org.bukkit.block;
|
||||
|
||||
import org.bukkit.MinecraftExperimental;
|
||||
import org.bukkit.inventory.ItemStack;
|
||||
import org.bukkit.loot.Lootable;
|
||||
import org.jetbrains.annotations.ApiStatus;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
/**
|
||||
* Represents a captured state of suspicious sand.
|
||||
*
|
||||
* @see BrushableBlock
|
||||
*/
|
||||
@MinecraftExperimental
|
||||
@ApiStatus.Experimental
|
||||
public interface SuspiciousSand extends Lootable, TileState {
|
||||
|
||||
/**
|
||||
* Get the item which will be revealed when the sand is fully brushed away
|
||||
* and uncovered.
|
||||
*
|
||||
* @return the item
|
||||
*/
|
||||
@Nullable
|
||||
public ItemStack getItem();
|
||||
|
||||
/**
|
||||
* Sets the item which will be revealed when the sand is fully brushed away
|
||||
* and uncovered.
|
||||
*
|
||||
* @param item the item
|
||||
*/
|
||||
public void setItem(@Nullable ItemStack item);
|
||||
@Deprecated
|
||||
public interface SuspiciousSand extends BrushableBlock {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user