[MC-8522] Pushing a button makes the button side textures look wrong Created: 27/Jan/13 Updated: 23/Jun/21 Resolved: 29/Oct/15 |
|
| Status: | Resolved |
| Project: | Minecraft: Java Edition |
| Component/s: | None |
| Affects Version/s: | Minecraft 1.4.7, Snapshot 13w04a, Minecraft 1.5, Snapshot 13w11a, Minecraft 1.7.4, Minecraft 14w08a, Minecraft 14w18b, Minecraft 1.8, Minecraft 1.8.1-pre3, Minecraft 1.8.8, Minecraft 15w41b, Minecraft 15w44a |
| Fix Version/s: | Minecraft 15w44b |
| Type: | Bug | ||
| Reporter: | John Hughes | Assignee: | [Mojang] Grum (Erik Broes) |
| Resolution: | Fixed | Votes: | 4 |
| Labels: | button, rendering, texture | ||
| Attachments: |
|
||||||||||||||||||||
| Issue Links: |
|
||||||||||||||||||||
| CHK: | |||||||||||||||||||||
| Confirmation Status: | Confirmed | ||||||||||||||||||||
| Description |
|
When pushing a button, the sides of it look like the button was squashed instead of being pushed into the wall. Mod note: Fix from Button not pressed the textures are: "north": { "uv": [ 5, 14, 11, 16 ], "texture": "#texture" }, "south": { "uv": [ 5, 14, 11, 16 ], "texture": "#texture" }, "west": { "uv": [ 6, 14, 10, 16 ], "texture": "#texture" }, "east": { "uv": [ 6, 14, 10, 16 ], "texture": "#texture" } However when pressed they change to: "north": { "uv": [ 5, 15, 11, 16 ], "texture": "#texture" }, "south": { "uv": [ 5, 15, 11, 16 ], "texture": "#texture" }, "west": { "uv": [ 6, 15, 10, 16 ], "texture": "#texture" }, "east": { "uv": [ 6, 15, 10, 16 ], "texture": "#texture" } This causes the impression the button is pressed but the texture has jumped, the front sides of the button changes to the back sides texture when it's pressed. Example: Wall, back px 1, front px 2, Air The fix is to change the texture on the pressed button to: "north": { "uv": [ 5, 14, 11, 15 ], "texture": "#texture" }, "south": { "uv": [ 5, 14, 11, 15 ], "texture": "#texture" }, "west": { "uv": [ 6, 14, 10, 15 ], "texture": "#texture" }, "east": { "uv": [ 6, 14, 10, 15 ], "texture": "#texture" } And the front edge texture moves towards the wall when the button is pressed and out as the button returns to normal. Hope this is a simple bug to fix... (See attached button_pressed.json In time order, The original has the near block texture jumping forward to remain visible, whereas with this suggested fix, it looks like the button actually moves as the near block texture seems to go into the block. Just added a Resource Pack version of my fix, called Button Hotfix.zip |
| Comments |
| Comment by John Hughes [ 30/Oct/15 ] |
|
Ok, thanks. |
| Comment by [Mod] redstonehelper [ 30/Oct/15 ] |
|
There are plenty of resource packs out there that change vanilla models/textures, I think you'll be fine. |
| Comment by John Hughes [ 30/Oct/15 ] |
|
button_pressed.json The only reason I attached Button Hotfix.zip |
| Comment by [Mod] redstonehelper [ 30/Oct/15 ] |
|
You want to distribute a resource pack containing your own model? Of course you can do that. |
| Comment by John Hughes [ 30/Oct/15 ] |
|
Excuse me, grum |
| Comment by Swekob [ 29/Oct/15 ] |
|
Confirmed for 15w44a. |
| Comment by John Hughes [ 26/Oct/15 ] |
|
Missing comment imported from |
| Comment by John Hughes [ 13/Oct/15 ] |
|
Sorry, preview button was missing as it was being treated as an advert and blocked, fixed now. |
| Comment by [Mod] redstonehelper [ 13/Oct/15 ] |
|
Please use the preview button instead of saving edits so frequently. Thank you. |
| Comment by John Hughes [ 13/Oct/15 ] |
|
Thanks Kumasasa. |
| Comment by Kumasasa [ 13/Oct/15 ] |
|
Giving this ticket to Coolio_Wolfus since reporter seems to be inactive. |
| Comment by Itouch2 [ 07/May/14 ] |
|
Confirmed for 14w18b. |
| Comment by Kumasasa [ 06/Feb/13 ] |
|
Confirmed. |
| Comment by Evan McClane [ 27/Jan/13 ] |
|
It just seems like the model is one unit smaller, so only one row of pixels of the side texture is rendered. |