20 lines
685 B
TypeScript
20 lines
685 B
TypeScript
declare namespace org {
|
|
namespace bukkit {
|
|
namespace block {
|
|
// @ts-ignore
|
|
interface FlowerPot extends org.bukkit.block.BlockState {
|
|
/**
|
|
* Gets the item present in this flower pot.
|
|
*/
|
|
getContents(): org.bukkit.material.MaterialData;
|
|
/**
|
|
* Sets the item present in this flower pot.
|
|
* NOTE: The Vanilla Minecraft client will currently not refresh this until
|
|
* a block update is triggered.
|
|
*/
|
|
setContents(item: org.bukkit.material.MaterialData): void;
|
|
}
|
|
}
|
|
}
|
|
}
|