I'm getting a million errors in my ModItems class it is giving me the errors that are just a red circle with a white "X" inside of it. Here is what my code looks like
You are missing imports. Hover over them, and see if there is an option to import.
If there isn't, then add this line of code to your imports:
import cpw.mods.fml.common.Mod;
That should fix your problems.
Putting "import cpw.mods.fml.common.Mod;" fixed the Event Handler errors, and then I found out that in the Main class I made some words all caps, then when I typed in my Reference class I didn't make the words all caps there, so it was giving me errors on that. Everything is fixed and I have no more errors Thanks for the help.
This is an awesome tutorial! I have just one problem. All of my EventHandler's are getting errors, when I click on the error, it comes up with the solution of "Fix Project Setup", but when I click on it it won't fix it. Also my @Mod has an error, the Solution it has when I click on it is "Rename in file". But when I click on it it just creates a little green "C" next to my "public class TestMod {" line of code. Here is what my code looks like below.
Fossils and Archeology is a mod name that has been passed through several editions all made by different authors and teams. It began with one single mod, however, which is why some assets are the same. We put our own original interpretation of what Fossils and Archeology should be. Other authors have other visions, thus the other mods.
Oh okay, Gotcha! Thanks for clearing that up for me
Let me lay out the differences
1. This mod focuses on dinosaurs and the prehistoric stuff
2. This mod's mobs have extremely fancy and advanced animations(t-rex roar animation and velociraptor attack jump are examples)
3. Yes some textures are the same, but for the most part it is easier to distinguish based on how you have to make your prehistoric pets alone
4. This mod is more realistic in terms of textures, models, and functions of items and stuff.
5. This mod is more awesome
Okay, thanks that clears alot up for me I'm just kind still confused, did you and the other people both continue working on the same mod or what? I'm just a little confused why they have alot of the same item textures.
Okay, I have one more question, I am making a dinosaur themed series on my youtube, so I got this mod and another that both have stuff to do with dinosaurs... except, the other one which is called "Fossil and Archaeology" is exactly like this one, same everything the exact same art and everything, the only difference is they have a few things that this mad doesn't, and this mod has a few things that the other mod doesn't... I'm confused...
Not sure. If I were to do something like that, I would do it like this post, except, this post has a lot of problems with the code and the way he does it.
If people want me to do something like this, I may consider it. Most tutorials like this cover a limited amount of "stuff" that you can actually do, so I would like to go over more tutorials, like advanced mobs, structure generation, dimensions, as well as other smaller things like changing vanilla recipes as well. And if all this is something people are interested in, I may make a few tutorials here
Dude! Please make tutorials! I'd love that! But if you do please be descriptive and go through every step That'd be great if you could
This looks like the Java code I'm used to back when I was following a video series and making a 1.6.4 Mod. Just wondering, but would you ever consider doing a complete video series on how to make a mod 1.7.10 on youtube? Just asking, cuz I'm sure you'd do great if you did.
I just don't know were to put the code, so it says it doesn't know what some variables are and stuff like that. And then when I click on the error for fixes it asks me if I want to do all these different things to fix it and I'm not sure what one to pick.
Of course, you would need to change some things around to fit your mod.
Ugh, I'm so confused I can't get it to fit right, it keeps giving me errors. Maybe I should give up, because I hate asking you for so much advice, I'm sure your probably tired of it by now.
0
package com.fearnbus25.testmod.init;
import net.minecraft.item.Item;
import com.fearnbus25.testmod.help.RegisterHelper;
import com.fearnbus25.testmod.items.TestModItem;
public class ModItems()
{
public static Item testIngot = new TestModItem() .setUnlocalizedName("testIngot");
public static void init()
{
RegisterHelper.registerItem(testIngot);
}
}
(I would put it in a spoiler but everytime I did and posted the message the spoiler would disappear, sorry)
1
Lol dude, it takes time to make these, I'd rather he took a while to make them to insure they are good quality and no mistakes in them
1
Putting "import cpw.mods.fml.common.Mod;" fixed the Event Handler errors, and then I found out that in the Main class I made some words all caps, then when I typed in my Reference class I didn't make the words all caps there, so it was giving me errors on that. Everything is fixed and I have no more errors Thanks for the help.
1
package com.fearnbus25.testmod;
import com.fearnbus25.testmod.help.Reference;
import com.sun.org.apache.xpath.internal.operations.Mod;
import cpw.mods.fml.common.event.FMLInitializationEvent;
import cpw.mods.fml.common.event.FMLPostInitializationEvent;
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
@Mod(modid = Reference.MODID, name = Reference.NAME, version = Reference.VERSION)
public class TestMod {
@Mod.EventHandler
public void preInit(FMLPreInitializationEvent event)
{
}
@Mod.EventHandler
public void Init(FMLInitializationEvent event)
{
}
@Mod.EventHandler
public void postInit(FMLPostInitializationEvent event)
{
}
}
0
I'm telling you dude, you'd do awesome at it, and it would help alot of people out
0
I hope you guys enjoy watching If you have any feedback, just leave it here or in the video comments
0
Oh okay, Gotcha! Thanks for clearing that up for me
0
Okay, thanks that clears alot up for me I'm just kind still confused, did you and the other people both continue working on the same mod or what? I'm just a little confused why they have alot of the same item textures.
0
0
Yea there is, I have the mod right now, it is crafted with a book and a Magnifying glass
0
0
Dude! Please make tutorials! I'd love that! But if you do please be descriptive and go through every step That'd be great if you could
0
This looks like the Java code I'm used to back when I was following a video series and making a 1.6.4 Mod. Just wondering, but would you ever consider doing a complete video series on how to make a mod 1.7.10 on youtube? Just asking, cuz I'm sure you'd do great if you did.
0
I just don't know were to put the code, so it says it doesn't know what some variables are and stuff like that. And then when I click on the error for fixes it asks me if I want to do all these different things to fix it and I'm not sure what one to pick.
0
Ugh, I'm so confused I can't get it to fit right, it keeps giving me errors. Maybe I should give up, because I hate asking you for so much advice, I'm sure your probably tired of it by now.