3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/core/string/HashedString.h"
7#include "mc/deps/core/utility/optional_ref.h"
8#include "mc/world/level/block/BlockRenderLayer.h"
9#include "mc/world/level/block/BlockSupportType.h"
10#include "mc/world/level/block/BlockType.h"
24class LightBlock :
public ::BlockType {
28 ::ll::TypedStorage<8, 48, ::HashedString const> mNextLightLevel;
38 virtual bool addCollisionShapes(
42 ::AABB const* intersectTestBox,
43 ::std::vector<::AABB>& inoutBoxes,
47 virtual ::AABB getCollisionShape(
54 virtual bool isFilteredOut(::BlockRenderLayer heldItemRenderLayer)
const ;
60 virtual bool tryToPlace(
67 virtual bool canProvideSupport(
::Block const&, uchar, ::BlockSupportType)
const ;
69 virtual bool canBeBuiltOver(
73 ::BlockType
const& newBlock
98 ::AABB const* intersectTestBox,
99 ::std::vector<::AABB>& inoutBoxes,
129 ::BlockType
const& newBlock
Definition BlockPlayerInteractEvent.h:18
Definition BlockSource.h:72
Definition GetCollisionShapeInterface.h:13
Definition HashedString.h:5
Definition IConstBlockSource.h:25
MCAPI bool $tryToPlace(::BlockSource ®ion, ::BlockPos const &pos, ::Block const &block, ::ActorBlockSyncMessage const *syncMsg) const
MCAPI bool $canProvideSupport(::Block const &, uchar, ::BlockSupportType) const
MCAPI void * $ctor(::std::string const &nameId, int id, ::HashedString const &nextLightLevel)
MCAPI bool $mayPlace(::BlockSource ®ion, ::BlockPos const &pos, uchar face) const
MCAPI bool $canBeBuiltOver(::Block const &block, ::BlockSource const ®ion, ::BlockPos const &pos, ::BlockType const &newBlock) const
MCAPI bool $addCollisionShapes(::Block const &block, ::IConstBlockSource const ®ion, ::BlockPos const &pos, ::AABB const *intersectTestBox, ::std::vector<::AABB > &inoutBoxes, ::optional_ref<::GetCollisionShapeInterface const > entity) const
MCAPI::AABB $getCollisionShape(::Block const &, ::IConstBlockSource const &, ::BlockPos const &, ::optional_ref<::GetCollisionShapeInterface const >) const
MCAPI bool $isFilteredOut(::BlockRenderLayer heldItemRenderLayer) const
MCAPI LightBlock(::std::string const &nameId, int id, ::HashedString const &nextLightLevel)
MCAPI bool $mayPlace(::BlockSource ®ion, ::BlockPos const &pos) const
MCAPI void use(::BlockEvents::BlockPlayerInteractEvent &eventData) const
static MCAPI void ** $vftable()
Definition optional_ref.h:10
Definition ActorBlockSyncMessage.h:8