mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-28 15:56:02 +00:00
Implemented a generic EntityPlayer.openGui system, and the network backend for it to work on server and client.
This commit is contained in:
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);
|
||||
}
|
||||
Reference in new issue
Block a user