mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-21 12:42:53 +00:00
39 lines
988 B
Java
39 lines
988 B
Java
package binnie.extratrees.gui;
|
|
|
|
import javax.annotation.Nullable;
|
|
|
|
import net.minecraft.entity.player.EntityPlayer;
|
|
import net.minecraft.inventory.IInventory;
|
|
import net.minecraft.world.World;
|
|
|
|
import net.minecraftforge.fml.relauncher.Side;
|
|
|
|
import binnie.core.AbstractMod;
|
|
import binnie.core.gui.minecraft.Window;
|
|
import binnie.extratrees.ExtraTrees;
|
|
|
|
public class WindowSetSquare extends Window {
|
|
public WindowSetSquare(final EntityPlayer player, @Nullable final IInventory inventory, final Side side) {
|
|
super(150, 150, player, inventory, side);
|
|
}
|
|
|
|
public static Window create(final EntityPlayer player, final World world, final int x, final int y, final int z, final Side side) {
|
|
return new WindowSetSquare(player, null, side);
|
|
}
|
|
|
|
@Override
|
|
protected AbstractMod getMod() {
|
|
return ExtraTrees.instance;
|
|
}
|
|
|
|
@Override
|
|
protected String getBackgroundTextureName() {
|
|
// TODO background should not be null
|
|
return null;
|
|
}
|
|
|
|
@Override
|
|
public void initialiseClient() {
|
|
}
|
|
}
|