<commit_before>package ru.liahim.saltmod.extractor;

import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;

import net.minecraft.client.gui.FontRenderer;
import net.minecraft.client.gui.GuiButton;
import net.minecraft.client.gui.inventory.GuiContainer;
import net.minecraft.client.renderer.RenderHelper;
import net.minecraft.client.renderer.texture.TextureMap;
import net.minecraft.client.resources.I18n;
import net.minecraft.entity.player.InventoryPlayer;
import net.minecraft.util.IIcon;
import net.minecraft.util.ResourceLocation;
import net.minecraftforge.fluids.Fluid;
import net.minecraftforge.fluids.FluidStack;

import org.lwjgl.opengl.GL11;
import org.lwjgl.opengl.GL12;

import ru.liahim.saltmod.common.CommonProxy;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;

@SideOnly(Side.CLIENT)
public class GuiExtractor extends GuiContainer
{
    private static final ResourceLocation guiTextures = new ResourceLocation("saltmod:textures/gui/container/extraktor.png");
    private TileEntityExtractor te;
    private GuiExtractorButton button;
    
    public GuiExtractor(InventoryPlayer player, TileEntityExtractor tileEntity)
    {
        super(new ContainerExtractor(player, tileEntity));
        this.te = tileEntity;
    }
    
    @Override
    public void initGui()
    {
    	super.initGui();
    	buttonList.add(this.button = new GuiExtractorButton(this.guiTextures, 1, this.guiLeft + 97, this.guiTop + 16));
    	this.button.enabled = false;
    }
    
    @Override
	public void updateScreen()
	{
		super.updateScreen();
		this.button.enabled = this.te.liquidLevel > 0;<commit_msg>Update GuiExtractor.java<commit_after>package ru.liahim.saltmod.extractor;

import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;

import net.minecraft.client.gui.FontRenderer;
import net.minecraft.client.gui.GuiButton;
import net.minecraft.client.gui.inventory.GuiContainer;
import net.minecraft.client.renderer.RenderHelper;
import net.minecraft.client.renderer.texture.TextureMap;
import net.minecraft.client.resources.I18n;
import net.minecraft.entity.player.InventoryPlayer;
import net.minecraft.util.IIcon;
import net.minecraft.util.ResourceLocation;
import net.minecraftforge.fluids.Fluid;
import net.minecraftforge.fluids.FluidStack;

import org.lwjgl.opengl.GL11;
import org.lwjgl.opengl.GL12;

import ru.liahim.saltmod.common.CommonProxy;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;

@SideOnly(Side.CLIENT)
public class GuiExtractor extends GuiContainer
{
    private static final ResourceLocation guiTextures = new ResourceLocation("saltmod:textures/gui/container/extractor.png");
    private TileEntityExtractor te;
    private GuiExtractorButton button;
    
    public GuiExtractor(InventoryPlayer player, TileEntityExtractor tileEntity)
    {
        super(new ContainerExtractor(player, tileEntity));
        this.te = tileEntity;
    }
    
    @Override
    public void initGui()
    {
    	super.initGui();
    	buttonList.add(this.button = new GuiExtractorButton(this.guiTextures, 1, this.guiLeft + 97, this.guiTop + 16));
    	this.button.enabled = false;
    }
    
    @Override
	public void updateScreen()
	{
		super.updateScreen();
		this.button.enabled = this.te.liquidLevel > 0;
{'fraction_non_alphanumeric': 0.10165912518853695, 'fraction_numerical': 0.007239819004524887, 'mean_word_length': 4.61082910321489, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5707428', 'n_tokens_mistral': 1092, 'n_tokens_neox': 1078, 'n_words': 184}