1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#pragma once #include "BlockHandler.h" class cBlockNetherrack final : public cBlockHandler { public: using cBlockHandler::cBlockHandler; private: virtual bool CanSustainPlant(BLOCKTYPE a_Plant) const override { return a_Plant == E_BLOCK_NETHER_WART; } };