int itemRenderLayer, TextureAtlasSprite texture, EnumFacing face) {
float x1, x2, x3, x4;
float y1, y2, y3, y4;
float z1, z2, z3, z4;
final float CUBE_MIN = 0.0F;
<BUG>final float CUBE_MAX = 1.0F;
switch (face) {</BUG>
case UP: {
x1 = x2 = centreLR + width / 2.0F;
x3 = x4 = centreLR - width / 2.0F;

int itemRenderLayer, TextureAtlasSprite texture, EnumFacing face) {
float x1, x2, x3, x4;
float y1, y2, y3, y4;
float z1, z2, z3, z4;
final float CUBE_MIN = 0.0F;
final float CUBE_MAX = 1.0F;
final float u1 = (centreLR - width / 2.0f) * 16.0f;
final float u2 = (centreLR + width / 2.0f) * 16.0f;
final float v1 = (centreUD - height / 2.0f) * 16.0f;
final float v2 = (centreUD + height / 2.0f) * 16.0f;
switch (face) {
case UP: {
x1 = x2 = centreLR + width / 2.0F;
x3 = x4 = centreLR - width / 2.0F;
