Lily Pad mirrors texture when placed
When seen from the top, the texture used by Lily Pads is mirrored when placed as a block, compared to the texture image itself and all other in-game uses of it (e.g. in-GUI display, as a held item, in an item frame...).
What I expected to happen was...:
The left side of the texture is on the left side of the Lily Pad block.
What actually happened was...:
The left side of the texture is on the right side of the Lily Pad block.
Steps to Reproduce:
- Create a world with the game mode set to Creative.
- Open the inventory and find a Lily Pad. (It can be found in the second tab on the top, Decoration Blocks, or you can search for it in the sixth tab, Search Items.)
- Take a Lily Pad into your hotbar, and close the inventory.
- Find a lake, a river, an ocean, or some other place with water.
- Place the Lily Pad on top of the water, and compare the placed Lily Pad to the one in the hotbar and in your hand.
Steps to Fix:
In the resource file assets/minecraft/models/block/lily_pad.json, change...
"down": { "uv": [ 16, 16, 0, 0 ], "texture": "#texture", "tintindex": 0 }, "up": { "uv": [ 16, 0, 0, 16 ], "texture": "#texture", "tintindex": 0 }
...to...
"down": { "uv": [ 0, 16, 16, 0 ], "texture": "#texture", "tintindex": 0 }, "up": { "uv": [ 0, 0, 16, 16 ], "texture": "#texture", "tintindex": 0 }
Screenshots:
I have attached two images of the problem, where a resource pack is in use to add a bright green line on the left of the texture. The images show the Lily Pad on the hotbar, in both the left and the right hand, in an item frame, and placed as a block on top of water. The line is on the left (correct) side of the Lily Pad in all cases except for when placed on the water, where it is on the right (incorrect) side instead. One image is in version 1.14.4 (with an irrelevant mod), and one image is in snapshot 19w40a (without any mods).
Created Issue:
Lily Pad mirrors texture when placed
When seen from the top, the texture used by Lily Pads is mirrored when placed as a block, compared to the texture image itself and all other in-game uses of it (e.g. in-GUI display, as a held item, in an item frame...).
What I expected to happen was...:
The left side of the texture is on the left side of the Lily Pad block.
What actually happened was...:
The left side of the texture is on the right side of the Lily Pad block.
Steps to Reproduce:
- Create a world with the game mode set to Creative.
- Open the inventory and find a Lily Pad. (It can be found in the second tab on the top, Decoration Blocks, or you can search for it in the sixth tab, Search Items.)
- Take a Lily Pad into your hotbar, and close the inventory.
- Find a lake, a river, an ocean, or some other place with water.
- Place the Lily Pad on top of the water, and compare the placed Lily Pad to the one in the hotbar and in your hand.
Steps to Fix:
In the resource file assets/minecraft/models/block/lily_pad.json, change...
"down": { "uv": [ 16, 16, 0, 0 ], "texture": "#texture", "tintindex": 0 }, "up": { "uv": [ 16, 0, 0, 16 ], "texture": "#texture", "tintindex": 0 }
...to...
"down": { "uv": [ 0, 16, 16, 0 ], "texture": "#texture", "tintindex": 0 }, "up": { "uv": [ 0, 0, 16, 16 ], "texture": "#texture", "tintindex": 0 }
Screenshots:
I have attached two images of the problem, where a resource pack is in use to add a bright green line on the left of the texture. The images show the Lily Pad on the hotbar, in both the left and the right hand, in an item frame, and placed as a block on top of water. The line is on the left (correct) side of the Lily Pad in all cases except for when placed on the water, where it is on the right (incorrect) side instead. One image is in version 1.14.4 (with an irrelevant mod), and one image is in snapshot 19w40a (without any mods).
Environment
Windows 10 (64-bit), Java 1.8.0_51 (64-bit)
relates to
Windows 10 (64-bit), Java 1.8.0_51 (64-bit)
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 "flat" and "curved" rail template models are completely identical, and therefore redundant, since models referring to one template could always just use the other.
How to reproduce
- Navigate to the game jar's models/block/ directory
- Open rail_flat.json
- Open rail_curved.json
- Notice how these models have no differences from each other aside from in name
How to fix
The resource pack attached fixes a handful of bugs with plane models (where the plane is attached to a block) in general - as many issues as could be found. This redundancy is one of them - both the "normal" and "curved" rail template models are merged into a single "template_floor_plane" model (which also fixes MC-212626). Lily pads are made to use a tinted version of this model (fixing MC-162803), the shading is removed (fixing MC-198311 and possibly MC-234118), and all planes are made to be distance 0.1 from their supporting blocks (fixing MC-155551 and MC-212256). MC-214700 is also fixed on the side as well due to including a plane the same as those in this ticket.
These template models should also help eliminate any future discrepancies like those detailed and also be of use to resource pack creators and modders who can reference them instead of having to create a new template each time.
A resource pack which only fixes this single rail issue can be attached on request, but the mass fix resource pack is recommended.
When you place the lily pad on water, it mirrors the texture from the item texture. This should not mirror the texture at all. This bug was fixed in Java 1.18 Pre-release. (MC-162803)


Can confirm in 21w11a.
Can confirm in 21w13a.
Can confirm in 21w14a.
Can confirm in 21w16a.
Can confirm in 21w17a.
Can confirm in 21w18a.
Can confirm in 21w19a.
Can confirm in 21w20a.
Can confirm in 1.17 Pre-release 1.
Can confirm in 1.17 Pre-release 2.
Can confirm in 1.17 Pre-release 3.
Can confirm in 1.17 and 1.17.1 Pre-release 1.
Can confirm in 1.17.1.
Can confirm in 21w39a.
Confirmed for 21w40a.
Can I request ownership of this issue due to the author having no activity for over 12 months?
Can confirm in 21w42a.
Can confirm in 1.18 Pre-release 1.