3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/platform/brstd/function_ref.h"
7#include "mc/world/level/block/AbstractCandleBlock.h"
8#include "mc/world/level/block/BlockSupportType.h"
31 virtual ::AABB
const& getVisualShape(
::Block const& block,
::AABB& bufferAABB)
const ;
35 virtual bool isInteractiveBlock()
const ;
37 virtual bool canProvideSupport(
::Block const&, uchar face, ::BlockSupportType type)
const ;
39 virtual int _getNumCandles(
::Block const& block)
const ;
41 virtual void _iterateCandles(
73 MCNAPI
void*
$ctor(::std::string
const& nameId,
int id);
Definition AbstractCandleBlock.h:21
Definition BlockActor.h:30
Definition BlockPlayerInteractEvent.h:18
Definition BlockSource.h:72
MCAPI bool $isInteractiveBlock() const
MCAPI::AABB const & $getVisualShape(::Block const &block, ::AABB &bufferAABB) const
static MCAPI void ** $vftable()
MCAPI void $_tryLightOnFire(::BlockSource ®ion, ::BlockPos const &pos, ::Actor *sourceActor) const
MCAPI void use(::BlockEvents::BlockPlayerInteractEvent &eventData) const
static MCAPI bool tryLightFire(::BlockSource ®ion, ::BlockPos const &pos, ::Actor *sourceActor)
static MCAPI void _forEachCandle(::Block const &block, ::BlockPos const &pos, ::brstd::function_ref< void(::Vec3 const &, int)> callback)
MCAPI void * $ctor(::std::string const &nameId, int id)
MCAPI bool $canProvideSupport(::Block const &, uchar face, ::BlockSupportType type) const
MCAPI void $_iterateCandles(::Block const &block, ::BlockPos const &pos, ::brstd::function_ref< void(::Vec3 const &, int)> callback) const
MCAPI::ItemInstance $asItemInstance(::Block const &block, ::BlockActor const *) const
MCAPI CandleBlock(::std::string const &nameId, int id)
MCAPI int $_getNumCandles(::Block const &block) const
Definition ItemInstance.h:15
Definition function_ref.h:60