Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int i, float a, float b, float c) {
- if( !(player instanceof EntityPlayerMP) )
- ModLoader.openGUI((EntityPlayerSP)player, new YourGUI([constructor args]));
- else
- ModLoader.serverOpenWindow((EntityPlayerMP)player, new YourGUIsContainer([constructor args]), YourGUIsID, x, y, z );
- return true;
- }
Add Comment
Please, Sign In to add comment