Class PartContainerState
java.lang.Object
alexiil.mc.lib.multipart.api.event.MultipartEvent
alexiil.mc.lib.multipart.api.event.PartContainerState
- Direct Known Subclasses:
PartContainerState.ChunkUnload
,PartContainerState.Invalidate
,PartContainerState.Remove
,PartContainerState.Validate
Fired when the state of a container's block entity changes. Listen for subclasses, not this one!
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Fired inUnloadableBlockEntity.onChunkUnload()
.static class
Fired inBlockEntity.markRemoved()
static class
static class
Fired inBlockEntity.cancelRemoval()
-
Field Summary
Modifier and TypeFieldDescriptionFired inUnloadableBlockEntity.onChunkUnload()
.Fired inBlockEntity.markRemoved()
static PartContainerState.Remove
static PartContainerState.Validate
Fired inBlockEntity.cancelRemoval()
-
Method Summary
-
Field Details
-
INVALIDATE
Fired inBlockEntity.markRemoved()
-
VALIDATE
Fired inBlockEntity.cancelRemoval()
-
CHUNK_UNLOAD
Fired inUnloadableBlockEntity.onChunkUnload()
. In 1.17 this is fired beforePartContainerState.Invalidate
, which always follows this. -
REMOVE
-