-
Bug
-
Resolution: Won't Fix
-
None
-
1.17.1
-
Confirmed
-
Textures and models
The resource pack attached offers a complete fix for this issue. Mojang have my full permission to (and are encouraged to) replace the affected vanilla model files with the contents of the resource pack.
Download resource pack:
- 1.17.1: consistent-crops-1.17.1-v1.0.zip
The bug
The crop block model, which is functionally a template model due to only containing the block shape and being referenced by other models to apply textures, is not prefixed with "template_". This is unlike a multitude of other template models which the game uses, which are in fact prefixed with "template_".
How to reproduce
This is as easy as just navigating to the assets/minecraft/models/block directory and checking the file names.
- Open the game jar file using one's preferred method
- Check the model file of a block that uses the crop model, such as wheat_stage3.json
- Note that it references block/crop.json, and also note that it isn't prefixed with template_
- Check the model of a block such as a wall torch, anvil, chorus flower, ...
- Note that the model it references is prefixed with template_ due to the referenced model in question being a template model
Expected and actual results
The table below summarizes the expected file names for the models in question.
Current name | Expected name | Notes |
---|---|---|
crop.json | template_crop.json |
How to fix
Fixing this is as simple as renaming crop.json to template_crop.json, and then repointing all model files that reference it to the new names. 23 different model files currently point to it, namely those used for carrots, potatoes, beetroots, wheat and nether wart. The resource pack attached to this issue contains fixed versions of all 23 of these issues as well as a renamed crop template model to accompany them, meaning these can be added to minecraft.jar in seconds to fix this issue.
The pack also cleans up formatting for consistency.
Other thoughts
While fixing this issue I noticed another inconsistency within the game's assets: all five of the crops mentioned in this ticket use an "age" block state to track growth, however the texture and model files for these (as well as many other blocks with age values) use "stage" instead. Perhaps it would be worth renaming these to "age" to better fit the block states? I may report this separately in future with a fix attached, however this will probably not be for a while.
- relates to
-
MC-212650 Several commonly used template models do not have "template_" in the title
- Resolved