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,27 @@
declare namespace org {
namespace bukkit {
namespace event {
namespace block {
class BlockCookEvent {
constructor(block: org.bukkit.block.Block, source: org.bukkit.inventory.ItemStack, result: org.bukkit.inventory.ItemStack)
/**
* Gets the smelted ItemStack for this event
*/
public getSource(): org.bukkit.inventory.ItemStack;
/**
* Gets the resultant ItemStack for this event
*/
public getResult(): org.bukkit.inventory.ItemStack;
/**
* Sets the resultant ItemStack for this event
*/
public setResult(result: org.bukkit.inventory.ItemStack): void;
public isCancelled(): boolean;
public setCancelled(cancel: boolean): void;
public getHandlers(): org.bukkit.event.HandlerList;
public static getHandlerList(): org.bukkit.event.HandlerList;
}
}
}
}
}