Fixed 1xframed not having a gui texture and compacting framed gui texture being wrong
This commit is contained in:
parent
465d939d60
commit
de9bd446fa
|
@ -12,7 +12,7 @@ buildscript {
|
||||||
apply plugin: 'net.minecraftforge.gradle'
|
apply plugin: 'net.minecraftforge.gradle'
|
||||||
|
|
||||||
group = 'com.buuz135'
|
group = 'com.buuz135'
|
||||||
version = '1.18.2-1.0.4'
|
version = '1.18.2-1.0.5'
|
||||||
|
|
||||||
java {
|
java {
|
||||||
archivesBaseName = 'functionalstorage'
|
archivesBaseName = 'functionalstorage'
|
||||||
|
|
|
@ -78,7 +78,7 @@ public class CompactingDrawerTile extends ControllableDrawerTile<CompactingDrawe
|
||||||
public void initClient() {
|
public void initClient() {
|
||||||
super.initClient();
|
super.initClient();
|
||||||
addGuiAddonFactory(() -> new DrawerInfoGuiAddon(64, 16,
|
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,
|
3,
|
||||||
integer -> {
|
integer -> {
|
||||||
if (integer == 0) return Pair.of(28, 28);
|
if (integer == 0) return Pair.of(28, 28);
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 3.7 KiB |
Loading…
Reference in New Issue
Block a user