package info.u_team.u_team_test.screen;

import info.u_team.u_team_core.gui.UContainerScreen;
import info.u_team.u_team_test.TestMod;
import info.u_team.u_team_test.container.BasicFluidInventoryContainer;
import net.minecraft.entity.player.PlayerInventory;
import net.minecraft.util.ResourceLocation;
import net.minecraft.util.text.ITextComponent;

public class BasicFluidInventoryScreen extends UContainerScreen<BasicFluidInventoryContainer> {
	
	public BasicFluidInventoryScreen(BasicFluidInventoryContainer container, PlayerInventory playerInventory, ITextComponent title) {
		super(container, playerInventory, title, new ResourceLocation(TestMod.MODID, "textures/gui/fluid_inventory.png"));
	}
	
	@Override
	public void render(int mouseX, int mouseY, float partialTicks) {
		renderBackground();
		super.render(mouseX, mouseY, partialTicks);
		buttons.forEach(button -> button.renderToolTip(mouseX, mouseY));
		renderHoveredToolTip(mouseX, mouseY);
	}
	
	@Override
	protected void drawGuiContainerForegroundLayer(int mouseX, int mouseY) {
		super.drawGuiContainerForegroundLayer(mouseX, mouseY);
		font.drawString(title.getFormattedText(), 8, 6, 4210752);
		font.drawString(playerInventory.getDisplayName().getFormattedText(), 8, ySize - 94, 4210752);
	}
	
}

@@ -34,16 +34,63 @@
 creen;%0A%0A
+import com.mojang.blaze3d.matrix.MatrixStack;%0A%0A
 import i
@@ -764,23 +764,56 @@
 ic void 
-render(
+func_230430_a_(MatrixStack matrixStack, 
 int mous
@@ -856,43 +856,73 @@
 %7B%0A%09%09
-renderBackground();%0A%09%09super.render(
+func_230446_a_(matrixStack);%0A%09%09super.func_230430_a_(matrixStack, 
 mous
@@ -950,16 +950,18 @@
 cks);%0A%09%09
+//
 buttons.
@@ -1020,32 +1020,57 @@
 Y));
-%0A%09%09renderHoveredToolTip(
+ TODO nessessary??%0A%09%09func_230459_a_(matrixStack, 
 mous
@@ -1079,32 +1079,34 @@
 , mouseY);%0A%09%7D%0A%09%0A
+//
 %09@Override%0A%09prot
@@ -1100,16 +1100,18 @@
 verride%0A
+//
 %09protect
@@ -1172,24 +1172,26 @@
 t mouseY) %7B%0A
+//
 %09%09super.draw
@@ -1235,16 +1235,18 @@
 ouseY);%0A
+//
 %09%09font.d
@@ -1297,16 +1297,18 @@
 10752);%0A
+//
 %09%09font.d
@@ -1395,15 +1395,17 @@
 10752);%0A
+//
 %09%7D%0A%09%0A%7D%0A

Update basic fluid inventory screen to fix the names