Class Operations
- java.lang.Object
-
- org.spongepowered.api.block.transaction.Operations
-
public final class Operations extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static DefaultedRegistryReference<Operation>
BREAK
static DefaultedRegistryReference<Operation>
DECAY
static DefaultedRegistryReference<Operation>
GROWTH
static DefaultedRegistryReference<Operation>
LIQUID_DECAY
static DefaultedRegistryReference<Operation>
LIQUID_SPREAD
static DefaultedRegistryReference<Operation>
MODIFY
AnOperation
that signifies the block change is particularly discernible as though theBlockState
may be different but theBlockType
may be the same.static DefaultedRegistryReference<Operation>
PLACE
AnOperation
that signifies ablock
is either: Replacingan air
block ABlockState
that is replaceable when moved, or anItemStack
can replace it
-
-
-
Field Detail
-
PLACE
public static final DefaultedRegistryReference<Operation> PLACE
AnOperation
that signifies ablock
is either:- Replacing
an air
block - A
BlockState
that is replaceable when moved, or anItemStack
can replace it
- Replacing
-
BREAK
public static final DefaultedRegistryReference<Operation> BREAK
-
MODIFY
public static final DefaultedRegistryReference<Operation> MODIFY
AnOperation
that signifies the block change is particularly discernible as though theBlockState
may be different but theBlockType
may 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
-
-