20 lines
466 B
Java
20 lines
466 B
Java
package org.bukkit.block;
|
|
|
|
import org.bukkit.DyeColor;
|
|
import org.bukkit.loot.Lootable;
|
|
import org.jetbrains.annotations.Nullable;
|
|
|
|
/**
|
|
* Represents a captured state of a ShulkerBox.
|
|
*/
|
|
public interface ShulkerBox extends Container, Lootable, Lidded {
|
|
|
|
/**
|
|
* Get the {@link DyeColor} corresponding to this ShulkerBox
|
|
*
|
|
* @return the {@link DyeColor} of this ShulkerBox, or null if default
|
|
*/
|
|
@Nullable
|
|
public DyeColor getColor();
|
|
}
|