31class ComposterBlock :
public ::BlockType {
34 enum class FillLevel :
int {
52 virtual bool isInteractiveBlock()
const ;
54 virtual bool hasComparatorSignal()
const ;
58 virtual ::HitResult clip(
64 ::ShapeType shapeType,
68 virtual bool addCollisionShapes(
72 ::AABB const* intersectTestBox,
73 ::std::vector<::AABB>& inoutBoxes,
77 virtual void addAABBs(
81 ::AABB const* intersectTestBox,
82 ::std::vector<::AABB>& inoutBoxes
85 virtual bool canProvideSupport(
::Block const& face, uchar type, ::BlockSupportType)
const ;
87 virtual int getVariant(
::Block const& block)
const ;
95 MCAPI ComposterBlock(::std::string
const& nameId,
int id);
109 MCAPI static ::std::unordered_map<uint64, schar>
const& _getCompostableItems();
111 MCAPI
static bool addItem(
120 MCAPI
static bool addItems(
145 MCAPI static ::BaseGameVersion
const& COMPOSTER_DOESNT_BREAK_FALLING_BLOCK_VERSION();
151 MCAPI
void* $ctor(::std::string
const& nameId,
int id);
161 MCFOLD
bool $isInteractiveBlock()
const;
163 MCFOLD
bool $hasComparatorSignal()
const;
167 MCFOLD ::HitResult $clip(
173 ::ShapeType shapeType,
177 MCFOLD
bool $addCollisionShapes(
181 ::AABB const* intersectTestBox,
182 ::std::vector<::AABB>& inoutBoxes,
186 MCAPI
void $addAABBs(
190 ::AABB const* intersectTestBox,
191 ::std::vector<::AABB>& inoutBoxes
194 MCAPI
bool $canProvideSupport(
::Block const& face, uchar type, ::BlockSupportType)
const;
196 MCFOLD
int $getVariant(
::Block const& block)
const;
206 MCAPI
static void** $vftable();