42 virtual ::EventResult onBlockInPosWillBeDestroyedByPlayer(
::Player& player,
::BlockPos const& pos);
46 onBlockMovedByPiston(
::BlockPos const& pistonPos,
::BlockPos const& blockPos, ::PistonState
const action);
49 virtual ::EventResult onBlockDestructionStopped(
::Player& player,
::BlockPos const& blockPos,
int progress);
55 virtual ::EventResult onBlockInteractedWith(
::Player& player,
::BlockPos const& blockPos);
65 virtual ::EventResult onUnknownBlockReceived(
::Level& level,
::NewBlockID const& blockId, ushort data);
86 MCFOLD ::EventResult $onBlockInPosWillBeDestroyedByPlayer(
::Player& player,
::BlockPos const& pos);
89 $onBlockMovedByPiston(
::BlockPos const& pistonPos,
::BlockPos const& blockPos, ::PistonState
const action);
91 MCFOLD ::EventResult $onBlockDestructionStopped(
::Player& player,
::BlockPos const& blockPos,
int progress);
95 MCFOLD ::EventResult $onBlockInteractedWith(
::Player& player,
::BlockPos const& blockPos);
97 MCFOLD ::EventResult $onBlockExploded(
106 MCFOLD ::EventResult $onUnknownBlockReceived(
::Level& level,
::NewBlockID const& blockId, ushort data);
114 MCAPI
static void** $vftable();