All right let’s set up the workspace for Forge modding in 119 3. indeed we’re back and in this case this is a 119 3 Series it’s gonna be a little bit of a shorter series compared to the other ones as basically I only want to cover some of the changes from 192 to 119 3 but regardless if this is your first time here we have a few things to download a few things to set up and then we can proceed now the first thing you’re going to need is a jdk or Java development kit this is the one that I Suggest here The Tamarind one by adoptium all of the links are going to be in the description below and just make sure that you’re on jdk 17 right here and then you can download it for whatever your operating system might be for me it is Windows so I’m just going To download the MSI and then you can once it’s downloaded install this like any other program onto your PC there’s one more thing that’s very important so let’s actually take a look at what happens when we try to install this but what’s very important is that on next Right here when you have the custom setup what I highly recommend if this is your first time installing Java making sure that the Java home variable here is set so just make sure that this is to set to will be installed on local hard drive this is just going to make this a Little bit easier for when you actually are programming in Minecraft or in Java to actually find your Java installation folder that’s basically the general idea so just keep that in mind hit next install and then just install it like any other program right once you have done this and this is actually your First time what I do highly recommend is actually checking out a little bit of java beforehand so if you have not programmed in Java or programmed at all before I highly recommend checking out my Java introduction for Minecraft modding it’s been a while so it’s been About a year ago but it’s still a very good resource for you you can of course also check out other resources but I’m going to link this particular playlist in the description below I highly recommend going through a few things here because it a good Java Foundation is extremely necessary for you to Properly program and mod Minecraft there is no way that you’re going to mod Minecraft without some foundation in Java so what I basically tell you is that it would be best best case scenario go through the Java introduction first and then come back to all of the Minecraft modding stuff otherwise wise You can also go through a few steps in the Java introduction try to go into modding a little bit and then so sort of fuel the modding the wand for modding right have that fuel you to learn Java it is extremely important I cannot stress this enough and you will need This you will not be able to do this properly without learning Java first regardless though the next step is going to be a IDE and that is an integrated development environment it is basically a fancy text editor for actually programming in Java we’re going to be using IntelliJ IDEA the community Version which is free so you’re gonna download the right version right here the community version which is free if you want to use something else like eclipse or vs code or something like that that is absolutely you’re free to use that if you’re a beginner I highly Recommend doing the same thing that I’m doing basically downloading the IntelliJ IDEA here because otherwise there will be discrepancies and you will have to figure them out on your own like I’m I can’t help with eclipse or vs code because I’ve not done Minecraft modding in them I basically always use IntelliJ ID right so let’s download this as well well and once again we can just download this and install this on grpc like any other program once you’ve installed this it might actually open up already now we’re actually not going to concern ourselves with this just yet we need one More thing and that we need to download Minecraft Forge now in this case we want to download Micro Forge 193 as this is a 119 3 Series so you’re just going to make sure that you’re on 119 3 we’re going to choose the latest download of The MDK right here just click on this it’s going to take a moment and then after five seconds at the top right corner you’re going to be able to download this there you go just click the skip button and then a zip file will appear I already have this prepared as You can see so in my tutorials folder I will have this ZIP file right here we’re just going to extract this to a new folder and then you can see a new folder appears and all of this craziness is in here the first thing I’m going to do is I’m going to delete the zip file and then I’m going to rename this to forge Dash tutorial Dash 193 there you go perfect and then we can go in here now what we can actually do is we can delete four files the change log text predates the license and the readme file those Are four specific files so let’s delete this and then we can proceed so I want we definitely want to save this path over here so just just select it press Ctrl C to copy it and then we can proceed with IntelliJ here so this is going to be roughly what the first time Looks like for IntelliJ now you’re probably not going to have a bunch of projects but what you will have is these three buttons the new project button the open button and the get from VCS button you’re going to be pressing the open button and then putting in the path that We’ve just copied so make sure to choose this folder not the source folder now the build.gradle file but the folder that all of this contains where all this is contained in press OK press project and then a you know big window here will open from IntelliJ it’s going to start Doing stuff you can see it started turning to build models it’s going to add folders over here just be patient let this run through it might take a couple of seconds might take a minute or so just you know everything is fine all of the warnings don’t even worry about It you can see it’s downloading stuff just be patient wait until this is done and then we can proceed or you can see build successful in 21 seconds like I said it might take a little bit longer for you just be patient I’ve seen this Take for some people you know up to 20 minutes or so depending on how fast your internet speed is how fast your computer might be all of this are factors in how long this might take and you might also have not gotten the build successful there’s a few things that we can do Immediately so what you should do is you should definitely go to file project structure and absolutely make sure that both SDK is set to 17 as well as the level language is set to SDK default this is extremely important make sure that this is the case apply and if you Have not gotten the build successful before you can go to this Gradle tab right here and actually press the reload alt Gradle projects again and then hopefully you will get a build successful well we can now minimize this and we can continue along with the project structure so if we actually look Into Java that this is roughly what you should see com example example mod and then in example mode class right here the first thing we want to do is we want to go to this gear over here and change the tree appearance because this is not Actually how I want this to set up I wanted to disable height empty middle packages and I also want to disable flatten packages so I want this to look like this calm example example mod because this is just how I’m used to programming and this is going to then Give you the same structure right let’s double click on the example mod class right here and you can see there’s a bunch of stuff in here and some of this we can delete some of this we have to change and some of this we can just keep It as is so the first thing to note is the mod IDs so personally I have an underscore between mod and ID so what you could do is you click on ID press shift F6 and then you can just add a underscore right here and that’s going To change it everywhere right it needs to be changed and then also this right now this is example mod however I want this to be what tutorial mod now our mod ID is extremely important the mod ID is basically a unique identifier for your mod and it is extremely important that It can only contain lowercase characters numbers it can contain a underscore and a Dash and that’s it don’t contain spaces and and cannot contain uppercase characters make sure that this is the case and make sure that this is done correctly and then I’m just going to Change a few things here in terms of the setup of this this isn’t absolutely necessary it’s just the way that I basically usually have everything set up but just a little bit nicer now what we can actually do is we can delete the example block that blocks the items we Can delete that we’re then going to get a few errors right here we can delete those as well we can delete some of the comments as well we don’t necessarily need those we can delete contents of the ad creative method we can delete the contents of the common setup as well and We can delete the entire on server starting event right here and we can also delete the contents of the on client setup so this is how our example motor class looks like right now and what we can then do is we can rename this but this is very important you want To click on the name of the class press shift F6 and then rename it tutorial mod and you can see that it also changes the name right here so what’s important about this is that this is the name of the file well this is the name of a Class and they usually have to be the same very important indeed then we can change the package now I personally am going to do net open draw.tutorial mod what you want to do is do for example net dot you know maybe your name is John So you want to do net John tutorial mode or net and then if you have an online Alias or an online name you want to do net online name tutorial mod that’s the general idea you can see though it is there’s a red underline here that this Means that there’s an error there we can hover over this go to more actions and then say move to package net carbender tutorial mode we’re going to do this and on the left you can see it has now move this class or in this file actually to a Different package structure so we can then delete the rest of the package structure and we now have the packet structure net hopefully your name tutorial mod this is pretty much all that we need to do in this class and now there’s a bunch more stuff that we have To do very important so the first thing is in the meta in folder there is a mods.toma file this is extremely important that we get this right so let’s open it and you can see there’s a bunch of stuff first of all there’s a ton of comments here highly recommended To read them to know exactly what everything is but the main things are that we want to change the license here so I usually have my mods and I usually have the tutorials all under the MIT license I highly recommend choose a license.com over here to know what this Means and then the mod ID of course we’ve talked about this this is tutorial mod very important that this is correct otherwise it will not work like your mod will actually not be able to sort if this is not the exact same thing that is right here very very important and the Name I’m just going to choose tutorial tutorial mod as the name right here at the logo file that we’re gonna just sort of ignore that’s fine and then the author is of course me that’s commjo there you go you can add a description right here we’re just not going to add a Description for the time being and then also very important that you have example mod here twice make sure to change this to tutorial mode as well and that should be fine this should be pretty much everything that is definitely necessary here for you to change there are of course other things That you can also do you can add a issue tracker update Json URL so there’s a bunch of things that you can do for the time being we’re just going to be happy with this next point of order is opening the build.gradle file and you can see we Have a version a group and an archives based name so first of all the version we want to change this so let’s say this is version 0.1-1.19.3 what I usually Advocate is that you add the current Minecraft version your version code basically This is highly recommended just to make it a Little bit easier for the user to understand okay what for what version of Minecraft is this mod actually done and I highly recommend doing this this can only help you and the group name in this case is net.com draw or your name dot tutorial mod right so you can see this Is just the exact package structure right here and then mod ID once again is just not beautiful that’s actually amazing now we’re going to actually copy this so I’m going to click on this twice press Ctrl C I’m going to go down a little bit and we’re going to find Example mode we want to select this press Ctrl R and then actually replace everywhere whether it says example mode with tutorial mode we’re just going to say replace all and then it’s going to replace everything that says example mode with tutorial mode this is also very important because otherwise you Know it’s not going to actually understand that everything is our mod in this case but now everything here has been set up now overall the build.gradle file you can see it’s it it seems very complicated and it is very complicated the highest overview is basically this Just defines a lot of things that are downloaded automatically that are set up automatically and that it sort of knows where certain things are this is the highest level overview I recommend for the time being especially as a beginner just keep it like this right just change The thing that we’ve changed over here and then it’s going to be fine now you will find a little elephant with a Reload button here in the top right corner if this does not appear you can always open the Gradle Tab and just press the reload button that will do This exact same thing and you can see in the build window down here it’s going to start doing things again now this once again might take a couple seconds maybe a minute it you know it can vary wildly and after this is run through we pretty Much there you go build successful in 12 seconds we now have everything set up that we need to set up right so we can close everything and now we can actually already start micro for the first time and now how do we do this well once Again we want to open the Gradle window right here we want to expand the tasks Forge greater runs and then we want to double click the Run client task over here we can now close this and now Minecraft is going to start for the first time once again These Warnings can All be ignored that’s not too important in this case this just has to do with the mappings over here this is just a normal part because we’re using the actual Minecraft mappings that are provided by Mojang so that is totally fine and that should be okay just want To know this and say this is all fine we’re just going to wait a moment you can see like it’s going through you know a lot of stuff is happening over here you know a bunch of things in the background are spinning up and actually Minecraft is already starting over here Which is exactly what we will see and we can even already hear the music let’s just turn this down for a moment there you go and as you can see it has started already right and now we can see under mods actually we can see tutorial mod Right here we can see tutorial mode right the account control MIT license and everything is in here absolutely amazing right so this is pretty much all that we really need over here let’s stop this and then our and then everything is pretty much set up I will also show you How to add your project to a GitHub repository this can be extremely useful if you want to share the code with people or if you just want a version control system so basically you’re going to change a bunch of stuff you can upload it to GitHub and then maybe you Know it’s going to break like everything and you’re like oh no and then you can just revert to a previous version highly recommended to set this up so I highly recommend you stay around to see how this works now the way to do this you of course need a GitHub account right here I highly recommend I’m just going to link this as well it’s a very reputable site just make an account and then we can proceed inside of IntelliJ so in IntelliJ what we want to do is we want to click the VCS over here and we want To say share project on GitHub you can see it basically takes the name that we have for the project already now if you make this private then you can’t share it with other people now I’m just going to make this private for myself usually you want to keep this public but Whatever you basically choose right if you then of course want to share it with other people later you then of course have to unprivate it but that’s also okay what you’re probably going to have is you’re not going to have any share buy so you need to click add account Login via GitHub and if you are logged in on GitHub on your browser then you can just click authorize in GitHub and it should get you should get a successfully authorized then you can see github.com draw absolutely amazing so we’re just going to hit share and then It’s going to do a bunch of stuff it’s going to open another window add files for initial commit this is absolutely all right so we’re going to say hit add and then at that bottom right corner we’re going to see pushing to GitHub and then successfully share it on GitHub so We’re going to just click this and you can see there we go orange tutorial 193 it was you know committed just now and it was the initial commit everything is here this is exactly what we need right we don’t actually need everything so we don’t need the dot Gradle the dot IDE The build folder all of those are not needed these are all that we need this is all done in the git ignore file right here so that’s why this is one of the import one now if we were to change something right so let’s say for example Well you know what let’s just like get both of those comments out of here and let’s add a new comment right this is a very important comment right you can actually see that the tutorial mode class now turns blue this is because a change has been detected in this class Now how can we actually you know note this change and then upload this change to GitHub well we want to go to the commit window over here make sure that all of the changes are checked and then for example added some important comment so here we just want to add what we have Done right we’re going to commit this and after this has been committed if we look back at the project you can see it’s no longer blue however this has not yet been uploaded to GitHub this has now only been done on your local machine right on your PC this has been committed And it said okay make sort of a snapshot of whatever we’ve done right now and this is now saved on your PC to actually upload it to GitHub you want to click on this Arrow right here at the top right corner that says push and we actually Want to push this to GitHub so we’re going to say we’re going to push those commits to GitHub we’re going to say push and then after it’s done we can see pushed one commit to origin master so if we now go back to GitHub again and we Reload this page we can see added some important comment now but this is exactly what we basically want to see we have just committed another change to GitHub and it’s now all on GitHub and that’s actually also how easy it can be to set up the GitHub repository for this And that’s pretty much all that we need for the time being but that’s it for this tutorial right here I hope you found this useful and you learned something new and I’ll see you all in the next tutorial so yeah Video Information
This video, titled ‘Minecraft 1.19.3 – Forge Modding Tutorial: Workspace Setup | #1’, was uploaded by Modding by Kaupenjoe on 2023-01-18 15:59:50. It has garnered 31216 views and 506 likes. The duration of the video is 00:16:48 or 1008 seconds.
In this Minecraft Modding Tutorial for Forge in Minecraft 1.19.3, we’re setting up the workspace and beginning a new series!
== SUPPORT ME ON PATREON == ▶️ https://www.patreon.com/Kaupenjoe
== COMPATIBILITY == ▶️ Compatible with 1.19.3 and 1.19.4 🛑 NOT COMPATIBLE with 1.20.X
== ASSETS & DOWNLOAD LINKS == Adoptium JDK: https://adoptium.net/temurin/releases/ Java Playlist: https://www.youtube.com/playlist?list=PLKGarocXCE1FeXvEogpjz4SvHxF_FJRO6 IntelliJ IDEA: https://www.jetbrains.com/idea/download/#section=windows Forge Download: https://files.minecraftforge.net/net/minecraftforge/forge/
GitHub Repo: https://github.com/Tutorials-By-Kaupenjoe/Forge-Tutorial-1.19.3/tree/1-setup
== 25% OFF FOR GAMING SERVERS == ▶️ https://www.bisecthosting.com/Kaupenjoe
== TAKE A LOOK AT MY COURSES WITH COUPON CODES == ▶️ NEW Forge Modding with Minecraft 1.20.X: https://url.kaupenjoe.net/CourseForge120X ▶️ Learn Forge Modding with Minecraft 1.18: https://url.kaupenjoe.net/CourseForge118 * ▶️ Learn Fabric Modding with Minecraft 1.18: https://url.kaupenjoe.net/CourseFabric118 * ▶️ Complete and Roblox Lua Game Development: https://url.kaupenjoe.net/RobloxCoupon *
== SUPPORT ME ON PATREON == ▶️ https://www.patreon.com/Kaupenjoe
== SOCIALS == Discord: https://discord.com/invite/yqxykanpWf Personal Twitter: https://twitter.com/Kaupenjoe
Instagram: https://url.kaupenjoe.net/tutorials/instagram Facebook: https://url.kaupenjoe.net/tutorials/facebook Twitter: https://url.kaupenjoe.net/tutorials/twitter TikTok: https://url.kaupenjoe.net/tutorials/tiktok Written Tutorials: https://url.kaupenjoe.net/tutorials/blog
== LICENSE == Source Code is distributed under the MIT License. Additional Licenses for other assets can be seen below or in the accompanying CREDITS.txt on download.
== AFFILIATE DISCLAIMER == * Some of the links and other products that appear in the video description are from companies which I will earn an affiliate commission or referral bonus from or are my own products. This means that if you click on one of the product links, I’ll receive a small commission or additional kickback without any additional cost for you. This helps support the channel and allows me to continue to make videos. Thank you for the support!
== HASHTAGS == #Minecraft #MinecraftModding #MinecraftTutorial #Kaupenjoe