typesforbukkit
Version:
Types For Bukkit
12 lines (9 loc) • 353 B
text/typescript
// API Link: https://tfb.neocities.org/1.16.5/org/bukkit/Nameable
namespace org.bukkit {
export interface Nameable {
/** @description Gets the custom name on a mob or block */
getCustomName() : String;
/** @description Sets a custom name on a mob or block */
setCustomName(name: String) : void;
}
}