YATS/Forge Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
YATS.util.GuiHandler Class Reference
Inheritance diagram for YATS.util.GuiHandler:
cpw.mods.fml.common.network.IGuiHandler

Public Member Functions

Object getServerGuiElement (int ID, EntityPlayer player, World world, int x, int y, int z)
 
Object getClientGuiElement (int ID, EntityPlayer player, World world, int x, int y, int z)
 

Member Function Documentation

Object YATS.util.GuiHandler.getClientGuiElement ( int  ID,
EntityPlayer  player,
World  world,
int  x,
int  y,
int  z 
)

Returns a Container to be displayed to the user. On the client side, this needs to return a instance of GuiScreen On the server side, this needs to return a instance of Container

Parameters
IDThe Gui ID Number
playerThe player viewing the Gui
worldThe current world
xX Position
yY Position
zZ Position
Returns
A GuiScreen/Container to be displayed to the user, null if none.

Implements cpw.mods.fml.common.network.IGuiHandler.

Object YATS.util.GuiHandler.getServerGuiElement ( int  ID,
EntityPlayer  player,
World  world,
int  x,
int  y,
int  z 
)

Returns a Server side Container to be displayed to the user.

Parameters
IDThe Gui ID Number
playerThe player viewing the Gui
worldThe current world
xX Position
yY Position
zZ Position
Returns
A GuiScreen/Container to be displayed to the user, null if none.

Implements cpw.mods.fml.common.network.IGuiHandler.


The documentation for this class was generated from the following file: