mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
23 lines
542 B
Java
23 lines
542 B
Java
package com.hbm.items.tool;
|
|
|
|
import com.hbm.util.ContaminationUtil;
|
|
|
|
import net.minecraft.entity.player.EntityPlayer;
|
|
import net.minecraft.item.Item;
|
|
import net.minecraft.item.ItemStack;
|
|
import net.minecraft.world.World;
|
|
|
|
public class ItemDigammaDiagnostic extends Item {
|
|
|
|
@Override
|
|
public ItemStack onItemRightClick(ItemStack stack, World world, EntityPlayer player) {
|
|
|
|
if(!world.isRemote) {
|
|
world.playSoundAtEntity(player, "hbm:item.techBoop", 1.0F, 1.0F);
|
|
ContaminationUtil.printDiagnosticData(player);
|
|
}
|
|
|
|
return stack;
|
|
}
|
|
}
|