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,22 @@
declare namespace org {
namespace bukkit {
class TreeSpecies {
public static GENERIC: org.bukkit.TreeSpecies;
public static REDWOOD: org.bukkit.TreeSpecies;
public static BIRCH: org.bukkit.TreeSpecies;
public static JUNGLE: org.bukkit.TreeSpecies;
public static ACACIA: org.bukkit.TreeSpecies;
public static DARK_OAK: org.bukkit.TreeSpecies;
public static values(): org.bukkit.TreeSpecies[];
public static valueOf(name: string): org.bukkit.TreeSpecies;
/**
* Gets the associated data value representing this species
*/
public getData(): number;
/**
* Gets the TreeSpecies with the given data value
*/
public static getByData(data: number): org.bukkit.TreeSpecies;
}
}
}