File BlockSourceListener.hpp¶
Enums
-
class BlockSourceListener¶
Subclassed by Level
Public Functions
-
virtual ~BlockSourceListener() = default¶
-
inline virtual void onSourceCreated(BlockSource &source)¶
-
inline virtual void onSourceDestroyed(BlockSource &source)¶
-
inline virtual void onAreaChanged(BlockSource &source, const BlockPos &min, const BlockPos &max)¶
-
inline virtual void onBlockChanged(BlockSource &source, const BlockPos &pos, uint32_t layer, const Block &block, const Block &oldBlock, int updateFlags, const ActorBlockSyncMessage *syncMsg, BlockChangedEventTarget eventTarget, Actor *blockChangeSource)¶
-
inline virtual void onBrightnessChanged(BlockSource &source, const BlockPos &pos)¶
-
inline virtual void onBlockEntityChanged(BlockSource &source, BlockActor &blockEntity)¶
-
inline virtual void onEntityChanged(BlockSource &source, Actor &entity)¶
-
inline virtual void onBlockEvent(BlockSource &source, int x, int y, int z, int b0, int b1)¶
-
virtual ~BlockSourceListener() = default¶