-
Bug
-
Resolution: Invalid
-
None
-
1.16.5, 21w05b, 21w07a, 1.17.1, 21w40a, 1.18.2, 22w18a, 1.19, 1.19.2, 22w46a
-
Confirmed
-
Resource Packs
-
Low
-
Platform
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:
The bug
The coral fan block models, which are functionally template models due to only containing the block shape and being referenced by other models to apply textures, are 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 a coral fan model, such as horn_coral_wall_fan.json
- Note that it references block/coral_wall_fan.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 |
---|---|---|
coral_fan.json | template_coral_fan.json | |
coral_wall_fan.json | template_coral_wall_fan.json |
How to fix
Fixing this is as simple as renaming coral_fan.json and coral_wall_fan to template_coral_fan.json and template_coral_wall_fan.json, and then repointing all model files that reference it to the new names. 20 different model files currently point to these, for the 5 coral variants, floor and wall differences, and ddead and alive differences. The resource pack attached to this issue contains fixed versions of all 20 of these models as well as renamed coral fan template models 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, and comes along with a bonus fix:
- MC-203036 - The planes are now mirrored on the rear faces, specifically in a way that avoids undesirable mirror symmetry (rotational symmetry does result, however this is also present in vanilla anyway)
- relates to
-
MC-235686 Button template models are not prefixed with template_
- Open
-
MC-235694 Partial block template models are not prefixed with template_
- Open
-
MC-214689 Fence template models are not prefixed with template_
- Resolved
-
MC-214686 Wall torch template model is called "template_torch_wall.json"
- Resolved
-
MC-214690 Wall inventory model is not prefixed with template_
- Resolved