Jump to content

[1.8] Using Item methods on blocks?


GameSlayar

Recommended Posts

Okay, so maybe I'm just being a complete derp, but I'd like to add a tooltip to my block:

@Override
@SideOnly(Side.CLIENT)
public void addInformation(ItemStack stack, EntityPlayer playerIn, List tooltip, boolean advanced) {
	tooltip.add("§oIs §othat.. §ocoal §odust?");
}

And I can't override this method because it belongs to

#Item

and my class is currently extending

#Block

. Do I have to create a special class in

[mod].items

and somehow use that?

GameSlayar

Forgive my noobiness!

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.