0

1.15 release preparations

- Update texture error string
- Update docs
- Add missing newline at the end of textures.py
This commit is contained in:
Nicolas F
2019-12-27 14:23:01 +01:00
parent d9fb3ac816
commit 7538eb42c3
2 changed files with 4 additions and 4 deletions

View File

@@ -273,14 +273,14 @@ If you want or need to provide your own textures, you have several options:
::
VERSION=1.14
VERSION=1.15
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.14 textures::
wget https://overviewer.org/textures/1.14 -O ~/.minecraft/versions/1.14/1.14.jar
wget https://overviewer.org/textures/1.15 -O ~/.minecraft/versions/1.15/1.15.jar
* You can also just run the launcher to install the client.

View File

@@ -324,7 +324,7 @@ class Textures(object):
if verbose: logging.info("Found %s in '%s'", filename, path)
return open(path, mode)
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 <http://docs.overviewer.org/en/latest/running/#installing-the-textures>\n(Remember, this version of Overviewer requires a 1.14-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 <http://docs.overviewer.org/en/latest/running/#installing-the-textures>\n(Remember, this version of Overviewer requires a 1.15-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.
@@ -5234,4 +5234,4 @@ def beehivenest(self, blockid, data):
block(blockid=11503, top_image="assets/minecraft/textures/block/honeycomb_block.png")
# honey_block
block(blockid=11504, top_image="assets/minecraft/textures/block/honey_block_top.png", side_image="assets/minecraft/textures/block/honey_block_side.png")
block(blockid=11504, top_image="assets/minecraft/textures/block/honey_block_top.png", side_image="assets/minecraft/textures/block/honey_block_side.png")