mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
102 lines
2.4 KiB
Java
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");
|
|
}
|
|
}
|
|
|
|
}
|