r/MinecraftModder • • Mar 28 '20

How to begin with modding in Minecraft?

13 Upvotes

I have several years coding experience in multiple languages (Java, C#, etc) and I want to try making a mod for Minecraft. Everything I’ve found is tailored to people who do not have coding experience, so my question is, what resources are out there for starting out making a Minecraft mod with coding experience? I just don’t know where to start really with the set up or anything.


r/MinecraftModder • • Sep 06 '14

"What not to when starting off with modding" - An article I wrote a long time ago I think fits this sub

Thumbnail
vazkii.us
11 Upvotes

r/MinecraftModder • • Aug 15 '14

TimeTraveler: Real Time Travel Inside of Minecraft!

Thumbnail
minecraftforum.net
10 Upvotes

r/MinecraftModder • • Aug 15 '14

Posted this a while ago in the FTB sub. I'll bring it here, to.

7 Upvotes

Last night I was bored and wanted something to do, so I wrote this. It is simply a base for people to build from and includes no content, aside from a few example recipes. I was asked for a video on how to set this up. Here you go. I apologize for sucking at talking.

My hope is that it is simple to understand and easy to use.

How to use:

  1. Clone that repository using any Git client. (alternatively, download the zip)

  2. Setup your Gradle workspace. I suggest following this tutorial by LexManos. I also suggest running "setupDecompWorkspace" instead of "setupDevWorkspace". Look in gradlew for what everything does.

  3. Open it up in your IDE and refactor everything.

    EG: BaseMod.java -> YourModName.java

  4. Write the content of your mod.

  5. Release to your loving fans and hope you didn't screw anything up.

I do not require any credit for this. I wrote it primarily for myself to use in my own mods and there's literally no reason for it to not be public.

FAQ:

  • Oh no! I found a bug/leak with it! D:

    Please feel free to make a PR with a fix or open an issue on GitHub.

  • Can you include X feature?

    Possibly. I don't want to do all the work for modders, and I don't want this to become a coremod/dependency.

  • Why should I use this?

    I feel it saves time for beginning modders so they don't have to rewrite everything whenever they start a new project. If you don't feel it's useful, don't use it. Simple as that.

  • Can you port to Minecraft 1.X.X?

    Sure, why not. However, most of this will work in all versions. One large exception being the config GUI.

  • Who the heck are you?

    I am the lead dev of Redstone Armory and a head dev of Flowstone Energy.

    I also work on rewriting mods (Completely fresh code-base, custom textures, new names, etc) to balance them. BigReactors (NuclearCubes) being a huge one.

    Occasionally, I help out /u/Tombenpotter with Electro-Magic Tools. (Mostly just localizations)

    I am also the newest TPPI dev.

This was written at 4am this morning and I haven't made any code changes/fixes yet. Some things may not work and/or could be written much cleaner/better. If you see anything like that, feel free to yell at me and make me scramble for a defense.

(Exact copy paste of the original post)


r/MinecraftModder • • Aug 23 '14

PSA: Read this if you're new to modding.

6 Upvotes

It is essential to modders to learn Java. It is the basic foundation of Minecraft Forge modding. I cannot stress this enough.

For example, read [this]. The user is trying to help in the best way he can. However, due to the lack of Java knowledge of the OP, he can't understand the helper...

I know this will likely get ignored by new modders, but please, learn Java. So we can help you, and you can get help faster...so you can code better and make great projects...


r/MinecraftModder • • Aug 14 '14

Need some help with code.

6 Upvotes

Heres my problem. I am new to modding, and I have been following MrCrayfish's Mod Tutorials on YouTube. I followed his instructions EXACTLY, but it crashes the game when I try to run it. Also, when I input the line .setUnlocalizedName and .getUnlocalizedName, there should be a drop down box, but theres not. Here is the EXACT code that I have: package com.tuckoguy.xiaolinshowdown;

import net.minecraft.item.Item; import cpw.mods.fml.common.Mod; import cpw.mods.fml.common.Mod.EventHandler; import cpw.mods.fml.common.event.FMLInitializationEvent; import cpw.mods.fml.common.event.FMLPostInitializationEvent; import cpw.mods.fml.common.event.FMLPreInitializationEvent; import cpw.mods.fml.common.registry.GameRegistry;

@Mod(modid = "xs", name = "Xiaolin Showdown", version = "1.0") public class XiaolinShowdown {

public static Item itemOrbOfTornami;

@EventHandler
public void preInit(FMLPreInitializationEvent event) {
	//Item/Block init and registering
	//Config handling
	itemOrbOfTornami = new ItemOrbOfTornami().setUnlocalizedName("ItemOrbOfTornami");
	GameRegistry.registerItem(itemOrbOfTornami, itemOrbOfTornami.getUnlocalizedName().substring(5));
}

@EventHandler
public void init(FMLInitializationEvent event) {
	//Proxy, TIleENtity, entity, GUI and Packet Registration
}

@EventHandler
public void postInit(FMLPostInitializationEvent event) {
	
}

}

(New Class Tab: ItemOrbOfTornami)

package com.tuckoguy.xiaolinshowdown;

import net.minecraft.item.Item;

public class ItemOrbOfTornami {

}

I have NO idea what I am doing wrong, and (Even though this is a new SubReddit) I hope that someone can help me out. I would ask Minecraft Forums, but I cannot access the website at the moment.

Thanks, Tuckoguy


r/MinecraftModder • • Aug 30 '14

Tip in [Forge] [MC 1.7.10], detect if a player has an achievement

5 Upvotes

I think this is useful because it uses a function that has not been translated, and took me a while to find. Must be done on server side.

	boolean hasit = ((EntityPlayerMP)p).func_147099_x().hasAchievementUnlocked(x);

Where X is a full achievement tag string like "achievement.mineWood"

http://minecraft.gamepedia.com/Achievements#List_of_achievements


r/MinecraftModder • • Aug 14 '14

Just released a mod recently. Also i can provide help and tips in *some* aspects of modding.

5 Upvotes

I made a video, and download is a dropbox link in there

https://twitter.com/lothrazar/status/499408877041889280


r/MinecraftModder • • Jun 21 '15

Looking for assistance with packets...probably(?)

4 Upvotes

Hey there, everyone!

I've been playing around with a silly idea that would force encourage me to do things I haven't done.

What I've done (hackishly, I'll admit) is replace the player model with my own, with some parts to be rendered after specific events take place. (Using ExtendedProperties to track the event part) This works in single player fine; However, I'd like to port it to a multiplayer environment.

