Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Arnox

Members
  • Content Count

    16
  • Joined

  • Last visited

Community Reputation

1 Neutral

About Arnox

  • Rank
    Tree Puncher

Recent Profile Visitors

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

  1. Arnox

    Documentation

    And those "pretty docs" are what attract people to make content for Forge in the first place. I can't write anything to the github pages myself because obviously I'm not sure what to put down. I like to think I know how to write technical documents, but I also need to know what the hell I'm talking about. I (or someone) need to sit down with at least one dev and go through at least some basics with them. Like, for example, what does Forge always expect a mod to have? What file structure does Forge expect? What are some examples of very simple mods, and how would they all work under the hood ba
  2. I seem to be at a loss for making 1.16.x mods in general since there doesn't seem to be a lot of documentation at all. Now, I do understand that Forge for 1.16.x is still early days, but even for 1.15.x, the official documentation seems content to only go over broad concepts with no examples and what seems like key pieces of information left out. Further, many of the tutorials you find for modding only seem to tell you WHAT to do, but not, most importantly, how things are working under the hood for Forge and Minecraft. Would the main Forge contributors be open to discussion about sitting down
  3. I was following along with this guide, but as you can see, it's a bit old. Namely, it's for 1.15.2. Now, it seemed to be working all the way up to the very end: Eclipse says the bolded method is undefined for the type FMLServerStartingEvent.
  4. FINALLYYYYYYYYY The Hell is over. It's done. It works now. Finally... Thank you so much. ❤️ I guess my only question now is... Why is the command different when I run it in the command prompt as opposed to in the IDE?
  5. bin main com arnox exmod2 ExampleMod2$RegistryEvents.class ExampleMod2.class META-INF pack.mcmeta
  6. I think I ran into this before. Try just rebooting your computer. It worked for me last time.
  7. Deleted and reinstalled Eclipse entirely. Deleted the entire project files and redownloaded them (1.16.2 this time). Imported the Gradle Project. Did a test Client run before editing. Works just fine. Edited the package name to "com.arnox.exmod". Edited the modid in the ExampleMod.java file and all the modid's in the mods.toml file. Still errors out in the exact same way. Editing the build.gradle file to remove examplemod and then rerunning genEclipseruns and then another test Client run STILL gives the same error. Guys, I really think this is a bug... EDIT:
  8. In the src/main/java directory? I'm afraid there's only what is shown in the screenshot. src/main/java/com/arnox/exmod/ExampleMod.java to be exact.
  9. Done. Still erroring out with the same error. Jar still has the same folders and files as listed in the last post. More and more, I'm starting to think this is a gradle bug or something.
  10. Refactored com.Arnox.ExampleMod to com.arnox.exmod. Edited the specified part in the build.gradle file to this: version = '0.0.1' group = 'com.arnox.exmod' // http://maven.apache.org/guides/mini/guide-naming-conventions.html archivesBaseName = 'exmod' Executed the build setup "init" and "wrapper" gradle tasks. Still erroring out with the same error. Assembled jar file (exmod-0.0.1) now looks like this: com Arnox exmod ExampleMod.class examplemod Exam
  11. A small bit of good news. Looking through the console log, I found this: I have no idea where the hell it's finding that though. There's nothing in the above directory besides mods.toml and pack.mcmeta. The plot thickens too when I build the project and then look into the libs folder, open "modid-1.0.jar" and then I get this: com Arnox examplemod ExampleMod.class example examplemod ExampleMod$RegistryEvents.class ExampleMod.class ME
  12. buildscript { repositories { maven { url = 'https://files.minecraftforge.net/maven' } jcenter() mavenCentral() } dependencies { classpath group: 'net.minecraftforge.gradle', name: 'ForgeGradle', version: '3.+', changing: true } } apply plugin: 'net.minecraftforge.gradle' // Only edit below this line, the above code adds and enables the necessary things for Forge to be setup. apply plugin: 'eclipse' apply plugin: 'maven-publish' version = '1.0' group = 'com.yourname.modid' // http://maven.apache.org/guides/mini/guide-naming-conventions.html archi
  13. I would recommend restarting and doing the same thing as in the OP except this time, import the project files first. Then import the gradle tasks in Eclipse. This will give a nice list at the bottom window (Gradle Tasks) which you can use to easily access Gradle functions. And then execute the genEclipseRuns option listed in the bottom window.
×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.