Get Colors from ShulkerBox; Implement CustomName for Tiles.
By: Senmori <thesenmori@gmail.com>
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user