Which leads me to my problem. I'm almost entirely sure that that I'll have to use packets to let nearby players know that a change has occurred, and then render it. Unfortunately, though, I have almost no experience with the packet system.

I guess what I'm really asking is if there is a "Crash Course" into packets, or a overview that you'd especially recommend? Heck, even general tips would be beyond amazing right now. ;P

Thanks! Sorry if this is confusing; I've been up for far too long, haha

--Tenyar97


r/MinecraftModder • • Mar 04 '15

New to modding and feeling overwhelmed. Please Help.

4 Upvotes

Hello everyone,

 

As the title suggests I have just started to delve into the world that is modding Minecraft. I spent a few days looking around online for tutorials of how to get started with 1.8 and eventually got a development environment set up.

 

Now I have hit a bit of a wall. I can't seem to find any tutorials that explain what they are doing. It's just "copy this code and paste it into that class." Are there any resources that you can recommend that will explain what is going on and how the code is working?

 

I can program in Java, I've graduated college with a degree in Computer Science, so I know that I don't need to go through Java tutorials other than with stuff that I am not familiar with. I'm just looking for some help understanding what exactly the pasted code is doing so I can eventually sit down and not need to look stuff up all the time (if that is even possible).

 

tl;dr Looking for some help understanding the setup of the code when modding Minecraft either from online tutorials, textbooks, videos, someone willing to teach me, etc.

 

Thanks for any suggestions that you might have.


r/MinecraftModder • • Aug 18 '14

Here to help!

4 Upvotes

Hey guys, I've been modding Minecraft for a few years now, and I'm happy to help to the best of my ability (with code, answering questions, how MC works, etc.) I don't have any public mods at the moment, but I AM currently working on a Blood Magic addon :) Ask away!


r/MinecraftModder • • Aug 15 '14

Microblocks with Connecting Textures?

