Hbm-s-Nuclear-Tech-GIT/com/hbm/items/ItemFuelRod.java
2016-01-12 22:56:58 +01:00

102 lines
2.4 KiB
Java

package com.hbm.items;
import java.util.List;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
public class ItemFuelRod extends Item {
@Override
public void addInformation(ItemStack itemstack, EntityPlayer player, List list, boolean bool)
{
list.add("Used in nuclear reactor");
if(this == ModItems.rod_uranium_fuel)
{
list.add("Generates 10 power per tick");
list.add("Generates 1 heat per tick");
list.add("Lasts 10000 ticks");
}
if(this == ModItems.rod_dual_uranium_fuel)
{
list.add("Generates 10 power per tick");
list.add("Generates 1 heat per tick");
list.add("Lasts 20000 ticks");
}
if(this == ModItems.rod_quad_uranium_fuel)
{
list.add("Generates 10 power per tick");
list.add("Generates 1 heat per tick");
list.add("Lasts 40000 ticks");
}
if(this == ModItems.rod_plutonium_fuel)
{
list.add("Generates 15 power per tick");
list.add("Generates 2 heat per tick");
list.add("Lasts 25000 ticks");
}
if(this == ModItems.rod_dual_plutonium_fuel)
{
list.add("Generates 15 power per tick");
list.add("Generates 2 heat per tick");
list.add("Lasts 50000 ticks");
}
if(this == ModItems.rod_quad_plutonium_fuel)
{
list.add("Generates 15 power per tick");
list.add("Generates 2 heat per tick");
list.add("Lasts 100000 ticks");
}
if(this == ModItems.rod_mox_fuel)
{
list.add("Generates 5 power per tick");
list.add("Generates 1 heat per tick");
list.add("Lasts 100000 ticks");
}
if(this == ModItems.rod_dual_mox_fuel)
{
list.add("Generates 5 power per tick");
list.add("Generates 1 heat per tick");
list.add("Lasts 200000 ticks");
}
if(this == ModItems.rod_quad_mox_fuel)
{
list.add("Generates 5 power per tick");
list.add("Generates 1 heat per tick");
list.add("Lasts 400000 ticks");
}
if(this == ModItems.rod_schrabidium_fuel)
{
list.add("Generates 25 power per tick");
list.add("Generates 10 heat per tick");
list.add("Lasts 2500000 ticks");
}
if(this == ModItems.rod_dual_schrabidium_fuel)
{
list.add("Generates 25 power per tick");
list.add("Generates 10 heat per tick");
list.add("Lasts 5000000 ticks");
}
if(this == ModItems.rod_quad_schrabidium_fuel)
{
list.add("Generates 25 power per tick");
list.add("Generates 10 heat per tick");
list.add("Lasts 10000000 ticks");
}
}
}