3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/core/utility/optional_ref.h"
7#include "mc/world/level/block/BlockDescriptor.h"
8#include "mc/world/level/block/BlockSupportType.h"
9#include "mc/world/level/block/BlockType.h"
24class FarmBlock :
public ::BlockType {
28 ::ll::TypedStorage<8, 176, ::BlockDescriptor> mBaseBlock;
38 virtual ::AABB getCollisionShape(
49 virtual int getVariant(
::Block const& block)
const ;
61 virtual bool canProvideSupport(
::Block const&, uchar face, ::BlockSupportType)
const ;
67 MCAPI FarmBlock(::std::string
const& nameId,
int id,
::BlockDescriptor baseBlock);
83 MCAPI
void* $ctor(::std::string
const& nameId,
int id,
::BlockDescriptor baseBlock);
89 MCAPI ::AABB $getCollisionShape(
109 MCFOLD
bool $canProvideSupport(
::Block const&, uchar face, ::BlockSupportType)
const;
Definition BlockDescriptor.h:21
Definition BlockQueuedTickEvent.h:16
Definition BlockRandomTickEvent.h:16
Definition BlockSource.h:72
static MCAPI ::AABB & BLOCK_AABB()
static MCAPI void ** $vftable()
MCAPI void $neighborChanged(::BlockSource ®ion, ::BlockPos const &pos, ::BlockPos const &neighborPos) const
MCAPI int $getVariant(::Block const &block) const
MCAPI void tick(::BlockEvents::BlockQueuedTickEvent &eventData) const
Definition GetCollisionShapeInterface.h:13
Definition IConstBlockSource.h:25
Definition optional_ref.h:10