Jump to content

[1.10.2] The type com.google.common.reflect.TypeToken cannot be resolved.


Messorix

Recommended Posts

I get this error at the most ridiculous times and it seems fully random to me as well.

Right now I'm getting the error on "test" in the constructor

 

package com.messy.core.items;

import net.minecraft.item.Item;

public class ModItem extends Item
{
    public ModItem(String unlocalizedName, String test)
    {
        this.setUnlocalizedName(unlocalizedName);
    }
}

 

Does anyone have a clue on the cause of this?

Link to comment
Share on other sites

Something like this has already been corrected please look here and try what it says down at the bottom.

http://www.minecraftforge.net/forum/index.php?topic=37396.0

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

Link to comment
Share on other sites

Maybe something like this.

C:\Users\User\.gradle\caches\modules-2\files-2.1\com.google.guava\guava\18.0\cce0823396aa693798f8882e64213b1772032b09

And You should see a jar.

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

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