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,25 @@
declare namespace org {
namespace bukkit {
namespace event {
namespace block {
class BlockRedstoneEvent {
constructor(block: org.bukkit.block.Block, oldCurrent: number, newCurrent: number)
/**
* Gets the old current of this block
*/
public getOldCurrent(): number;
/**
* Gets the new current of this block
*/
public getNewCurrent(): number;
/**
* Sets the new current of this block
*/
public setNewCurrent(newCurrent: number): void;
public getHandlers(): org.bukkit.event.HandlerList;
public static getHandlerList(): org.bukkit.event.HandlerList;
}
}
}
}
}