summaryrefslogtreecommitdiff
path: root/src/main/java/lv/enes/mc/eris_alchemy/client/AlchemicalChestScreen.java
blob: 0e0f029e12e2157dea957f80d8aaa406b7cb15da (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
package lv.enes.mc.eris_alchemy.client;

import lv.enes.mc.eris_alchemy.ErisAlchemy;
import lv.enes.mc.eris_alchemy.menu.AlchemicalChestMenu;
import net.minecraft.network.chat.Component;
import net.minecraft.resources.ResourceLocation;
import net.minecraft.world.entity.player.Inventory;

public class AlchemicalChestScreen extends ChestLikeScreen<AlchemicalChestMenu> {
	public static final ResourceLocation TEXTURE =
			new ResourceLocation(ErisAlchemy.ID, "textures/gui/container/alchemical_chest.png");

	public static final int TEXTURE_WIDTH = 248;
	public static final int TEXTURE_HEIGHT = 237;

	public AlchemicalChestScreen(AlchemicalChestMenu menu, Inventory inventory, Component title) {
		super(menu, inventory, title);
	}

	@Override
	protected ResourceLocation getTexture() {
		return TEXTURE;
	}

	@Override
	protected int getTextureWidth() {
		return TEXTURE_WIDTH;
	}

	@Override
	protected int getTextureHeight() {
		return TEXTURE_HEIGHT;
	}

	@Override
	protected boolean shouldRenderLabels() {
		return false;
	}
}