Started by
egree
on
Topic category: Help with MCreator software
I know that adding tool descriptions is a feature that might get added in the future but I was wondering if there is a current up-to-date way to manually add tool descriptions in the code. I saw a method from 2017 but it's giving me compiling errors. Any images would be insanely helpful as well.
you can already add them, and it supports minecraft color code too.
I see that for regular items but not for tools.
what version do you use?
2019.5 has it.
2019.5. Here's a picture - https://i.imgur.com/co0ERfM.png
You can see there's no description area like there is for standard items.
oof.
I remenber that 1.9.1 has it.
Try blocking hte mod element so mcreator don't revert it then add this imports there is no need to do so if they are already there
----------------------------------------------
import net.minecraft.world.World;
import net.minecraft.item.ItemStack;
import net.minecraft.client.util.ITooltipFlag;
import java.util.List;
----------------------------------------------
then add the following lines
----------------------------------------------
@SideOnly(Side.CLIENT)
@Override
public void addInformation(ItemStack itemstack, World world, List<String> list, ITooltipFlag flag) {
super.addInformation(itemstack, world, list, flag);
list.add("YOUR TEXT HERE");
No you don't need that the tool description is on the second page
Don't work for me =(
what version r u using?