Files
ms/packages/bukkit/src/typings/org.bukkit.event.block.MoistureChangeEvent.ts
2019-09-24 17:20:18 +08:00

21 lines
865 B
TypeScript

declare namespace org {
namespace bukkit {
namespace event {
namespace block {
// @ts-ignore
class MoistureChangeEvent extends org.bukkit.event.block.BlockEvent implements org.bukkit.event.Cancellable {
constructor(block: org.bukkit.block.Block, newState: org.bukkit.block.BlockState)
/**
* Gets the new state of the affected block.
*/
public getNewState(): org.bukkit.block.BlockState;
public isCancelled(): boolean;
public setCancelled(cancel: boolean): void;
public getHandlers(): org.bukkit.event.HandlerList;
public static getHandlerList(): org.bukkit.event.HandlerList;
}
}
}
}
}