5 #include "../BlockEntities/EnchantingTableEntity.h"
@ E_BLOCK_ENCHANTMENT_TABLE
eBlockFace
Block face constants, used in PlayerDigging and PlayerBlockPlacement packets and bbox collision calc.
BLOCKTYPE GetBlockType() const
cWorld * GetWorld(void) const
bool IsCustomNameEmpty(void) const
virtual bool IsPlaceable(void) const override
Blocks simply get placed.
virtual bool CommitPlacement(cPlayer &a_Player, const cItem &a_HeldItem, const Vector3i a_PlacePosition, const eBlockFace a_ClickedBlockFace, const Vector3i a_CursorPosition) const override
Performs the actual placement of this placeable item.
virtual bool CommitPlacement(cPlayer &a_Player, const cItem &a_HeldItem, Vector3i a_PlacePosition, eBlockFace a_ClickedBlockFace, Vector3i a_CursorPosition) const
Performs the actual placement of this placeable item.
constexpr cItemHandler(int a_ItemType)
virtual bool DoWithBlockEntityAt(Vector3i a_Position, cBlockEntityCallback a_Callback) override
Calls the callback for the block entity at the specified coords; returns false if there's no block en...