LeviLamina
Loading...
Searching...
No Matches
ShulkerBoxBlock Class Reference
+ Inheritance diagram for ShulkerBoxBlock:

Public Types

enum class  ChestType : int { Basic = 0 , Trap = 1 , Ender = 2 }
 

Public Member Functions

virtual::Block const * playerWillDestroy (::Player &player, ::BlockPos const &pos, ::Block const &block) const
 
virtual::Block const & getPlacementBlock (::Actor const &by, ::BlockPos const &pos, uchar face, ::Vec3 const &clickPos, int itemValue) const
 
virtual void setupRedstoneComponent (::BlockSource &region, ::BlockPos const &pos) const
 
virtual bool dispense (::BlockSource &region, ::Container &container, int slot, ::Vec3 const &pos, uchar face) const
 
virtual::AABB getCollisionShape (::Block const &block, ::IConstBlockSource const &region, ::BlockPos const &pos, ::optional_ref<::GetCollisionShapeInterface const > entity) const
 
virtual::AABB const & getOutline (::Block const &block, ::IConstBlockSource const &region, ::BlockPos const &pos, ::AABB &bufferValue) const
 
virtual bool breaksFallingBlocks (::Block const &block, ::BaseGameVersion const version) const
 
virtual bool canProvideSupport (::Block const &, uchar, ::BlockSupportType) const
 
MCAPI::Block const * $playerWillDestroy (::Player &player, ::BlockPos const &pos, ::Block const &block) const
 
MCAPI::Block const & $getPlacementBlock (::Actor const &by, ::BlockPos const &pos, uchar face, ::Vec3 const &clickPos, int itemValue) const
 
MCAPI void $setupRedstoneComponent (::BlockSource &region, ::BlockPos const &pos) const
 
MCAPI bool $dispense (::BlockSource &region, ::Container &container, int slot, ::Vec3 const &pos, uchar face) const
 
MCAPI::AABB $getCollisionShape (::Block const &block, ::IConstBlockSource const &region, ::BlockPos const &pos, ::optional_ref<::GetCollisionShapeInterface const > entity) const
 
MCAPI::AABB const & $getOutline (::Block const &block, ::IConstBlockSource const &region, ::BlockPos const &pos, ::AABB &bufferValue) const
 
MCAPI bool $breaksFallingBlocks (::Block const &block, ::BaseGameVersion const version) const
 
virtual::BlockLegacy & init ()
 
virtual void onRemove (::BlockSource &region, ::BlockPos const &pos) const
 
virtual void onMove (::BlockSource &region, ::BlockPos const &from, ::BlockPos const &to) const
 
virtual bool detachesOnPistonMove (::BlockSource &region, ::BlockPos const &pos) const
 
virtual bool hasComparatorSignal () const
 
virtual int getComparatorSignal (::BlockSource &region, ::BlockPos const &pos, ::Block const &block, uchar dir) const
 
virtual uchar getMappedFace (uchar face, ::Block const &block) const
 
virtual bool getSecondPart (::IConstBlockSource const &region, ::BlockPos const &pos, ::BlockPos &out) const
 
virtual bool isInteractiveBlock () const
 
virtual bool isContainerBlock () const
 
virtual bool isSignalSource () const
 
virtual bool shouldConnectToRedstone (::BlockSource &region, ::BlockPos const &pos, ::Direction::Type direction) const
 
virtual void _addHardCodedBlockComponents (::Experiments const &)
 
MCAPI void onPlace (::BlockEvents::BlockPlaceEvent &eventData) const
 
MCAPI void updateSignalStrength (::BlockSource &region, ::BlockPos const &pos, int strength) const
 
MCAPI void use (::BlockEvents::BlockPlayerInteractEvent &eventData) const
 
MCAPI void * $ctor (::std::string const &nameId, int id, ::ChestBlock::ChestType type, ::MaterialType materialType)
 
MCAPI void $dtor ()
 
MCAPI::BlockLegacy & $init ()
 
MCAPI void $onRemove (::BlockSource &region, ::BlockPos const &pos) const
 
MCAPI void $onMove (::BlockSource &region, ::BlockPos const &from, ::BlockPos const &to) const
 
MCAPI bool $detachesOnPistonMove (::BlockSource &region, ::BlockPos const &pos) const
 
MCAPI bool $hasComparatorSignal () const
 
MCAPI int $getComparatorSignal (::BlockSource &region, ::BlockPos const &pos, ::Block const &block, uchar dir) const
 
MCAPI uchar $getMappedFace (uchar face, ::Block const &block) const
 
MCAPI bool $getSecondPart (::IConstBlockSource const &region, ::BlockPos const &pos, ::BlockPos &out) const
 
