3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/world/Direction.h"
7#include "mc/world/level/block/ActorBlockBase.h"
8#include "mc/world/level/block/BlockLegacy.h"
9#include "mc/world/level/block/BlockSupportType.h"
10#include "mc/world/level/material/MaterialType.h"
23namespace BlockEvents {
class BlockPlaceEvent; }
24namespace BlockEvents {
class BlockPlayerInteractEvent; }
30 enum class ChestType :
int {
39 ::ll::TypedStorage<4, 4, ::ChestBlock::ChestType> mType;
50 virtual ::BlockLegacy& init() ;
68 virtual bool hasComparatorSignal()
const ;
75 virtual uchar getMappedFace(uchar face,
::Block const& block)
const ;
82 virtual bool isInteractiveBlock()
const ;
85 virtual bool isContainerBlock()
const ;
88 virtual bool isSignalSource()
const ;
96 virtual bool canProvideSupport(
::Block const&, uchar face, ::BlockSupportType type)
const ;
103 virtual void _addHardCodedBlockComponents(
::Experiments const&) ;
112 MCNAPI
ChestBlock(::std::string
const& nameId,
int id, ::ChestBlock::ChestType type, ::MaterialType materialType);
130 MCNAPI
void*
$ctor(::std::string
const& nameId,
int id, ::ChestBlock::ChestType type, ::MaterialType materialType);
Definition ActorBlockBase.h:6
Definition BaseGameVersion.h:8
Definition BlockPlaceEvent.h:16
Definition BlockPlayerInteractEvent.h:17
Definition BlockSource.h:67
Definition ChestBlock.h:27
MCAPI bool $canProvideSupport(::Block const &, uchar face, ::BlockSupportType type) const
MCAPI ChestBlock(::std::string const &nameId, int id, ::ChestBlock::ChestType type, ::MaterialType materialType)
MCAPI bool $hasComparatorSignal() const
MCAPI bool $isInteractiveBlock() const
MCAPI void * $ctor(::std::string const &nameId, int id, ::ChestBlock::ChestType type, ::MaterialType materialType)
MCAPI::BlockLegacy & $init()
MCAPI bool $isSignalSource() const
MCAPI void $onMove(::BlockSource ®ion, ::BlockPos const &from, ::BlockPos const &to) const
MCAPI void $setupRedstoneComponent(::BlockSource ®ion, ::BlockPos const &pos) const
MCAPI void use(::BlockEvents::BlockPlayerInteractEvent &eventData) const
MCAPI bool $shouldConnectToRedstone(::BlockSource ®ion, ::BlockPos const &pos, ::Direction::Type direction) const
MCAPI void $onRemove(::BlockSource ®ion, ::BlockPos const &pos) const
static MCAPI void ** $vftable()
MCAPI void onPlace(::BlockEvents::BlockPlaceEvent &eventData) const
MCAPI int $getComparatorSignal(::BlockSource ®ion, ::BlockPos const &pos, ::Block const &block, uchar dir) const
MCAPI bool $breaksFallingBlocks(::Block const &block, ::BaseGameVersion const version) const
MCAPI bool $isContainerBlock() const
MCAPI bool $dispense(::BlockSource ®ion, ::Container &container, int slot, ::Vec3 const &pos, uchar face) const
MCAPI uchar $getMappedFace(uchar face, ::Block const &block) const
MCAPI void $_addHardCodedBlockComponents(::Experiments const &)
MCAPI void updateSignalStrength(::BlockSource ®ion, ::BlockPos const &pos, int strength) const
MCAPI bool $getSecondPart(::IConstBlockSource const ®ion, ::BlockPos const &pos, ::BlockPos &out) const
static MCAPI bool _tryEquipChest(::Actor &actor)
MCAPI bool $detachesOnPistonMove(::BlockSource ®ion, ::BlockPos const &pos) const
Definition Container.h:30
Definition Experiments.h:14
Definition IConstBlockSource.h:24