4 Upvotes

Hello Everyone! I've got a mod (named GlassWorks, haven't released it yet since I'm working on one last feature: panes. Now, I've tried dozens of things to get a properly Connecting Texture pane to work, and I've given up, so my current plan is implement my blocks with FMP. Now, the issue I'm running into is this: I know I need to make my custom MicroMaterial, but how on earth would I go about describing my custom texture algorithms from there? My mod is completely open source, so anyone is free to look and see what I'm doing, and any suggestions / PR's would be GREATLY appreciated!


r/MinecraftModder • • Aug 15 '14

where to start?

4 Upvotes

hi im sort of new to code and making mods. i would like to know what do you guys use for coding and perhaps a general idea of how you get your ideas for mods


r/MinecraftModder • • Aug 14 '14

Advanced Brewing - An upcoming mod that expands Minecraft's brewing system

Thumbnail
youtube.com
4 Upvotes

r/MinecraftModder • • Feb 25 '20

Attempting to re-create a pickaxe in The Lion King mod for 1.12.2

3 Upvotes

Hi guys and gals,

It should be noted that I have very little java experience.

I'm attempting to make a pickaxe that takes down a 3 by 3 area (but not ores) similar to the one you can acquire in The Lion King mod for 1.6.4 Minecraft.

The code for said pickaxe is here https://pastebin.com/ju8iz6Kq

I have the code ready to be edited in MC Creator but I'm unsure on where to start in different parts of the code. If anyone could lend a hand, that would be amazing (or even a link to a mod for 1.12.2 that does what I'm after)


r/MinecraftModder • • Oct 09 '19

I'm making a shrek mod for minecraft, but I'm a complete noob to minecraft modding. Hope it turns out ok. Just made my first item, the holy shrek seed.

Post image
3 Upvotes

r/MinecraftModder • • Sep 22 '14

Good Tutorial on Using APIS?

3 Upvotes

I'm trying to make an addon for Tinker's Construct, and I'm struggling to work out how to actually add Tinker's Construct to my environment in a way that means I can use the methods found there. Does anyone have any advice, or even better know of a good tutorial for this?


r/MinecraftModder • • Aug 29 '14

[1.7.10] Anyone know how to fix this render issue?

Thumbnail
imgur.com
3 Upvotes

r/MinecraftModder • • Aug 26 '19

Help?

2 Upvotes

i have been downloading mods and they dont seem to work

here is the crash logs thing

https://pastebin.com/4k14fDUh


r/MinecraftModder • • Sep 28 '18

Help modding minecraft

2 Upvotes

I'm trying to make several custom mobs and use SEUS for minecraft to show of the colors on the mobs. Im looking for someone to implement my mobs and custom shader pack. This is a paying project!


r/MinecraftModder • • Jun 05 '16

How are the river biomes determined?

2 Upvotes

I saw that there is a list for biomes, and in the BiomeGenBase class there's an ocean and river biome. How is a river defined properly? I tried to look at the code and couldn't quite understand it.


r/MinecraftModder • • Dec 05 '15

Help

2 Upvotes

I am making a minecraft mod for minecraft 1.7.10 but all of a sudden it says there are errors. There is now a red ! on the Minecraft folder and I didnt even code anything today and there were no errors yesterday.


r/MinecraftModder • • Jun 10 '15

(1.8 Forge) Problem with excessive stack sizes.

2 Upvotes

I made the maximum stack value 2,147,483,647 for one of my items, but when I try to place it in the hotbar it will only set down 64. Is there a fix for this?


r/MinecraftModder • • Dec 05 '14

Thermal Expansion Addon Help

2 Upvotes

I recently thought of what I think is a really cool idea for an addon for Thermal Expansion. I have spent a great deal of time looking on the internet for answers, but I have ended up empty handed. I was hoping someone here could send me in the right direction.


r/MinecraftModder • • Sep 25 '14

Mob Model Artist Needed

2 Upvotes

Hey guys! Osteomancy dev here, and I'm in need of help yet again - I have a good texture artist, but he's not super great with techne modelling. If anyone would be able to do techne models for some of my monsters (fairly detailed, boss-like models, and normal entities), I'd really appreciate it :D PM me for more details if you're interested!