public final class BlockFromToEvent extends BlockEvent implements Cancellable
block| Constructor and Description |
|---|
BlockFromToEvent(Block blockState,
BlockState to) |
| Modifier and Type | Method and Description |
|---|---|
Block |
getFrom() |
BlockState |
getTo() |
void |
setTo(BlockState newTo) |
getBlockisCancelled, setCancelled, setCancelledclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisCancelled, setCancelled, setCancelledpublic BlockFromToEvent(Block blockState, BlockState to)
public Block getFrom()
public BlockState getTo()
public void setTo(BlockState newTo)
Copyright © 2021. All rights reserved.