feat: add type extend and interface

Signed-off-by: MiaoWoo <admin@yumc.pw>
This commit is contained in:
2019-09-24 17:20:18 +08:00
parent a616a07553
commit b8c3d0d19d
319 changed files with 320 additions and 348 deletions

View File

@@ -3,7 +3,7 @@ declare namespace org {
namespace event {
namespace block {
// @ts-ignore
class CauldronLevelChangeEvent implements org.bukkit.event.Cancellable {
class CauldronLevelChangeEvent extends org.bukkit.event.block.BlockEvent implements org.bukkit.event.Cancellable {
constructor(block: org.bukkit.block.Block, entity: org.bukkit.entity.Entity, reason: org.bukkit.event.block.CauldronLevelChangeEvent.ChangeReason, oldLevel: number, newLevel: number)
/**
* Get entity which did this. May be null.