Guest User

Untitled

a guest
Jun 16th, 2014
42
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public class GuiHandlerQuest implements IGuiHandler
  2. {
  3.    
  4.     public GuiHandlerQuest(KeyBinding[] key, boolean[] repeat) {
  5.     }  
  6.  
  7.     @Override
  8.     public Object getServerGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z)
  9.     {
  10.         return null;
  11.     }
  12.  
  13.     @Override
  14.     public Object getClientGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z)
  15.     {
  16.         switch(ID)
  17.         {
  18.         case 1:
  19.             return new GuiQuestPlayerEN();
  20.         case 2:
  21.             return new GuiQuestAdminEN();
  22.         case 3:
  23.             return new GuiQuestPlayerFR();
  24.         case 4 :
  25.             return new GuiQuestAdminFR();
  26.         default:
  27.             return null;
  28.         }
  29.     }
  30.  
  31. }
RAW Paste Data