3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/core/string/HashedString.h"
7#include "mc/world/level/block/BlockSupportType.h"
8#include "mc/world/level/block/BlockType.h"
26class SlabBlock :
public ::BlockType {
30 ::ll::TypedStorage<1, 1, bool> mIsDouble;
31 ::ll::TypedStorage<8, 48, ::HashedString> mOtherSlab;
41 virtual bool isSlabBlock()
const ;
43 virtual ::AABB
const& getVisualShape(
::Block const& block,
::AABB& bufferAABB)
const ;
54 virtual bool liquidCanFlowIntoFromDirection(
64 virtual bool canProvideSupport(
::Block const& block, uchar face, ::BlockSupportType)
const ;
66 virtual void _addHardCodedBlockComponents(
::Experiments const& experiments) ;
73 ::std::string
const& nameId,
110 uchar flowIntoFacing,
Definition BaseGameVersion.h:8
Definition BlockActor.h:30
Definition BlockSource.h:72
Definition Experiments.h:14
Definition HashedString.h:5
Definition ItemInstance.h:15
Definition MobSpawnerData.h:17
MCAPI::AABB const & $getVisualShape(::Block const &block, ::AABB &bufferAABB) const
MCAPI bool $checkIsPathable(::Actor &entity, ::BlockPos const &lastPathPos, ::BlockPos const &pathPos) const
MCAPI void $_addHardCodedBlockComponents(::Experiments const &experiments)
MCAPI bool $liquidCanFlowIntoFromDirection(uchar flowIntoFacing, ::std::function<::Block const &(::BlockPos const &)> const &getBlock, ::BlockPos const &pos) const
static MCAPI void ** $vftable()
MCAPI SlabBlock(::std::string const &nameId, int id, bool isDouble, ::Material const &mat, ::HashedString const &otherSlab)
MCAPI bool $canProvideSupport(::Block const &block, uchar face, ::BlockSupportType) const
MCAPI bool $isObstructingChests(::BlockSource ®ion, ::BlockPos const &pos, ::Block const &thisBlock) const
MCAPI bool $breaksFallingBlocks(::Block const &block, ::BaseGameVersion const version) const
static MCAPI ::BaseGameVersion const & TOP_SLAB_DOESNT_BREAK_FALLING_BLOCK_VERSION()
MCAPI void * $ctor(::std::string const &nameId, int id, bool isDouble, ::Material const &mat, ::HashedString const &otherSlab)
MCAPI::ItemInstance $asItemInstance(::Block const &, ::BlockActor const *) const
MCAPI bool $isSlabBlock() const
MCAPI::Block const & getDoubleSlab() const
MCAPI::MobSpawnerData const * $getMobToSpawn(::SpawnConditions const &conditions, ::BlockSource ®ion) const
Definition SpawnConditions.h:8