Class Operations
- java.lang.Object
-
- org.spongepowered.api.block.transaction.Operations
-
public final class Operations extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static DefaultedRegistryReference<Operation>BREAKstatic DefaultedRegistryReference<Operation>DECAYstatic DefaultedRegistryReference<Operation>GROWTHstatic DefaultedRegistryReference<Operation>LIQUID_DECAYstatic DefaultedRegistryReference<Operation>LIQUID_SPREADstatic DefaultedRegistryReference<Operation>MODIFYAnOperationthat signifies the block change is particularly discernible as though theBlockStatemay be different but theBlockTypemay be the same.static DefaultedRegistryReference<Operation>PLACEAnOperationthat signifies ablockis either: Replacingan airblock ABlockStatethat is replaceable when moved, or anItemStackcan replace it
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Registry<Operation>registry()
-
-
-
Field Detail
-
PLACE
public static final DefaultedRegistryReference<Operation> PLACE
AnOperationthat signifies ablockis either:- Replacing
an airblock - A
BlockStatethat is replaceable when moved, or anItemStackcan replace it
- Replacing
-
BREAK
public static final DefaultedRegistryReference<Operation> BREAK
-
MODIFY
public static final DefaultedRegistryReference<Operation> MODIFY
AnOperationthat signifies the block change is particularly discernible as though theBlockStatemay be different but theBlockTypemay be the same. Or a congruency of changes that result to a "similar enough" change that the blocks share a very unique common trait.
-
GROWTH
public static final DefaultedRegistryReference<Operation> GROWTH
-
DECAY
public static final DefaultedRegistryReference<Operation> DECAY
-
LIQUID_SPREAD
public static final DefaultedRegistryReference<Operation> LIQUID_SPREAD
-
LIQUID_DECAY
public static final DefaultedRegistryReference<Operation> LIQUID_DECAY
-
-