#pragma once #include #include #include #include "minecraft/client/model/Polygon.h" #include "minecraft/client/model/Vertex.h" class Model; class ModelPart; class Tesselator; class Vertex; class _Polygon; class Cube { private: std::array vertices; std::array<_Polygon, 6> polygons; uint8_t faceCount; public: const float x0, y0, z0, x1, y1, z1; std::string id; public: Cube(ModelPart* modelPart, int xTexOffs, int yTexOffs, float x0, float y0, float z0, int w, int h, int d, float g, int faceMask = 63, bool bFlipPoly3UVs = false); // 4J - added faceMask void render(Tesselator* t, float scale); Cube* setId(const std::string& id); };