mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
36 lines
957 B
Java
36 lines
957 B
Java
package com.hbm.items.tool;
|
|
|
|
import java.util.List;
|
|
|
|
import com.hbm.items.ModItems;
|
|
import com.hbm.main.MainRegistry;
|
|
|
|
import net.minecraft.entity.player.EntityPlayer;
|
|
import net.minecraft.item.Item;
|
|
import net.minecraft.item.ItemStack;
|
|
import net.minecraft.world.World;
|
|
import net.minecraftforge.common.MinecraftForge;
|
|
import net.minecraftforge.event.entity.player.ArrowNockEvent;
|
|
|
|
public class ItemTemplateFolder extends Item {
|
|
|
|
@Override
|
|
public ItemStack onItemRightClick(ItemStack stack, World world, EntityPlayer player) {
|
|
|
|
if(world.isRemote)
|
|
player.openGui(MainRegistry.instance, ModItems.guiID_item_folder, world, 0, 0, 0);
|
|
|
|
return stack;
|
|
}
|
|
|
|
@Override
|
|
public void addInformation(ItemStack stack, EntityPlayer player, List list, boolean bool)
|
|
{
|
|
list.add("Machine Templates: Paper + Dye");
|
|
list.add("Fluid IDs: Iron Plate + Dye");
|
|
list.add("Press Stamps: Flat Stamp");
|
|
list.add("Siren Tracks: Insulator + Steel Plate");
|
|
}
|
|
|
|
}
|