MCAPI bool $isInteractiveBlock () const
 
MCAPI bool $isContainerBlock () const
 
MCAPI bool $isSignalSource () const
 
MCAPI bool $shouldConnectToRedstone (::BlockSource &region, ::BlockPos const &pos, ::Direction::Type direction) const
 
MCAPI bool $canProvideSupport (::Block const &, uchar face, ::BlockSupportType type) const
 
MCAPI void $_addHardCodedBlockComponents (::Experiments const &)
 

Static Public Member Functions

static MCAPI ::BaseGameVersion const & SHULKER_BOX_DOESNT_BREAK_FALLING_BLOCK_VERSION ()
 
static MCAPI void ** $vftable ()
 
static MCAPI bool _tryEquipChest (::Actor &actor)
 

Public Attributes

::ll::TypedStorage< 4, 4, ::ChestBlock::ChestType > mType
 

Member Function Documentation

◆ setupRedstoneComponent()

virtual void ShulkerBoxBlock::setupRedstoneComponent ( ::BlockSource & region,
::BlockPos const & pos ) const
virtual

Reimplemented from ChestBlock.

◆ dispense()

virtual bool ShulkerBoxBlock::dispense ( ::BlockSource & region,
::Container & container,
int slot,
::Vec3 const & pos,
uchar face ) const
virtual

Reimplemented from ChestBlock.

◆ breaksFallingBlocks()

virtual bool ShulkerBoxBlock::breaksFallingBlocks ( ::Block const & block,
::BaseGameVersion const version ) const
virtual

Reimplemented from ChestBlock.

◆ canProvideSupport()

virtual bool ShulkerBoxBlock::canProvideSupport ( ::Block const & ,
uchar ,
::BlockSupportType  ) const
virtual

Reimplemented from ChestBlock.

◆ onPlace()

MCAPI void ChestBlock::onPlace ( ::BlockEvents::BlockPlaceEvent & eventData) const
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ updateSignalStrength()

MCAPI void ChestBlock::updateSignalStrength ( ::BlockSource & region,
::BlockPos const & pos,
int strength ) const
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ use()

MCAPI void ChestBlock::use ( ::BlockEvents::BlockPlayerInteractEvent & eventData) const
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _tryEquipChest()

static MCAPI bool ChestBlock::_tryEquipChest ( ::Actor & actor)
staticinherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $ctor()

MCAPI void * ChestBlock::$ctor ( ::std::string const & nameId,
int id,
::ChestBlock::ChestType type,
::MaterialType materialType )
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $dtor()

MCAPI void ChestBlock::$dtor ( )
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $init()

MCAPI::BlockLegacy & ChestBlock::$init ( )
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $onRemove()

MCAPI void ChestBlock::$onRemove ( ::BlockSource & region,
::BlockPos const & pos ) const
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $onMove()

MCAPI void ChestBlock::$onMove ( ::BlockSource & region,
::BlockPos const & from,
::BlockPos const & to ) const
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $detachesOnPistonMove()

MCAPI bool ChestBlock::$detachesOnPistonMove ( ::BlockSource & region,
::BlockPos const & pos ) const
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $hasComparatorSignal()

MCAPI bool ChestBlock::$hasComparatorSignal ( ) const
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $getComparatorSignal()

MCAPI int ChestBlock::$getComparatorSignal ( ::BlockSource & region,
::BlockPos const & pos,
::Block const & block,
uchar dir ) const
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $getMappedFace()

MCAPI uchar ChestBlock::$getMappedFace ( uchar face,
::Block const & block ) const
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $getSecondPart()

MCAPI bool ChestBlock::$getSecondPart ( ::IConstBlockSource const & region,
::BlockPos const & pos,
::BlockPos & out ) const
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $isInteractiveBlock()

MCAPI bool ChestBlock::$isInteractiveBlock ( ) const
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $isContainerBlock()

MCAPI bool ChestBlock::$isContainerBlock ( ) const
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $isSignalSource()

MCAPI bool ChestBlock::$isSignalSource ( ) const
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $shouldConnectToRedstone()

MCAPI bool ChestBlock::$shouldConnectToRedstone ( ::BlockSource & region,
::BlockPos const & pos,
::Direction::Type direction ) const
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $canProvideSupport()

MCAPI bool ChestBlock::$canProvideSupport ( ::Block const & ,
uchar face,
::BlockSupportType type ) const
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $_addHardCodedBlockComponents()

MCAPI void ChestBlock::$_addHardCodedBlockComponents ( ::Experiments const & )
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

The documentation for this class was generated from the following file: