Implemented a generic EntityPlayer.openGui system, and the network backend for it to work on server and client.

This commit is contained in:
LexManos committed 2012-02-20 23:56:01 -08:00
1 parent a6f93ed528
commit 54ec1567b2
10 files changed
+271 -6

No files matched your search

@@ -0,0 +1,21 @@
package net.minecraft.src.forge;
import net.minecraft.src.Container;
import net.minecraft.src.EntityPlayerMP;
import net.minecraft.src.World;
public interface IGuiHandler
{
/**
* Returns a Container to be displayed to the user. This is server side
*
* @param ID The Gui ID Number
* @param player The player viewing the Gui
* @param world The current world
* @param X X Position
* @param Y Y Position
* @param Z Z Position
* @return A GuiScreen to be displayed to the user, null if none.
*/
public Container getGuiContainer(int ID, EntityPlayerMP player, World world, int X, int Y, int Z);
}