Fixed 1xframed not having a gui texture and compacting framed gui texture being wrong

This commit is contained in:
Buuz135 2022-08-20 18:11:06 +02:00
parent 465d939d60
commit de9bd446fa
3 changed files with 2 additions and 2 deletions

View File

@ -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'

View File

@ -78,7 +78,7 @@ public class CompactingDrawerTile extends ControllableDrawerTile<CompactingDrawe
public void initClient() {
super.initClient();
addGuiAddonFactory(() -> 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);

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB