Interface ChangeBlockEvent
- All Superinterfaces:
- Event
- All Known Subinterfaces:
- ChangeBlockEvent.All,- ChangeBlockEvent.Post,- ChangeBlockEvent.Pre
Plain event for when one or many 
BlockStates may be
 changing within a ServerWorld.
 Ideally, the ChangeBlockEvent.All.transactions() will contain a full list in order
 of which the changes are taking place, but the overall list may not be the
 full breadth of what changes take place during some complex operations. To
 record the entirety of all transactions taking place, ChangeBlockEvent.Post provides
 additional aide with knowing which BlockTransactionReceipts are
 recorded in a particluar ServerWorld
 without the additional cost of having multiple events thrown throughout.
 To determine whether a particular BlockTransaction is a
 break, place, modify, etc. please refer to the
 BlockTransaction.operation()
- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic interfacestatic interfaceCalled when there are multiple block changes due to aBlockTypehaving "ticked", in which theCausewill have aBlockSnapshot, or, in the case that anEntityhas "ticked", in which theCausewill have anEntity, or, in the case that aBlockEntity"ticked", theCausewill have theBlockEntity.static interfaceCalled before running specific block logic at one or moreServerLocation's such asBlockTypes.WATER.
- 
Method Summary
- 
Method Details- 
worldServerWorld world()Gets the world this event is affecting.- Returns:
- The world encompassing these block changes
 
 
-