mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
24 lines
608 B
Java
24 lines
608 B
Java
package com.hbm.items.tool;
|
|
|
|
import com.hbm.items.ModItems;
|
|
import com.hbm.items.special.ItemRadioactive;
|
|
import com.hbm.main.MainRegistry;
|
|
|
|
import net.minecraft.entity.player.EntityPlayer;
|
|
import net.minecraft.inventory.IInventory;
|
|
import net.minecraft.item.Item;
|
|
import net.minecraft.item.ItemStack;
|
|
import net.minecraft.world.World;
|
|
|
|
public class ItemLeadBox extends Item {
|
|
|
|
@Override
|
|
public ItemStack onItemRightClick(ItemStack stack, World world, EntityPlayer player) {
|
|
|
|
if(world.isRemote)
|
|
player.openGui(MainRegistry.instance, ModItems.guiID_item_box, world, 0, 0, 0);
|
|
|
|
return stack;
|
|
}
|
|
}
|