From 9d4f2cfe0b824ea703e677dceb21b58bd9a6b038 Mon Sep 17 00:00:00 2001 From: Nicolas F Date: Thu, 23 Jun 2022 15:13:08 +0200 Subject: [PATCH] Require 1.19 textures --- .travis.yml | 2 +- docs/running.rst | 6 +++--- overviewer_core/textures.py | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 08f1392..b6ac88c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,7 +7,7 @@ python: - "3.8" - "3.9" env: - - MC_VERSION=1.17 + - MC_VERSION=1.19 before_install: - wget https://raw.githubusercontent.com/python-pillow/Pillow/master/src/libImaging/Imaging.h - wget https://raw.githubusercontent.com/python-pillow/Pillow/master/src/libImaging/ImagingUtils.h diff --git a/docs/running.rst b/docs/running.rst index 97fc80f..e42da0f 100644 --- a/docs/running.rst +++ b/docs/running.rst @@ -273,14 +273,14 @@ If you want or need to provide your own textures, you have several options: :: - VERSION=1.17 + VERSION=1.19 mkdir -p ~/.minecraft/versions/${VERSION}/ wget https://overviewer.org/textures/${VERSION} -O ~/.minecraft/versions/${VERSION}/${VERSION}.jar If that's too confusing for you, then just take this single line and paste it into - a terminal to get 1.17 textures:: + a terminal to get 1.19 textures:: - mkdir -p ~/.minecraft/versions/1.17/ && wget https://overviewer.org/textures/1.17 -O ~/.minecraft/versions/1.17/1.17.jar + mkdir -p ~/.minecraft/versions/1.19/ && wget https://overviewer.org/textures/1.19 -O ~/.minecraft/versions/1.19/1.19.jar * You can also just run the launcher to install the client. diff --git a/overviewer_core/textures.py b/overviewer_core/textures.py index 3f2f221..0141b8f 100644 --- a/overviewer_core/textures.py +++ b/overviewer_core/textures.py @@ -331,7 +331,7 @@ class Textures(object): if verbose: logging.info("Did not find file {0} in jar {1}".format(filename, jarpath)) - raise TextureException("Could not find the textures while searching for '{0}'. Try specifying the 'texturepath' option in your config file.\nSet it to the path to a Minecraft Resource pack.\nAlternately, install the Minecraft client (which includes textures)\nAlso see \n(Remember, this version of Overviewer requires a 1.17-compatible resource pack)\n(Also note that I won't automatically use snapshots; you'll have to use the texturepath option to use a snapshot jar)".format(filename)) + raise TextureException("Could not find the textures while searching for '{0}'. Try specifying the 'texturepath' option in your config file.\nSet it to the path to a Minecraft Resource pack.\nAlternately, install the Minecraft client (which includes textures)\nAlso see \n(Remember, this version of Overviewer requires a 1.19-compatible resource pack)\n(Also note that I won't automatically use snapshots; you'll have to use the texturepath option to use a snapshot jar)".format(filename)) def load_image_texture(self, filename): # Textures may be animated or in a different resolution than 16x16.