Jump to content

Recommended Posts

Posted

After setting up my main mod file I am completely lost. I have no idea where to start or what to do. The code seems to have changed a ton(Y DO U HAVE TO CHANGE SO OFTEN). And to make it all better I can't find the source code for vanilla minecraft... yay *cries*. But in all seriousness, I need somewhere to get started, so anything that gives examples of the new code and can somewhat explain it or make it clear as to what it does or is used for would be fabuloooooooooous! Thanks.

How do you do?

Posted

And to make it all better I can't find the source code for vanilla minecraft... yay *cries*.

 

What command did you use to setup your workspace? Did you use gradlew setupDecompWorkspace or setupDevWorkspace? You need to use the decomp workspace if you want the source available.

 

If you do that, it should show up as a referenced library in your project with name forge-src

Check out my tutorials here: http://jabelarminecraft.blogspot.com/

Posted

 

What command did you use to setup your workspace? Did you use gradlew setupDecompWorkspace or setupDevWorkspace? You need to use the decomp workspace if you want the source available.

 

If you do that, it should show up as a referenced library in your project with name forge-src

 

I'm positive I used setupDecompWorkspace, when I go under forgeSrc I don't get any source code, I do get assets, however.

How do you do?

Posted

If you use eclipse did you do this command: gradlew.bat eclipse?

Posted

If you use eclipse did you do this command: gradlew.bat eclipse?

No, I did not. I assume I run this in the command prompt inside my mod folder?

 

Uh huh.  Like it says in the readme.

(though you'll want setupDecompWorkspace, rather than the readme's setupDevWorkspace)

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Posted

Uh huh.  Like it says in the readme.

 

Yep, and the source setup tutorial. :)

 

And yes you'll want to run the command in your mod folder. Here's a tip, once you are in your mod folder, click Shift+RightClick and select "open command window here". Then run the command. The you don't have to do "cd C:\Your\Mod\Directory\". It's faster.

Posted

setupDecompWorkspace

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Posted

Um, back on the subject of what to do once you've made your MainMod file...

Go to wuppy29's site:

http://www.wuppy29.com/minecraft/modding-tutorials/forge-modding-1-8/#sthash.GUAStUe5.dpbs

 

His tutorials are really useful and really accurate.

Also, please keep in mind:

getUnlocalizedName() returns name.[the unlocalizedname you set it to]

And when you call GameRegistry.registerItem(), register your item with its getUnlocalizedName().substring(5).

I took me something like 8 posts to figure this out- if you don't do this, your textures won't load.

Sup bruh.

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



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Hey, sorry I haven't said anything in a while. I was banned on here for sending you straight up crash logs and they banned me for spam... but I learned that these forums are for forge only and I was working with neoforge... but thank you for all the help.
    • la verdad nose que hago
    • Ok i check and this is real axioM, BUT i have seen strange thing when mods less then 100 is working great but when its more then 100, i got crash   i realy need this mod can i some how fix it? or only delete axiom
    • It is an issue with the mod Axiom
    • I am in 1.20.1, and I have about 50 mods, I'd say. But for some reason, the search bar broke at some point. It's a real pain to search for a certain object.. Mods that I have(I had to write ALL OF THESE OUT arhg): Epic Knights. AI-Improvements, Alexscaves, alexsmobs, AmbientSounds, Aquamirae, Architectury, Betterfpsdist, BiomesOPlenty, Bookshelf, Born In Chaos, Bountiful Critters, CarbonConfig, Citadel, Cloth config, Clumps, Corgilib, Creative Core, Creeperoverhaul, crittersandcompanions, CullLessLeaves, Cupboard, Duckling, Embeddium, Enchantment Descriptions, Enderman Overhaul, Entity Model Features, Entity Texture Features, Entity Culling, Exotic Birds, Extra Sounds, Falling Leaves, Farmers Delight, Fast Leaf Decay, Fastload, Ferritecore, FpsReducer2, Framework Forge, Gamma Creatures Mod, Geckolib, Geophilic, Ghosts, Goblin Traders, Gpumemleakfix, Guardvillagers, Ichunutil, ImmediatelyFast Forge, Immersive Paintings, Incendium, Konkrete Forge, Let Sleeping Dogs Lie, Make Bubbles Pop, MCW Bridges, MCW doors, MCW Fences, MCW lights, MCW paths, MCW trapdoors, Medieval Paintings, More Creative Tabs Combo, Nether's Overhaul, Nyfss Spiders Forge, Obscure Api, oculus MC, Oh The Biomes We've Gone, Oh The Trees You'll Grow, Physics Mod, Prehistoric Park, Quark Delight, Quark, Rainbow Reef, Refurbished Furniture Forge, Regrowth, Repurposed Structures, Resourcefulconfig, Ribbits, Rubidium, Saturn mc, Skin Layers 3d Forge, Smoothchunk, Starlight, Structory, TerraBlender, Terralith, Visuality, Water Erosion, Xaeros Minimap, Xaeros World Map, YungsApi, YungsBetter Desert Temples, Yungs Better Dungeons, Yungs Jungle Templates, Yungs Better Mineshafts, Yungs Better Nether Fortresses, Yungs Better Strongholds, Yungs Better Witch Huts, Yungs Bridges, Yungs Extras, Zeta.   Why isn't my search bar working!!!!😭
  • Topics

×
×
  • Create New...

Important Information

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