Added tool tip on item lev to say its disabled

This commit is contained in:
Robert S 2014-04-25 00:10:30 -04:00
parent 8aab86ae3a
commit e73d80b982

View file

@ -1,10 +1,14 @@
package resonantinduction.electrical.levitator; package resonantinduction.electrical.levitator;
import java.util.List;
import net.minecraft.entity.player.EntityPlayer; import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack; import net.minecraft.item.ItemStack;
import net.minecraft.util.MathHelper; import net.minecraft.util.MathHelper;
import net.minecraft.world.World; import net.minecraft.world.World;
import resonantinduction.core.prefab.part.IHighlight; import resonantinduction.core.prefab.part.IHighlight;
import calclavia.lib.render.EnumColor;
import calclavia.lib.utility.LanguageUtility;
import codechicken.lib.vec.BlockCoord; import codechicken.lib.vec.BlockCoord;
import codechicken.lib.vec.Vector3; import codechicken.lib.vec.Vector3;
import codechicken.microblock.FacePlacementGrid$; import codechicken.microblock.FacePlacementGrid$;
@ -19,6 +23,14 @@ public class ItemLevitator extends JItemMultiPart implements IHighlight
super(id); super(id);
} }
@Override
@SuppressWarnings("unchecked")
public void addInformation(ItemStack itemstack, EntityPlayer player, List list, boolean par4)
{
list.add("\u00a7cFrom Dev's - Functionality Disabled");
}
@Override @Override
public TMultiPart newPart(ItemStack itemStack, EntityPlayer player, World world, BlockCoord pos, int side, Vector3 hit) public TMultiPart newPart(ItemStack itemStack, EntityPlayer player, World world, BlockCoord pos, int side, Vector3 hit)
{ {