Get Colors from ShulkerBox; Implement CustomName for Tiles.

By: Senmori <thesenmori@gmail.com>
This commit is contained in:
Bukkit/Spigot
2016-11-18 11:24:16 +11:00
parent 0da3e1a443
commit 853b05b6ab
10 changed files with 56 additions and 35 deletions

View File

@@ -1,8 +1,18 @@
package org.bukkit.block;
import org.bukkit.DyeColor;
import org.bukkit.Nameable;
import org.bukkit.inventory.InventoryHolder;
/**
* Represents a ShulkerBox.
*/
public interface ShulkerBox extends BlockState, InventoryHolder, Lockable { }
public interface ShulkerBox extends BlockState, InventoryHolder, Lockable, Nameable {
/**
* Get the {@link DyeColor} corresponding to this ShulkerBox
*
* @return the {@link DyeColor} of this ShulkerBox
*/
public DyeColor getColor();
}