From de9bd446faf7994475d875008fcfb6303b36535c Mon Sep 17 00:00:00 2001 From: Buuz135 Date: Sat, 20 Aug 2022 18:11:06 +0200 Subject: [PATCH] Fixed 1xframed not having a gui texture and compacting framed gui texture being wrong --- build.gradle | 2 +- .../block/tile/CompactingDrawerTile.java | 2 +- .../textures/blocks/framed_front_1.png | Bin 0 -> 3778 bytes 3 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 src/main/resources/assets/functionalstorage/textures/blocks/framed_front_1.png diff --git a/build.gradle b/build.gradle index d7affb1..9f89e27 100644 --- a/build.gradle +++ b/build.gradle @@ -12,7 +12,7 @@ buildscript { apply plugin: 'net.minecraftforge.gradle' group = 'com.buuz135' -version = '1.18.2-1.0.4' +version = '1.18.2-1.0.5' java { archivesBaseName = 'functionalstorage' diff --git a/src/main/java/com/buuz135/functionalstorage/block/tile/CompactingDrawerTile.java b/src/main/java/com/buuz135/functionalstorage/block/tile/CompactingDrawerTile.java index 4cc51d7..b9bc028 100644 --- a/src/main/java/com/buuz135/functionalstorage/block/tile/CompactingDrawerTile.java +++ b/src/main/java/com/buuz135/functionalstorage/block/tile/CompactingDrawerTile.java @@ -78,7 +78,7 @@ public class CompactingDrawerTile extends ControllableDrawerTile new DrawerInfoGuiAddon(64, 16, - new ResourceLocation(FunctionalStorage.MOD_ID, "textures/blocks/compacting_drawer_front.png"), + new ResourceLocation(FunctionalStorage.MOD_ID, this instanceof CompactingFramedDrawerTile ? "textures/blocks/framed_front_compacting.png" : "textures/blocks/compacting_drawer_front.png"), 3, integer -> { if (integer == 0) return Pair.of(28, 28); diff --git a/src/main/resources/assets/functionalstorage/textures/blocks/framed_front_1.png b/src/main/resources/assets/functionalstorage/textures/blocks/framed_front_1.png new file mode 100644 index 0000000000000000000000000000000000000000..26a2762e36750004870e9062c7f0089cdd62ac52 GIT binary patch literal 3778 zcmcIndyE}b9lrgiErkY1O*Ha{!>kVsd+wY$bLL4e&9=AgZqwV=-L2ilKkS(^XLhH( zcV;>>yL-2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