Jump to content

Osuology

Members
  • Posts

    31
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Osuology's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Thank you very much! It's working perfectly (other than the spawn egg spawning a pig, but that's because I haven't finished it completely yet).
  2. OK, I took a look at some stuff (namely the Mod class in fml) and I saw that @Mod.Instance is it's own annotation entirely. Putting in @Mod.Instance(value = "modidhere") is the proper syntax, no? I just don't know where to put it, since everywhere I could think of putting it is invalid.
  3. I don't completely understand here. @Mod is used to initialize the mod. And, annotations can only be before methods or classes to feed information, so I don't understand how to apply this. It says it's invalid before the method, and using it before the class doesn't help a bit. I can't use any info I put into the annotation for the class, and annotations are not exactly the object that the method is looking for. I'm sorry if I'm really stupid here, but I'm trying to make sense of this. Looking at forge documentation on it gives nothing helpful, and neither does looking at the java documentation. I know what an annotation does I think. I don't understand how any of that helps me one bit.
  4. OK, that's cool that they upgraded from what they had before with the ID. It says that annotations are not allowed in the method though, so unless I'm misunderstanding, I can't use @Mod.Instance.
  5. I tried this, but first of all, I don't know how to get a unique id and secondly when I type mymainclass.instance, there is no value called instance.
  6. There is no easy way to find it in the game's source code, and I haven't seen one tutorial for 1.10.2 on entities. The file I have works completely fine, I just can't figure out how to register them. I know you use EntityRegistry but the method requires the mod and an ID? I don't really understand what this is necessary for...
  7. Well, it was fixed by installing this driver patch: http://nvidia.custhelp.com/app/answers/detail/a_id/4378 I don't know why all the other versions worked without it, but since everything works it's all good. Thanks a lot!
  8. Well, other than IntelliJ. I'll read the reddit post for some solutions and test them and I'll reply with my results.
  9. Doesn't it seem weird that all other versions of minecraft work other than launching it through intelliJ though?
  10. I am using NVIDIA drivers for my gtx 780 TI, yes. I forgot to mention up above that this only happens in IntelliJ and normal minecraft and other modded minecraft is fine, including the exact same version of forge and minecraft.
  11. The output log: http://pastebin.com/7zhXCtZT Sorry, if this is the wrong place. I have refreshed dependencies and followed the README, and it came up with this. I know it usually has been solved by updating drivers but I have the latest drivers for sure. Does anyone know what is the deal? EDIT: Also, this only happens in IntelliJ, never happens in normal minecraft and even in modded minecraft with the EXACT same minecraft forge version.
  12. Ah, so my problem was not setting one part of the config for the application settings. Set "Use classpath of module" to <whatever>_main fixed everything. Thanks for linking that video!
  13. I have setup gradle for intellij, as the README.txt tells you to. I have generated the intellij runs, and have refreshed dependencies. After running minecraft client, I get the following error: Exception in thread "main" java.lang.ClassNotFoundException: GradleStart at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:264) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:123) Java HotSpot 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release I understand what it means, and I'm pretty sure GradleStart isn't the right class to start minecraft with, but net.minecraft.Launcher.Launch isn't working. As a matter of fact, intellij doesn't recognize any of the vanilla packages at all for some reason.
  14. So, essentially use my mod's eventhandler to edit the chunkload event, such that each block is generated with a boolean, that is true? Then also use my eventhandler to edit blockplace event, and make that boolean defaultly false? I don't know how to save anything to a chunk yet, could you please go a little more into detail on that?
×
×
  • Create New...

Important Information

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