package info.u_team.u_team_core.gui.render;

import net.minecraft.client.Minecraft;
import net.minecraft.client.renderer.texture.TextureAtlasSprite;
import net.minecraft.inventory.container.PlayerContainer;
import net.minecraft.util.ResourceLocation;
import net.minecraftforge.fluids.FluidStack;

public class FluidInventoryRender {
	
	private static final ResourceLocation ATLAS = PlayerContainer.LOCATION_BLOCKS_TEXTURE;
	
}

@@ -418,10 +418,225 @@
 TURE;%0A%09%0A
+%09private static TextureAtlasSprite getFluidSprite(FluidStack fluidStack) %7B%0A%09%09return Minecraft.getInstance().getAtlasSpriteGetter(ATLAS).apply(fluidStack.getFluid().getAttributes().getStillTexture(fluidStack));%0A%09%7D%0A%09%0A
 %7D%0A

Add method to get the fluid sprite of a fluid stack