3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/world/item/FertilizerType.h"
7#include "mc/world/item/HandSlot.h"
8#include "mc/world/level/block/BlockDescriptor.h"
9#include "mc/world/level/block/BlockType.h"
23class GrassBlockBase :
public ::BlockType {
27 ::ll::TypedStorage<8, 176, ::BlockDescriptor const> mTillsIntoBlock;
28 ::ll::TypedStorage<8, 176, ::BlockDescriptor const> mGrowsOnBlock;
47 virtual bool canBeOriginalSurface(
bool)
const ;
49 virtual bool tryToTill(
61 virtual ~GrassBlockBase() ;
68 ::std::string
const& nameId,
Definition BlockDescriptor.h:21
Definition BlockPlayerInteractEvent.h:18
Definition BlockRandomTickEvent.h:16
Definition BlockSource.h:72
MCAPI GrassBlockBase(::std::string const &nameId, int id, ::BlockDescriptor tillsIntoBlock, ::BlockDescriptor growsOnBlock)
MCAPI bool $canBeFertilized(::BlockSource ®ion, ::BlockPos const &pos, ::Block const &aboveBlock) const
MCAPI void use(::BlockEvents::BlockPlayerInteractEvent &eventData) const
MCAPI bool $canBeOriginalSurface(bool) const
static MCAPI void ** $vftable()
MCAPI bool $tryToTill(::BlockSource ®ion, ::BlockPos const &pos, ::Actor &entity, ::ItemStack &item, ::HandSlot handSlot) const
MCAPI void * $ctor(::std::string const &nameId, int id, ::BlockDescriptor tillsIntoBlock, ::BlockDescriptor growsOnBlock)
MCAPI void randomTick(::BlockEvents::BlockRandomTickEvent &eventData) const
MCAPI bool $canSurvive(::BlockSource ®ion, ::BlockPos const &pos) const
static MCAPI bool _canBeGrass(::BlockSource const ®ion, ::BlockPos const &pos)
MCAPI bool $onFertilized(::BlockSource ®ion, ::BlockPos const &pos, ::Actor *entity, ::FertilizerType fType) const
Definition ItemStack.h:26