File ChestBlock.hpp¶
-
class ChestBlock : public ActorBlock¶
Public Types
Public Functions
-
ChestBlock(const std::string &nameId, short id, ChestType type, MaterialType materialType)¶
-
virtual ~ChestBlock() = default¶
-
virtual bool canProvideSupport(const Block &block, unsigned char face, BlockSupportType type) const override¶
-
virtual bool isContainerBlock() const override¶
-
virtual bool isSignalSource() const override¶
-
virtual bool shouldConnectToRedstone(BlockSource&, const BlockPos&, Direction::Type) const override¶
-
virtual bool dispense(BlockSource ®ion, Container &container, int slot, const Vec3 &pos, unsigned char face) const override¶
-
virtual void onMove(BlockSource ®ion, const BlockPos &from, const BlockPos &to) const override¶
-
virtual bool detachesOnPistonMove(BlockSource&, BlockPos const&) const override¶
-
virtual void setupRedstoneComponent(BlockSource ®ion, const BlockPos &pos) const override¶
-
virtual bool breaksFallingBlocks(const Block &block, BaseGameVersion version) const override¶
-
virtual bool hasComparatorSignal() const override¶
-
virtual int getComparatorSignal(BlockSource ®ion, const BlockPos &pos, const Block &block, unsigned char dir) const override¶
-
virtual BlockLegacy &init() override¶
-
virtual void onRemove(BlockSource ®ion, const BlockPos &pos) const override¶
-
virtual void onPlace(BlockSource ®ion, const BlockPos &pos) const override¶
-
virtual bool isInteractive() const override¶
-
ChestBlock(const std::string &nameId, short id, ChestType type, MaterialType materialType)¶