21 lines
865 B
TypeScript
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;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|