Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Override
- public void addInformation(ItemStack stack, EntityPlayer playerIn, List tooltip, boolean advanced)
- {
- if(stack != null)
- {
- String quality = ((ToolTypes.ToolType) owner.getVariant(this, stack.getMetadata())).quality.getUnlocalizedName();
- if (quality != null)
- {
- tooltip.add(quality);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement