Hi everyone, I'd like to know how to learn to mod. I understand it isn't an instant process or a relatively quick one, but I'd love to know. I don't know too much on any matter much more than very minimal java, if really any notable stuff. I've seen lots of tutorials and websites very relative to this objective but the information is quite overwhelming and I don't personally have as much time as I'd like to go over sites I'd likely cross reference sections from each site multiple times. So I'll try here.
I'd also like to know, how did you learn? How did you go about making your mod and trying it out for the first time? Is there some kind of website or environment program to test the code?
Hi everyone, I'd like to know how to learn to mod. I understand it isn't an instant process or a relatively quick one, but I'd love to know. I don't know too much on any matter much more than very minimal java, if really any notable stuff. I've seen lots of tutorials and websites very relative to this objective but the information is quite overwhelming and I don't personally have as much time as I'd like to go over sites I'd likely cross reference sections from each site multiple times. So I'll try here.
I'd also like to know, how did you learn? How did you go about making your mod and trying it out for the first time? Is there some kind of website or environment program to test the code?
Thank you!
Honestly if you don't have the time to learn Java, you're going to struggle modding. You have to know at least the basics of Java in order to mod, without it you will struggle to understand what you have to do, why you have to and how it works. That and the syntax and general concepts will seem alienated from you. I'd highly recommend trying to learn Java.
How much time did you give yourself? Did you just rush through and assumed because you could remember it, you know it? Or did you actually take it nice and easy and slowly learn it, giving it time to sink in? The latter is what you should be doing, you won't understand the more advanced stuff if you just rush through the basics.
As for your questions, I started off by watching about 20 episodes of a Java tutorial series by a Youtuber called TheNewBoston, then I just jumped into modding and self-taught myself. That was a couple years back. And you should use an IDE (Integrated Development Environment) to develop programs. An IDE is similar to Notepad++ in that it has a lot of useful features for programming such as syntax highlighting (colouring certain keywords certain colours, like a type of data purple) and line numbers, however it has a lot more features designed specifically for the language that you're developing in, including templating (creating a new file / script / class will automatically fill the file / script / class with a blank template of code for you), a built-in way of quick-compiling-and-executing your program so you can see if your (new) code works properly without waiting for ten or more minutes for your program to compile and build. I personally use Eclipse, it is rather bulky and clunky, but it has a LOT of nifty features and is highly modular, having built-in support for plugin development (I find it ironic how you develop plugins for Eclipse, within Eclipse, just funny to me) and execution, and boat-load of other features. Other IDEs are Netbeans and IntelliJ IDEA.
Rollback Post to RevisionRollBack
Author of the Clarity, Serenity, Sapphire & Halcyon shader packs for Minecraft: Java Edition.
Honestly if you don't have the time to learn Java, you're going to struggle modding. You have to know at least the basics of Java in order to mod, without it you will struggle to understand what you have to do, why you have to and how it works. That and the syntax and general concepts will seem alienated from you. I'd highly recommend trying to learn Java.
How much time did you give yourself? Did you just rush through and assumed because you could remember it, you know it? Or did you actually take it nice and easy and slowly learn it, giving it time to sink in? The latter is what you should be doing, you won't understand the more advanced stuff if you just rush through the basics.
As for your questions, I started off by watching about 20 episodes of a Java tutorial series by a Youtuber called TheNewBoston, then I just jumped into modding and self-taught myself. That was a couple years back. And you should use an IDE (Integrated Development Environment) to develop programs. An IDE is similar to Notepad++ in that it has a lot of useful features for programming such as syntax highlighting (colouring certain keywords certain colours, like a type of data purple) and line numbers, however it has a lot more features designed specifically for the language that you're developing in, including templating (creating a new file / script / class will automatically fill the file / script / class with a blank template of code for you), a built-in way of quick-compiling-and-executing your program so you can see if your (new) code works properly without waiting for ten or more minutes for your program to compile and build. I personally use Eclipse, it is rather bulky and clunky, but it has a LOT of nifty features and is highly modular, having built-in support for plugin development (I find it ironic how you develop plugins for Eclipse, within Eclipse, just funny to me) and execution, and boat-load of other features. Other IDEs are Netbeans and IntelliJ IDEA.
Man, that was informative. Now I haven't put too much time into it, but I do usually have multiple hours a day to spare. I'm very driven to learn how to do this but haven't really gotten the right information I needed. Thanks for the such the lengthy post and support on it.
Also, did you go by some sort of template or website for all of the strings and elements for Minecraft? How did you find out/know what text to use in the code? (Currently working through TheXFactor117's lengthy tutorial on getting a base started in Eclipse. Trial and error)
I understand if I'm taking too much of your time up if there's sources I can learn by.
Man, that was informative. Now I haven't put too much time into it, but I do usually have multiple hours a day to spare. I'm very driven to learn how to do this but haven't really gotten the right information I needed. Thanks for the such the lengthy post and support on it.
Also, did you go by some sort of template or website for all of the strings and elements for Minecraft? How did you find out/know what text to use in the code? (Currently working through TheXFactor117's lengthy tutorial on getting a base started in Eclipse. Trial and error)
I understand if I'm taking too much of your time up if there's sources I can learn by.
I actually started off modding by making hacked / custom clients. I'd say that's a little trickier than modding nowadays as when making hacked clients you really have to be clever in what you're doing as you have 0 access to the server the entire time. Compared to Forge mods which run on both sides. But not really, experimentation and testing is really the best tool you have, play around and look at what's available.
Rollback Post to RevisionRollBack
Author of the Clarity, Serenity, Sapphire & Halcyon shader packs for Minecraft: Java Edition.
Also, did you go by some sort of template or website for all of the strings and elements for Minecraft? How did you find out/know what text to use in the code? (Currently working through TheXFactor117's lengthy tutorial on getting a base started in Eclipse. Trial and error)
The great thing about Java is that it's very "self-explanatory". An exception to this is the fact that Minecraft modding is based on reverse engineering so a lot of fields and methods look like random letters and numbers (it's not fully "deobfuscated"), but that's neither here nor there - with a basic understanding of Java one can examine code and get a rough idea of what it's doing simply by following the logic paths and seeing how it interacts with other, often already-deobfuscated code.
With that said, it's my opinion that attempting to mod with Minecraft without at least a novice understanding of Java (or OOP programming in general) is pointless. A fundamental intermediate understanding of the language is a definite must if you want to do anything good. Some might disagree with this claim, but in my experience those people don't even understand their own code (or are doing nothing new and just adding new blocks and tools like 90% of newbie modders out there). Nothing wrong with that as all modders have to start somewhere, but their haste in wanting to mod will be the end of them and they always come to the forums asking for tutorials on things which simply don't exist. In other words, they don't know anything about Java.
In summary, if you want to make something actually good that hasn't been done a million times before, I suggest spending a few weeks at least learning basic Java. Primary school kids can do it, it's not all that hard. Knowledge is power! With those skills, you can often find the solution to a problem yourself. Case in point: 90% of the threads here are relatively ignorant - even though I'm still a novice to *Minecraft* modding, I've been able to help a lot of people just because I know how to search the Minecraft/Forge source code and make sense of it.
Just learn from watching tons of youtube videos about it. It is pretty straightforward as on how to learn it. If you REALLY want to get into coding then take some courses on codeacademy.com and use code for anything you want.
No offence to BetterChuckles, but that's an example of bad advice (just look at the post count compared to jcm2606, also jcm is a regular here and been very helpful to many people). Codeacademy is a waste of money and most YouTube tutorials seem to also be people trying to make money off of recycled garbage that you can just read on a blog or wiki of a recognized veteran in Minecraft modding.
It'd be in your best interests to trust people who write guides with no clear monetary motivation as they clearly enjoy sharing their knowledge.
P.S. Post count isn't a "hard rule" of veteran modder status, I'm a novice myself. But 4 posts compared to nearly-3000 is a huge difference and a likely indicator of experience. @BetterChuckles, Again no offense intended as we were all novice modders once but these YouTube tutorials can't be that good if you don't even know how to make a machine (Will reply to your thread in a sec)
No offence to BetterChuckles, but that's an example of bad advice (just look at the post count compared to jcm2606, also jcm is a regular here and been very helpful to many people). Codeacademy is a waste of money and most YouTube tutorials seem to also be people trying to make money off of recycled garbage that you can just read on a blog or wiki of a recognized veteran in Minecraft modding.
It'd be in your best interests to trust people who write guides with no clear monetary motivation as they clearly enjoy sharing their knowledge.
P.S. Post count isn't a "hard rule" of veteran modder status, I'm a novice myself. But 4 posts compared to nearly-3000 is a huge difference and a likely indicator of experience. @BetterChuckles, Again no offense intended as we were all novice modders once but these YouTube tutorials can't be that good if you don't even know how to make a machine (Will reply to your thread in a sec)
Just saying it is how the guy who created Equivalent Exchange 3 learned.
No offence to BetterChuckles, but that's an example of bad advice (just look at the post count compared to jcm2606, also jcm is a regular here and been very helpful to many people). Codeacademy is a waste of money and most YouTube tutorials seem to also be people trying to make money off of recycled garbage that you can just read on a blog or wiki of a recognized veteran in Minecraft modding.
It'd be in your best interests to trust people who write guides with no clear monetary motivation as they clearly enjoy sharing their knowledge.
P.S. Post count isn't a "hard rule" of veteran modder status, I'm a novice myself. But 4 posts compared to nearly-3000 is a huge difference and a likely indicator of experience. @BetterChuckles, Again no offense intended as we were all novice modders once but these YouTube tutorials can't be that good if you don't even know how to make a machine (Will reply to your thread in a sec)
Post count is irrelevant entirely and CodeAcademy is free. As for the youtube comment, a minecraft modding video with 10k views probably earns under $20 - so unless it was pushed out in under 3 hours you'd be earning less than minimum wage. If that isn't a labour of love then I'm speechless.
Also I'm confused: ButterChuckles basically told him the same thing jcm did.
Post count is irrelevant entirely and CodeAcademy is free. As for the youtube comment, a minecraft modding video with 10k views probably earns under $20 - so unless it was pushed out in under 3 hours you'd be earning less than minimum wage. If that isn't a labour of love then I'm speechless.
Also I'm confused: ButterChuckles basically told him the same thing jcm did.
darksora269, responding to your question about where to find text to use for code:
If you setup Minecraft Forge properly, it will come with a version of the decompiled Minecraft source code with code written by the Forge team to aid modders and make modding possible. These Java classes are sometimes commented and explain how to use these features. If they aren't commented they are either self explanatory, not necessary, or haven't been deobfuscated yet.
For example, say you want to add a chest that has a custom different number of slots from the vanilla chest. I would recommend opening the BlockChest.java file located in the blocks package of the Minecraft source. This file will have the code that is used to create the chest. This specific file is for the actual block in the world, not the TileEntity, Container, or the GUI. The block class is kind of like the main class for the chest and then classes like TileEntityBlock (located in the tile package) are addons that are used by the block class.
Forge also comes with a javadoc that is great for quick reference to methods, parameters, and fields.
In order to understand what code to use where, besides knowing Java, you also need to know how Minecraft works and how Minecraft Forge works.
Look, Long Ago I was learning Java 'till, 2 weeks later, for some mysterious reason, I left it, but not on purpose...
...And then I didn't remember A thing of what I learnt of Java...
...And now, I know Java again...
How long were you actually learning it for? What I meant by rushing is say trying to learn the syntax, the "object-oriented-edness" and a bunch of other concepts within a week, rushing through one tutorial and moving on to the next without understanding what the previous tutorial taught. This is a bad practice, but if you spent say two weeks learning it, but didn't get to the advanced concepts of it (and left it at the basic concepts of say how Java deals with objects), then you didn't rush it. You just didn't give yourself enough time to develop your skills.
Rollback Post to RevisionRollBack
Author of the Clarity, Serenity, Sapphire & Halcyon shader packs for Minecraft: Java Edition.
Post count is irrelevant entirely and CodeAcademy is free. As for the youtube comment, a minecraft modding video with 10k views probably earns under $20 - so unless it was pushed out in under 3 hours you'd be earning less than minimum wage. If that isn't a labour of love then I'm speechless.
Also I'm confused: ButterChuckles basically told him the same thing jcm did.
Of course it's irrelevant according to you, you've 41 posts I said it wasn't a clear indicator of experience already, but in this case it was as jcm has been around helping people for a long time.
"Probably" earns under $20 but not necessarily. But you're right, jcm said a SIMILAR thing - not the same thing. Some people prefer video tutorials and others text, point is jcm explicitly said "Java tutorials" rather than "a ton of YouTube videos about it" which I took as "modding tutorials".
All I'm saying is that I second the opinion that having a basic understanding of Java is a must, and being too hasty by diving in with YouTube Tutorials on "How to make Minecraft mods" with no prior experience is a mistake.
Also ButterChuckles, There are two EE3 guys, which one do you mean? Pahimar? He's a grown man and a software developer by career, he already had a good understanding of programming before Minecraft modding.
Of course it's irrelevant according to you, you've 41 posts I said it wasn't a clear indicator of experience already, but in this case it was as jcm has been around helping people for a long time.
"Probably" earns under $20 but not necessarily. But you're right, jcm said a SIMILAR thing - not the same thing. Some people prefer video tutorials and others text, point is jcm explicitly said "Java tutorials" rather than "a ton of YouTube videos about it" which I took as "modding tutorials".
All I'm saying is that I second the opinion that having a basic understanding of Java is a must, and being too hasty by diving in with YouTube Tutorials on "How to make Minecraft mods" with no prior experience is a mistake.
Also ButterChuckles, There are two EE3 guys, which one do you mean? Pahimar? He's a grown man and a software developer by career, he already had a good understanding of programming before Minecraft modding.
Anyway, I'll back off. Good luck mate.
You are attaching a value to post count that does not exist. It's a useless metric for anything other than forum activity. There are forums where I have thousands of posts and it doesn't make me any more qualified than people on those forums with 1 post.
As far as youtubes monetization system goes, there is no one out there making small time youtube videos for money: anyone who sets out with that goal quickly realizes how their time would be far better spent doing almost anything else.
You called out ButterChucles as giving bad advice on the basis that you took his post to mean something he literally did not say. His advice mirrored what jcm said his experience was.
But, my main bone to pick is that I think it's quite reasonable to set out to make a minecraft mod with little to no prior coding experience. You need to have tempered expectations obviously, and you'll struggle the most at the start. But, one of the most repeated bits of advice for learning a language is to read other people's code: and you could certainly do worse than reading the minecraft code base. Further, while it would be more efficient to learn the concepts in a purely sandboxed environment that most java books provide, you can still derive them quickly by just playing around with the code and having people who will help answer your questions. The cherry on top is that there is a wealth of information out there focused on teaching coding beginners to mod in minecraft.
There is nothing inherently wrong about taking this approach, especially if you've tried the other and found it wasn't for you. Different strokes for different folks.
You are attaching a value to post count that does not exist. It's a useless metric for anything other than forum activity. There are forums where I have thousands of posts and it doesn't make me any more qualified than people on those forums with 1 post.
As far as youtubes monetization system goes, there is no one out there making small time youtube videos for money: anyone who sets out with that goal quickly realizes how their time would be far better spent doing almost anything else.
You called out ButterChucles as giving bad advice on the basis that you took his post to mean something he literally did not say. His advice mirrored what jcm said his experience was.
But, my main bone to pick is that I think it's quite reasonable to set out to make a minecraft mod with little to no prior coding experience. You need to have tempered expectations obviously, and you'll struggle the most at the start. But, one of the most repeated bits of advice for learning a language is to read other people's code: and you could certainly do worse than reading the minecraft code base. Further, while it would be more efficient to learn the concepts in a purely sandboxed environment that most java books provide, you can still derive them quickly by just playing around with the code and having people who will help answer your questions. The cherry on top is that there is a wealth of information out there focused on teaching coding beginners to mod in minecraft.
There is nothing inherently wrong about taking this approach, especially if you've tried the other and found it wasn't for you. Different strokes for different folks.
What use is reading code when you have no clue what the code actually does other than what it does relative to the game? You would have no idea how and why it functions the way it does.
EDIT: The point of learning how to code prior to modding is that you can actually understand the code that goes into a certain method and how it works and what it does. Without prior knowledge, you're jumping in blind with the only thing to go off of being the method name and arguments, you don't understand any of the underlying code and thus cannot easily tailor the code to your own use. Now sure, if you want to set a block at a specific location in the world you don't need to understand the underlying code, all you need to know is that it will set the block to whatever one you specify ad the location you specify. But, if you want to modify a particle to render a different way, you'll need to understand the underlying code. And this happens a lot more often and for many different things than just editing a particle; you may want to look at how chests animate based on certain conditions, or how furnaces have a fuel counter and how it keeps track of it, etc. You need to a prior understanding of Java to complete any of these without being lost.
The point of learning how to code prior to modding is that you can actually understand the code that goes into a certain method and how it works and what it does. Without prior knowledge, you're jumping in blind with the only thing to go off of being the method name and arguments, you don't understand any of the underlying code and thus cannot easily tailor the code to your own use. Now sure, if you want to set a block at a specific location in the world you don't need to understand the underlying code, all you need to know is that it will set the block to whatever one you specify ad the location you specify. But, if you want to modify a particle to render a different way, you'll need to understand the underlying code. And this happens a lot more often and for many different things than just editing a particle; you may want to look at how chests animate based on certain conditions, or how furnaces have a fuel counter and how it keeps track of it, etc. You need to a prior understanding of Java to complete any of these without being lost.
I obviously get why it is beneficial to understand code prior to making a mod. That does not mean that you cannot start to learn by working on a mod. Especially when you are following along with tutorials aimed at beginners that explain every minutiae.
If you know nothing about coding prior to modding you can't seriously expect to start out by making a mod that does advanced things, but there is plenty of stuff to do that is trivial: adding new blocks, new items, new foods, all of these can be accomplished with a simple tutorial and absolutely no idea how java works. If you start out doing that kind of thing, you will begin to learn what the code means, especially, again, if you are following along with the right material aimed at your skill level.
In this way it's no different than learning to code java by making silly little number games in the console. Again, as I said, you won't be as efficient as doing it that way, but you can still do it this way. I've attended several game jams where people with no programming experience at all (usually artists or musicians) sit down in unity3d or something and start to figure out basic concepts with a bit of guidance. It's not that different in the case of modding, all the groundwork is laid you just need the right material to start you off.
Hi everyone, I'd like to know how to learn to mod. I understand it isn't an instant process or a relatively quick one, but I'd love to know. I don't know too much on any matter much more than very minimal java, if really any notable stuff. I've seen lots of tutorials and websites very relative to this objective but the information is quite overwhelming and I don't personally have as much time as I'd like to go over sites I'd likely cross reference sections from each site multiple times. So I'll try here.
I'd also like to know, how did you learn? How did you go about making your mod and trying it out for the first time? Is there some kind of website or environment program to test the code?
Thank you!
http://www.youtube.c...fyKirbyOfficial
Come to my youtube page! I am doing a lets play and mod reviews of WIP/small mods! =)
Honestly if you don't have the time to learn Java, you're going to struggle modding. You have to know at least the basics of Java in order to mod, without it you will struggle to understand what you have to do, why you have to and how it works. That and the syntax and general concepts will seem alienated from you. I'd highly recommend trying to learn Java.
How much time did you give yourself? Did you just rush through and assumed because you could remember it, you know it? Or did you actually take it nice and easy and slowly learn it, giving it time to sink in? The latter is what you should be doing, you won't understand the more advanced stuff if you just rush through the basics.
As for your questions, I started off by watching about 20 episodes of a Java tutorial series by a Youtuber called TheNewBoston, then I just jumped into modding and self-taught myself. That was a couple years back. And you should use an IDE (Integrated Development Environment) to develop programs. An IDE is similar to Notepad++ in that it has a lot of useful features for programming such as syntax highlighting (colouring certain keywords certain colours, like a type of data purple) and line numbers, however it has a lot more features designed specifically for the language that you're developing in, including templating (creating a new file / script / class will automatically fill the file / script / class with a blank template of code for you), a built-in way of quick-compiling-and-executing your program so you can see if your (new) code works properly without waiting for ten or more minutes for your program to compile and build. I personally use Eclipse, it is rather bulky and clunky, but it has a LOT of nifty features and is highly modular, having built-in support for plugin development (I find it ironic how you develop plugins for Eclipse, within Eclipse, just funny to me) and execution, and boat-load of other features. Other IDEs are Netbeans and IntelliJ IDEA.
Author of the Clarity, Serenity, Sapphire & Halcyon shader packs for Minecraft: Java Edition.
My Github page.
The entire Minecraft shader development community now has its own Discord server! Feel free to join and chat with all the developers!
Man, that was informative. Now I haven't put too much time into it, but I do usually have multiple hours a day to spare. I'm very driven to learn how to do this but haven't really gotten the right information I needed. Thanks for the such the lengthy post and support on it.
Also, did you go by some sort of template or website for all of the strings and elements for Minecraft? How did you find out/know what text to use in the code? (Currently working through TheXFactor117's lengthy tutorial on getting a base started in Eclipse. Trial and error)
I understand if I'm taking too much of your time up if there's sources I can learn by.
http://www.youtube.c...fyKirbyOfficial
Come to my youtube page! I am doing a lets play and mod reviews of WIP/small mods! =)
I actually started off modding by making hacked / custom clients. I'd say that's a little trickier than modding nowadays as when making hacked clients you really have to be clever in what you're doing as you have 0 access to the server the entire time. Compared to Forge mods which run on both sides. But not really, experimentation and testing is really the best tool you have, play around and look at what's available.
Author of the Clarity, Serenity, Sapphire & Halcyon shader packs for Minecraft: Java Edition.
My Github page.
The entire Minecraft shader development community now has its own Discord server! Feel free to join and chat with all the developers!
The great thing about Java is that it's very "self-explanatory". An exception to this is the fact that Minecraft modding is based on reverse engineering so a lot of fields and methods look like random letters and numbers (it's not fully "deobfuscated"), but that's neither here nor there - with a basic understanding of Java one can examine code and get a rough idea of what it's doing simply by following the logic paths and seeing how it interacts with other, often already-deobfuscated code.
With that said, it's my opinion that attempting to mod with Minecraft without at least a novice understanding of Java (or OOP programming in general) is pointless. A fundamental intermediate understanding of the language is a definite must if you want to do anything good. Some might disagree with this claim, but in my experience those people don't even understand their own code (or are doing nothing new and just adding new blocks and tools like 90% of newbie modders out there). Nothing wrong with that as all modders have to start somewhere, but their haste in wanting to mod will be the end of them and they always come to the forums asking for tutorials on things which simply don't exist. In other words, they don't know anything about Java.
In summary, if you want to make something actually good that hasn't been done a million times before, I suggest spending a few weeks at least learning basic Java. Primary school kids can do it, it's not all that hard. Knowledge is power! With those skills, you can often find the solution to a problem yourself. Case in point: 90% of the threads here are relatively ignorant - even though I'm still a novice to *Minecraft* modding, I've been able to help a lot of people just because I know how to search the Minecraft/Forge source code and make sense of it.
Just learn from watching tons of youtube videos about it. It is pretty straightforward as on how to learn it. If you REALLY want to get into coding then take some courses on codeacademy.com and use code for anything you want.
No offence to BetterChuckles, but that's an example of bad advice (just look at the post count compared to jcm2606, also jcm is a regular here and been very helpful to many people). Codeacademy is a waste of money and most YouTube tutorials seem to also be people trying to make money off of recycled garbage that you can just read on a blog or wiki of a recognized veteran in Minecraft modding.
It'd be in your best interests to trust people who write guides with no clear monetary motivation as they clearly enjoy sharing their knowledge.
P.S. Post count isn't a "hard rule" of veteran modder status, I'm a novice myself. But 4 posts compared to nearly-3000 is a huge difference and a likely indicator of experience. @BetterChuckles, Again no offense intended as we were all novice modders once but these YouTube tutorials can't be that good if you don't even know how to make a machine (Will reply to your thread in a sec)
Just saying it is how the guy who created Equivalent Exchange 3 learned.
Post count is irrelevant entirely and CodeAcademy is free. As for the youtube comment, a minecraft modding video with 10k views probably earns under $20 - so unless it was pushed out in under 3 hours you'd be earning less than minimum wage. If that isn't a labour of love then I'm speechless.
Also I'm confused: ButterChuckles basically told him the same thing jcm did.
This is YOUTUBE
Idk
darksora269, responding to your question about where to find text to use for code:
If you setup Minecraft Forge properly, it will come with a version of the decompiled Minecraft source code with code written by the Forge team to aid modders and make modding possible. These Java classes are sometimes commented and explain how to use these features. If they aren't commented they are either self explanatory, not necessary, or haven't been deobfuscated yet.
For example, say you want to add a chest that has a custom different number of slots from the vanilla chest. I would recommend opening the BlockChest.java file located in the blocks package of the Minecraft source. This file will have the code that is used to create the chest. This specific file is for the actual block in the world, not the TileEntity, Container, or the GUI. The block class is kind of like the main class for the chest and then classes like TileEntityBlock (located in the tile package) are addons that are used by the block class.
Forge also comes with a javadoc that is great for quick reference to methods, parameters, and fields.
In order to understand what code to use where, besides knowing Java, you also need to know how Minecraft works and how Minecraft Forge works.
How long were you actually learning it for? What I meant by rushing is say trying to learn the syntax, the "object-oriented-edness" and a bunch of other concepts within a week, rushing through one tutorial and moving on to the next without understanding what the previous tutorial taught. This is a bad practice, but if you spent say two weeks learning it, but didn't get to the advanced concepts of it (and left it at the basic concepts of say how Java deals with objects), then you didn't rush it. You just didn't give yourself enough time to develop your skills.
Author of the Clarity, Serenity, Sapphire & Halcyon shader packs for Minecraft: Java Edition.
My Github page.
The entire Minecraft shader development community now has its own Discord server! Feel free to join and chat with all the developers!
Of course it's irrelevant according to you, you've 41 posts I said it wasn't a clear indicator of experience already, but in this case it was as jcm has been around helping people for a long time.
"Probably" earns under $20 but not necessarily. But you're right, jcm said a SIMILAR thing - not the same thing. Some people prefer video tutorials and others text, point is jcm explicitly said "Java tutorials" rather than "a ton of YouTube videos about it" which I took as "modding tutorials".
All I'm saying is that I second the opinion that having a basic understanding of Java is a must, and being too hasty by diving in with YouTube Tutorials on "How to make Minecraft mods" with no prior experience is a mistake.
Also ButterChuckles, There are two EE3 guys, which one do you mean? Pahimar? He's a grown man and a software developer by career, he already had a good understanding of programming before Minecraft modding.
Anyway, I'll back off. Good luck mate.
You are attaching a value to post count that does not exist. It's a useless metric for anything other than forum activity. There are forums where I have thousands of posts and it doesn't make me any more qualified than people on those forums with 1 post.
As far as youtubes monetization system goes, there is no one out there making small time youtube videos for money: anyone who sets out with that goal quickly realizes how their time would be far better spent doing almost anything else.
You called out ButterChucles as giving bad advice on the basis that you took his post to mean something he literally did not say. His advice mirrored what jcm said his experience was.
But, my main bone to pick is that I think it's quite reasonable to set out to make a minecraft mod with little to no prior coding experience. You need to have tempered expectations obviously, and you'll struggle the most at the start. But, one of the most repeated bits of advice for learning a language is to read other people's code: and you could certainly do worse than reading the minecraft code base. Further, while it would be more efficient to learn the concepts in a purely sandboxed environment that most java books provide, you can still derive them quickly by just playing around with the code and having people who will help answer your questions. The cherry on top is that there is a wealth of information out there focused on teaching coding beginners to mod in minecraft.
There is nothing inherently wrong about taking this approach, especially if you've tried the other and found it wasn't for you. Different strokes for different folks.
This is YOUTUBE
What use is reading code when you have no clue what the code actually does other than what it does relative to the game? You would have no idea how and why it functions the way it does.
EDIT: The point of learning how to code prior to modding is that you can actually understand the code that goes into a certain method and how it works and what it does. Without prior knowledge, you're jumping in blind with the only thing to go off of being the method name and arguments, you don't understand any of the underlying code and thus cannot easily tailor the code to your own use. Now sure, if you want to set a block at a specific location in the world you don't need to understand the underlying code, all you need to know is that it will set the block to whatever one you specify ad the location you specify. But, if you want to modify a particle to render a different way, you'll need to understand the underlying code. And this happens a lot more often and for many different things than just editing a particle; you may want to look at how chests animate based on certain conditions, or how furnaces have a fuel counter and how it keeps track of it, etc. You need to a prior understanding of Java to complete any of these without being lost.
Author of the Clarity, Serenity, Sapphire & Halcyon shader packs for Minecraft: Java Edition.
My Github page.
The entire Minecraft shader development community now has its own Discord server! Feel free to join and chat with all the developers!
I'm not sure you can figure out what the code is doing "relative to the game" and not understand how it is working. What is an example of that?
This is YOUTUBE
Check my post again. Edited it, was playing a game with a friend so couldn't explain right then.
Author of the Clarity, Serenity, Sapphire & Halcyon shader packs for Minecraft: Java Edition.
My Github page.
The entire Minecraft shader development community now has its own Discord server! Feel free to join and chat with all the developers!
I obviously get why it is beneficial to understand code prior to making a mod. That does not mean that you cannot start to learn by working on a mod. Especially when you are following along with tutorials aimed at beginners that explain every minutiae.
If you know nothing about coding prior to modding you can't seriously expect to start out by making a mod that does advanced things, but there is plenty of stuff to do that is trivial: adding new blocks, new items, new foods, all of these can be accomplished with a simple tutorial and absolutely no idea how java works. If you start out doing that kind of thing, you will begin to learn what the code means, especially, again, if you are following along with the right material aimed at your skill level.
In this way it's no different than learning to code java by making silly little number games in the console. Again, as I said, you won't be as efficient as doing it that way, but you can still do it this way. I've attended several game jams where people with no programming experience at all (usually artists or musicians) sit down in unity3d or something and start to figure out basic concepts with a bit of guidance. It's not that different in the case of modding, all the groundwork is laid you just need the right material to start you off.
This is YOUTUBE
Pretty sure the original poster has lost interest xD
I'm still here and reading! Haha.
http://www.youtube.c...fyKirbyOfficial
Come to my youtube page! I am doing a lets play and mod reviews of WIP/small mods! =)