<commit_before>package net.mcft.copy.betterstorage.client;

import org.lwjgl.opengl.GL11;

import cpw.mods.fml.common.Side;
import cpw.mods.fml.common.asm.SideOnly;

import net.mcft.copy.betterstorage.Constants;
import net.mcft.copy.betterstorage.blocks.ContainerReinforcedChest;
import net.minecraft.src.EntityPlayer;
import net.minecraft.src.GuiContainer;
import net.minecraft.src.IInventory;
import net.minecraft.src.StatCollector;
import net.minecraft.src.Tessellator;

@SideOnly(Side.CLIENT)
public class GuiReinforcedChest extends GuiContainer {
	
	// TODO: Add support for custom column / row sizes.
	
	private final static int fullWidth = 98;
	private final static int fullHeight = 258;
	
	private String name;
	private int columns, rows;
	
	public GuiReinforcedChest(EntityPlayer player, int columns, int rows, IInventory inventory) {
		super(new ContainerReinforcedChest(player, columns, rows, inventory));
		this.name = inventory.getInvName();
		this.columns = columns;
		this.rows = rows;
		xSize = 14 + columns * 18;<commit_msg>Expose GuiReinforcedChest column and row amount<commit_after>package net.mcft.copy.betterstorage.client;

import org.lwjgl.opengl.GL11;

import cpw.mods.fml.common.Side;
import cpw.mods.fml.common.asm.SideOnly;

import net.mcft.copy.betterstorage.Constants;
import net.mcft.copy.betterstorage.blocks.ContainerReinforcedChest;
import net.minecraft.src.EntityPlayer;
import net.minecraft.src.GuiContainer;
import net.minecraft.src.IInventory;
import net.minecraft.src.StatCollector;
import net.minecraft.src.Tessellator;

@SideOnly(Side.CLIENT)
public class GuiReinforcedChest extends GuiContainer {
	
	// TODO: Add support for custom column / row sizes.
	
	private final static int fullWidth = 98;
	private final static int fullHeight = 258;
	
	private String name;
	private int columns, rows;
	
	public int getColumns() { return columns; }
	public int getRows() { return rows; }
	
	public GuiReinforcedChest(EntityPlayer player, int columns, int rows, IInventory inventory) {
		super(new ContainerReinforcedChest(player, columns, rows, inventory));
		this.name = inventory.getInvName();
		this.columns = columns;
		this.rows = rows;
		xSize = 14 + columns * 18;
{'fraction_non_alphanumeric': 0.09627611262488647, 'fraction_numerical': 0.009990917347865577, 'mean_word_length': 5.153631284916201, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '6613577', 'n_tokens_mistral': 747, 'n_tokens_neox': 703, 'n_words': 172}