@Override public ModelRenderer addBox(String partName, float offX, float offY, float offZ, int width, int height, int depth) { partName = this.boxName + "." + partName; TextureOffset textureoffset = this.model.getTextureOffset(partName); this.setTextureOffset(textureoffset.textureOffsetX, textureoffset.textureOffsetY); this.cubeList.add((new ModelBox(this, this.textureOffsetX, this.textureOffsetY, offX, offY, offZ, width, height, depth, 0.0F)).setBoxName(partName)); return this; }