File BlockGraphics.hpp

class TextureItem

Public Members

std::string defaultName
std::string carriedName
TextureAtlasItem defaultItem
TextureAtlasItem carriedItem
class BlockGraphics

Public Functions

void setTextureItem(std::string up, std::string down, std::string north, std::string south, std::string west, std::string east)
void setDefaultCarriedTextures()

Public Members

uintptr_t **vtable
IsotropicFaceData mIsotropicFaceData
const Block *mBlock
BlockRenderLayer mRenderLayer
BlockShape mBlockShape
bool mAnimatedTexture
float mBrightnessGamma
bool mFancy
bool mAllowSame
__declspec(align(4)) std AABB mVisualShape
std::vector<TextureItem> mTextureItems
unsigned __int64 mIconTextureIndex
std::vector<std::vector<const BlockGeometry::Model*>> mBlockModelVariants
std::vector<std::vector<BlockGraphics::ModelItem>> mTessellatedModelParts

Public Static Functions

static void initBlocks(ResourcePackManager&, const Experiments&)
static BlockGraphics *createBlockGraphics(const HashedString &identifier, BlockShape shape)
namespace BlockGeometry