bec81a9aff
By: Doc <nachito94@msn.com> Also-by: 2008Choco <hawkeboyz2@hotmail.com>
33 lines
798 B
Java
33 lines
798 B
Java
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.
|
|
*/
|
|
@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);
|
|
}
|