3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/world/Direction.h"
7#include "mc/world/level/block/ActorBlockBase.h"
8#include "mc/world/level/block/BlockSupportType.h"
9#include "mc/world/level/block/BlockType.h"
24class LecternBlock :
public ::ActorBlock {
32 virtual ::Block
const&
33 getPlacementBlock(
::Actor const& by,
::BlockPos const& pos, uchar face,
::Vec3 const& clickPos,
int itemValue)
const
36 virtual bool isInteractiveBlock()
const ;
38 virtual bool canProvideSupport(
::Block const&, uchar face, ::BlockSupportType)
const ;
48 virtual bool hasComparatorSignal()
const ;
53 virtual bool isSignalSource()
const ;
57 virtual bool requiresLegacyRedstoneSetup()
const ;
81 MCNAPI
void*
$ctor(::std::string
const& nameId,
int id);
Definition BlockPlaceEvent.h:16
Definition BlockPlayerInteractEvent.h:18
Definition BlockQueuedTickEvent.h:16
Definition BlockSource.h:72
MCAPI bool $checkIsPathable(::Actor &entity, ::BlockPos const &lastPathPos, ::BlockPos const &pathPos) const
MCAPI bool $isInteractiveBlock() const
MCAPI void emitRedstonePulse(::BlockSource ®ion, ::BlockPos const &pos) const
MCAPI void onPlace(::BlockEvents::BlockPlaceEvent &eventData) const
MCAPI void $setupRedstoneComponent(::BlockSource ®ion, ::BlockPos const &pos) const
MCAPI bool $isSignalSource() const
MCAPI bool $hasComparatorSignal() const
MCAPI::Block const & $getPlacementBlock(::Actor const &by, ::BlockPos const &pos, uchar face, ::Vec3 const &clickPos, int itemValue) const
MCAPI bool $shouldConnectToRedstone(::BlockSource ®ion, ::BlockPos const &pos, ::Direction::Type direction) const
MCAPI int $getComparatorSignal(::BlockSource ®ion, ::BlockPos const &pos, ::Block const &block, uchar dir) const
MCAPI bool $canProvideSupport(::Block const &, uchar face, ::BlockSupportType) const
MCAPI LecternBlock(::std::string const &nameId, int id)
static MCAPI void ** $vftable()
MCAPI void * $ctor(::std::string const &nameId, int id)
MCAPI bool $requiresLegacyRedstoneSetup() const
MCAPI void tick(::BlockEvents::BlockQueuedTickEvent &eventData) const
MCAPI::Block const * $playerWillDestroy(::Player &player, ::BlockPos const &pos, ::Block const &block) const