public class ModLoaderGuiHelper extends Object implements IGuiHandler
Modifier and Type | Method and Description |
---|---|
void |
associateId(int additionalID) |
Object |
getClientGuiElement(int ID,
EntityPlayer player,
World world,
int x,
int y,
int z)
Returns a Container to be displayed to the user.
|
Object |
getMod() |
Object |
getServerGuiElement(int ID,
EntityPlayer player,
World world,
int x,
int y,
int z)
Returns a Server side Container to be displayed to the user.
|
void |
injectContainerAndID(Container container,
int ID) |
public Object getServerGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z)
IGuiHandler
getServerGuiElement
in interface IGuiHandler
ID
- The Gui ID Numberplayer
- The player viewing the Guiworld
- The current worldx
- X Positiony
- Y Positionz
- Z Positionpublic Object getClientGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z)
IGuiHandler
getClientGuiElement
in interface IGuiHandler
ID
- The Gui ID Numberplayer
- The player viewing the Guiworld
- The current worldx
- X Positiony
- Y Positionz
- Z Positionpublic void injectContainerAndID(Container container, int ID)
public Object getMod()
public void associateId(int additionalID)