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 BlockCookEvent implements org.bukkit.event.Cancellable {
class BlockCookEvent extends org.bukkit.event.block.BlockEvent implements org.bukkit.event.Cancellable {
constructor(block: org.bukkit.block.Block, source: org.bukkit.inventory.ItemStack, result: org.bukkit.inventory.ItemStack)
/**
* Gets the smelted ItemStack for this event