Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.kenjinful.main.handler;
- import com.kenjinful.main.gui.CATGUI;
- import net.minecraft.entity.player.EntityPlayer;
- import net.minecraft.world.World;
- import net.minecraftforge.fml.common.network.IGuiHandler;
- public class GUIHandler implements IGuiHandler {
- public static final int CAT_GUI = 0;
- @Override
- public Object getServerGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z) {
- return null;
- }
- @Override
- public Object getClientGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z) {
- if (ID == CAT_GUI) {
- return new CATGUI();
- }
- return null;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement