mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-21 04:32:23 +00:00
38 lines
1.0 KiB
Java
38 lines
1.0 KiB
Java
/**
|
|
* This class was created by <Vazkii>. It's distributed as
|
|
* part of the Botania Mod. Get the Source Code in github:
|
|
* https://github.com/Vazkii/Botania
|
|
*
|
|
* Botania is Open Source and distributed under a
|
|
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
|
|
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
|
|
*
|
|
* File Created @ [Jan 14, 2014, 6:50:15 PM (GMT)]
|
|
*/
|
|
package vazkii.botania.common.network;
|
|
|
|
import net.minecraft.entity.player.EntityPlayer;
|
|
import net.minecraft.world.World;
|
|
import vazkii.botania.client.gui.GuiLexicon;
|
|
import vazkii.botania.common.lib.LibGuiIDs;
|
|
import cpw.mods.fml.common.network.IGuiHandler;
|
|
|
|
public class GuiHandler implements IGuiHandler {
|
|
|
|
@Override
|
|
public Object getServerGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z) {
|
|
return null;
|
|
}
|
|
|
|
@Override
|
|
public Object getClientGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z) {
|
|
switch(ID) {
|
|
case LibGuiIDs.LEXICON :
|
|
return new GuiLexicon();
|
|
}
|
|
|
|
return null;
|
|
}
|
|
|
|
}
|