Skip to content

block models for saplings don't load #83

Closed

Description

@zer0key123

running hexdoc render-model block/oak_sapling produces the error

FileNotFoundError: Path assets\minecraft\models\block\oak_sapling.json not found in any resource dir.

For other blocks with non-standard models, e.g. enchanting tables, it works fine.

Activity

  1. object-Object commented on Dec 26, 2024

    @object-Object
    Member

    Can't reproduce on the item-models branch:

    PS C:\Users\object\Git\hexdoc\out\tmp> hexdoc render-model block/oak_sapling
    [INFO] CI not detected, setting defaults for missing environment variables.
    [INFO] Loading hexdoc.
      Python:         3.11.0 (win32)
      hexdoc:         1!0.1.0rc1.dev0
      plugins:        minecraft-1.21.0.1.1.dev1
      mod_plugin:     hexdoc-1!0.1.0rc1.dev0
      cwd:            C:\Users\object\Git\hexdoc\out\tmp
      props_dir:      .
      mod_templates:  C:\Users\object\Git\hexdoc\src\hexdoc\_templates
      site_url:       https://example.hexxy.media
    [WARNING | hexdoc.cli.utils.load] No plugins implement minecraft_version. All versions may be used.
    Rendered model block/oak_sapling to renders/minecraft/block/oak_sapling.png.
    

    If you're using released versions of hexdoc, I probably won't be fixing rendering-related issues since the entire system has been rewritten on the item-models branch. Otherwise, please post more info (eg. full reproduction steps, full error output).

  2. object-Object commented on Oct 6, 2026

    @object-Object
    Member

    Should be fixed in #98

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    • Status
      ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions