public static interface ChangeBlockEvent.Post extends ChangeBlockEvent
BlockType
having "ticked", in which the Cause
will
have a BlockSnapshot
, or, in the case that an Entity
has "ticked", in which the Cause
will have an Entity
,
or, in the case that a TileEntity
"ticked", the Cause
will have the TileEntity
.
The Cause
may contain Event
s, such as ChangeBlockEvent.Break
,
ChangeBlockEvent.Place
, and ChangeBlockEvent.Modify
. These events may be cancelled,
or have their transactions modified, just like normal events.
The idea is that a block, entity, or tile entity "ticks" in which
during that "tick", they make different types of block changes. If the
block change is purely one type then the corresponding event is thrown
instead. For example, If the block change is purely "placing" of
blocks, the ChangeBlockEvent.Place
event would be thrown instead.
For example, a piston extension would cause this event to be fired. A piston extension involves multiple distinct transactions - the piston head moving, and the adjacent block being set in a new position.
>Note: This event is fired after processing all other ChangeBlockEvent's.
ChangeBlockEvent.Break, ChangeBlockEvent.Decay, ChangeBlockEvent.Grow, ChangeBlockEvent.Modify, ChangeBlockEvent.Place, ChangeBlockEvent.Post, ChangeBlockEvent.Pre
filter, filterAll, getTransactions
getCause, getContext, getSource
isCancelled, setCancelled