Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

blocks.json not detecting additional and vanilla textures defined in terrain_texture.json #430

Open
HIPPOKLEIDES opened this issue Nov 19, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@HIPPOKLEIDES
Copy link

Describe the bug
In a resource-pack, blocks.json throws errors stating that "The texture is not defined in the terrain_textures.json", despite the texture being defined in terrain_textures.json and working in-game. This mainly happens for additional textures (eg: textures for the top and bottom of wool), but also happens for many vanilla textures (eg: cartography table textures).

To Reproduce
Steps to reproduce the behavior:

  1. Add entries to blocks.json with new textures.
  2. Add texture definition to terrain_texture.json
  3. See "the texture is not defined in the terrain_textures.json" errors in blocks.json

Expected behavior
If new textures are defined in terrain_textures, no errors should show up when referencing them. If the textures already exist in the vanilla terrain_textures, no errors should be thrown.

Screenshots
image
image

Desktop (please complete the following information):

  • OS: Windows 10
@HIPPOKLEIDES HIPPOKLEIDES added the bug Something isn't working label Nov 19, 2022
@HIPPOKLEIDES HIPPOKLEIDES changed the title blocks.json not detecting additional and vanilla textures defined in terrain_texture..json blocks.json not detecting additional and vanilla textures defined in terrain_texture.json Nov 19, 2022
@StealthyExpertX
Copy link

Your example has a typo on the bottom right image, where "Example" should be "example"

@HIPPOKLEIDES
Copy link
Author

Your example has a typo on the bottom right image, where "Example" should be "example"

In Blocks.json the name of the entry, "Example", should be irrelevant to this, as "textures": "example" is what references the entry called "example" in terrains.json.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants