Update to Minecraft 1.20

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot
2023-06-08 01:30:00 +10:00
parent 217583e495
commit 59e77b485a
49 changed files with 316 additions and 631 deletions

View File

@@ -0,0 +1,28 @@
package org.bukkit.block;
import org.bukkit.inventory.ItemStack;
import org.bukkit.loot.Lootable;
import org.jetbrains.annotations.Nullable;
/**
* Represents a captured state of suspicious sand or gravel.
*/
public interface BrushableBlock 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);
}