public final class BlockChangeFlags extends Object
BlockChangeFlag
s.
BlockChangeFlag
s can be combined using the
BlockChangeFlag.andFlag(BlockChangeFlag)
and
BlockChangeFlag.andNotFlag(BlockChangeFlag)
operators.
Modifier and Type | Field and Description |
---|---|
static BlockChangeFlag |
ALL
All the available flags are applied through the AND operator.
|
static BlockChangeFlag |
NEIGHBOR
A flag that defines whether a block change should notify
neighboring blocks.
|
static BlockChangeFlag |
NEIGHBOR_OBSERVER
|
static BlockChangeFlag |
NEIGHBOR_PHYSICS
|
static BlockChangeFlag |
NEIGHBOR_PHYSICS_OBSERVER
|
static BlockChangeFlag |
NONE
No flags are set, triggers nothing.
|
static BlockChangeFlag |
OBSERVER
A flag that defines whether to update observer blocks, different
from notifying neighbors in that neighbor notifications
can cause further block notification loops (like redstone),
whereas this focuses on
BlockTypes.OBSERVER blocks
being told of updates. |
static BlockChangeFlag |
PHYSICS
A flag that defines whether a block change should
perform block physics checks or not.
|
static BlockChangeFlag |
PHYSICS_OBSERVER
|
public static final BlockChangeFlag ALL
public static final BlockChangeFlag NEIGHBOR
public static final BlockChangeFlag NEIGHBOR_OBSERVER
public static final BlockChangeFlag NEIGHBOR_PHYSICS
public static final BlockChangeFlag NEIGHBOR_PHYSICS_OBSERVER
public static final BlockChangeFlag NONE
public static final BlockChangeFlag OBSERVER
BlockTypes.OBSERVER
blocks
being told of updates.public static final BlockChangeFlag PHYSICS
public static final BlockChangeFlag PHYSICS_OBSERVER