Jump to content

Carbon

Members
  • Posts

    3
  • Joined

  • Last visited

Carbon's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. I'm aware of that - Thank you. But is hard to understand the procedure with wrong function naming Is there a list of changed things? I'm working by a really recent tutorial. Instead of removing the old function right away, maybe keep it and mark it as depreciation. Best wishes 😷
  2. Hello ladies and gentlemen ! I've recently started with Minecraft Modding - Moved from C#. And ran into several issues. One of them is what I stated in the title. About my setup MDK: forge-1.16.5-36.1.0-mdk IDE: IntelliJ IDEA 2020 Minecraft: obviously 1.16.5 package com.example.examplemod.common.items; import ...; public class ItemTest extends Item { public ItemTest(Properties properties) { super(properties); } // ERROR Method does not override method from its superclass @Override public void addInformation(ItemStack stack, World worldIn, List<ITextComponent> tooltip, ITooltipFlag flagIn) { // ERROR Cannot resolve method 'addInformation' in 'Item' super.addInformation(stack, worldIn, tooltip, flagIn); tooltip.add(new StringTextComponent("Example tooltip")); } } I checked the Source Code, surprisingly addInformation doesn't exist? What is the alternative for that? I've only found a getter for Tooltip Best regards, Carbon.
×
×
  • Create New...

Important Information

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