SPIGOT-2706: Implement support for Lock NBT Tag

Containers may now implement the Lockable interface.

By: Senmori <thesenmori@gmail.com>
This commit is contained in:
Bukkit/Spigot
2016-10-21 16:32:56 +11:00
parent 5945e37165
commit a05a1330d3
8 changed files with 38 additions and 7 deletions

View File

@@ -6,7 +6,7 @@ import org.bukkit.inventory.InventoryHolder;
/**
* Represents a brewing stand.
*/
public interface BrewingStand extends BlockState, InventoryHolder {
public interface BrewingStand extends BlockState, InventoryHolder, Lockable {
/**
* How much time is left in the brewing cycle