feat: add bukkit class type

Signed-off-by: MiaoWoo <admin@yumc.pw>
This commit is contained in:
2019-09-12 17:54:17 +08:00
parent cbe87cc378
commit 2bf239d8ea
959 changed files with 36124 additions and 0 deletions

View File

@@ -0,0 +1,48 @@
declare namespace org {
namespace bukkit {
namespace block {
class Banner {
/**
* Returns the base color for this banner
*/
public getBaseColor(): org.bukkit.DyeColor;
/**
* Sets the base color for this banner.
* <b>Only valid for shield pseudo banners, otherwise base depends on block
* type</b>
*/
public setBaseColor(color: org.bukkit.DyeColor): void;
/**
* Returns a list of patterns on this banner
*/
public getPatterns(): any[] /*java.util.List*/;
/**
* Sets the patterns used on this banner
*/
public setPatterns(patterns: any[] /*java.util.List*/): void;
/**
* Adds a new pattern on top of the existing
* patterns
*/
public addPattern(pattern: org.bukkit.block.banner.Pattern): void;
/**
* Returns the pattern at the specified index
*/
public getPattern(i: number): org.bukkit.block.banner.Pattern;
/**
* Removes the pattern at the specified index
*/
public removePattern(i: number): org.bukkit.block.banner.Pattern;
/**
* Sets the pattern at the specified index
*/
public setPattern(i: number, pattern: org.bukkit.block.banner.Pattern): void;
/**
* Returns the number of patterns on this
* banner
*/
public numberOfPatterns(): number;
}
}
}
}