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 6d7516e2d9
commit bee7e19fc3
959 changed files with 36124 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
declare namespace org {
namespace bukkit {
namespace event {
namespace block {
class BlockBurnEvent {
constructor(block: org.bukkit.block.Block)
constructor(block: org.bukkit.block.Block, ignitingBlock: org.bukkit.block.Block)
/**
* Gets the block which ignited this block.
*/
public getIgnitingBlock(): org.bukkit.block.Block;
public isCancelled(): boolean;
public setCancelled(cancel: boolean): void;
public getHandlers(): org.bukkit.event.HandlerList;
public static getHandlerList(): org.bukkit.event.HandlerList;
}
}
}
}
}