mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-21 12:42:53 +00:00
Refactoring some Gui Classes
This commit is contained in:
1 parent
2b54db9342
commit
065d795622
46 files changed
+204
-202
No files matched your search
@@ -0,0 +1,38 @@
|
||||
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() {
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user