File Block.hpp

Typedefs

using DataID = unsigned short
class Block : public BlockComponentStorage

Public Functions

template<typename T>
T getState(const BlockState &blockState) const
template<typename T>
gsl::strict_not_null<const Block*> setState(const BlockState &stateType, T value) const
mce::Color getMapColor(BlockSource &region, const BlockPos &pos) const

Public Members

const uint16_t mData
gsl::not_null<class BlockLegacy*> mLegacyBlock
std::byte padding56[152]