From b9267ecbfc654b2f6e87d7cf1cb806fe90e25d85 Mon Sep 17 00:00:00 2001 From: Jonathan Coates Date: Sat, 1 Mar 2025 22:24:27 +0000 Subject: [PATCH] Resize lectern pocket computer textures This bumps them to be 48x48, which allows them to be downscaled to a mipmap level of 4. We possibly should bump these to be 64x64 (actual power of two), but I kinda want to avoid that, as it's so much wasted space. If this does become a problem, we should probably put these on a separate atlas instead. --- .../client/model/LecternPocketModel.java | 4 ++-- .../entity/pocket_computer_advanced.png | Bin 152 -> 155 bytes .../textures/entity/pocket_computer_colour.png | Bin 179 -> 140 bytes .../textures/entity/pocket_computer_frame.png | Bin 119 -> 120 bytes .../textures/entity/pocket_computer_light.png | Bin 92 -> 96 bytes .../textures/entity/pocket_computer_normal.png | Bin 152 -> 155 bytes 6 files changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/common/src/client/java/dan200/computercraft/client/model/LecternPocketModel.java b/projects/common/src/client/java/dan200/computercraft/client/model/LecternPocketModel.java index 0b81bc291..6e8f174a2 100644 --- a/projects/common/src/client/java/dan200/computercraft/client/model/LecternPocketModel.java +++ b/projects/common/src/client/java/dan200/computercraft/client/model/LecternPocketModel.java @@ -47,8 +47,8 @@ public class LecternPocketModel { public static final float TERM_HEIGHT = 14.0f / 32.0f; // The size of the texture. The texture is 36x36, but is at 2x resolution. - private static final int TEXTURE_WIDTH = 36 / 2; - private static final int TEXTURE_HEIGHT = 36 / 2; + private static final int TEXTURE_WIDTH = 48 / 2; + private static final int TEXTURE_HEIGHT = 48 / 2; private final ModelPart root; diff --git a/projects/common/src/main/resources/assets/computercraft/textures/entity/pocket_computer_advanced.png b/projects/common/src/main/resources/assets/computercraft/textures/entity/pocket_computer_advanced.png index b8b6b40d0e8c575758be7dca4c6d32f707a25543..9096b84015ad3839a23ba5ca7afb10c179a2b1d9 100644 GIT binary patch delta 124 zcmbQiIGa(iGr-TCmrII^fq{Y7)59f*fq}sQgqfHb7#Os21Vtt)Y6RJOx;TbtOiWH- zXbNCcF*stm(1795mH+?$oB#R$|9|*HnYt9dE}jX;o}{de+G@n(;V-*pPUz||-=iPC cDX=koTNA#6Vd*0~1_lNOPgg&ebxsLQ0IS3*f&c&j delta 121 zcmbQuID=8KGr-TCmrII^fq{Y7)59f*fq_8v{f)bO|Rba4!k2v1I6 zXbNDHkf>P`Ad#@*|NsB_KmPy!zuqb0Pl1>d&kDJjQ@3VaJ!PPf{mNlO*xD#l(T7zG Z6Zyk;^gRFD&cMLH;OXk;vd$@?2>?VYDYyUt diff --git a/projects/common/src/main/resources/assets/computercraft/textures/entity/pocket_computer_colour.png b/projects/common/src/main/resources/assets/computercraft/textures/entity/pocket_computer_colour.png index 23e57787bd1c785e839a99907f1e9e793e2f9e1c..2d236d3f318b63361b361aed2529fe3d3c2e5a9b 100644 GIT binary patch literal 140 zcmeAS@N?(olHy`uVBq!ia0y~yU@!n-CT0c(2CW=H5e5bZ&H$efR|W=#r%#{$|NsBU z!98va3=E7VL4Lsu4$p3+F)%O~db&7J7G?$p24TI{)eH;_`~f~8t_%zePoF;h|NlRP zT*T1`21Pr(7?HS zf&z<9hN2VO;V6z{4ogfd b7#KR|Ikz)j+M~|Ez`)??>gTe~DWM4fYv4CL diff --git a/projects/common/src/main/resources/assets/computercraft/textures/entity/pocket_computer_frame.png b/projects/common/src/main/resources/assets/computercraft/textures/entity/pocket_computer_frame.png index 8362bf8bb40721fd36d06e4daecdf1e9ac6c6ac3..4f52772d8c6547a5ccec26a5794d857ecad82f8a 100644 GIT binary patch delta 93 zcmXS~Q0xrwbLZuf;$mQ6;Pv!y31VPiFaTjjW(Ed^+%wrnCMqhKDtNj$hDd}bCnWqh vz`$0r=pQrVgo_7$G%QRwps_+ZgMmRw*0TFZWBqjo1_lOCS3j3^P6}_nv*m+n>ln$CPFYgr+AsP4HUNGckVBlch w@Y9_4d>qe&FehOK28MYvj2Iah7#I#@GM;c||Jg0cYy;wYy85}Sb4q9e0Lmj4jsO4v literal 92 zcmeAS@N?(olHy`uVBq!ia0y~yU{C>J4mJh`hKCF@W-u@?D0{j%hD02Gd%=*Gfq{d0 u!%uVG^Ckro!kmN|7%WUvnHU~)vToyI|M^d}*Oh^Rfx*+&&t;ucLK6Uzj~5>R diff --git a/projects/common/src/main/resources/assets/computercraft/textures/entity/pocket_computer_normal.png b/projects/common/src/main/resources/assets/computercraft/textures/entity/pocket_computer_normal.png index 5102383aadf421cc739be328e0ea913733c5df2a..20dff3ff33d71e841963a4ccbd9ebc400040b01a 100644 GIT binary patch delta 124 zcmbQiIGa(iGr-TCmrII^fq{Y7)59f*fq}sQgqfHb7#Os21Vtt)Y6RJOx;TbtOiWH- zXbNCcF*stm(1795mH+?$oB#R$|9|*HnYt9dE}jX;o}{de+G@n(;V-*pPUz||-=iPC cDX=koTNA#6Vd*0~1_lNOPgg&ebxsLQ0IS3*f&c&j delta 121 zcmbQuID=8KGr-TCmrII^fq{Y7)59f*fq_8v{f)bO|Rba4!k2v1I6 zXbNDHkf>P`Ad#@*|NsB_KmPy!zuqb0Pl1>d&kDJjQ@3VaJ!PPf{mNlO*xD#l(T7zG Z6Zyk;^gRFD&cMLH;OXk;vd$@?2>?VYDYyUt