Let’s travel to distant far of worlds let’s see how to add a custom dimension to minecraft all right we found ourselves back in intellij once more and in this tutorial we are finally going to add our own custom dimension to minecraft the first thing that i wanted to mention Is that this has been heavily inspired almost one to one by the daylight dimension mod from dunk mania 101 so i wanted to give proper credit where credit is due the mod helped me insanely to kind of understand what is going on and how dimensions work of course Everything linked in the description and also in the actual credits as well and yeah from here we can basically take it and go back to intellij and let’s just start really easy process all things considered the really hard part of adding the dimension is getting it Exactly the way you want to and that’s really the well very hard part but let’s first of all create all of the classes so instead of our world package right click new package called dimension and then inside of there we’re going to create two new classes one of them is Going to be the mod dimensions class and the other one is going to be the kj teleporter now you could also call this the simple teleporter whatever you really you want to that really makes no difference there however it is a particular teleporter there i’m going to copy everything over this is Available to you in the description below get a repository or in individual gists as well because this actually is quite a bit and usually it’s more interesting if i go through and explain everything so there’s two things here which are well will be marked wrong however for you they will not be because We’re actually going to take the carbon alter block and then here also the carbon altar right there so basically when we right click the kelvin alta then we’re going to be teleported that’s sort of the idea and overall what is happening here is well the main thing basically is this place entity method Right here so we’re implementing the i teleporter and the place entity method basically places our entity into a different dimension so we have the current world as well as the destination world and what we’re basically checking here is that hey is this destination spot that we want to set our new Teleporter because of course you know when you are in for example the overworld and create a nether portal then the nether portal gets generated on the other side as well and that has to be a valid position and that’s basically what we’re doing here we’re basically Trying or about 25 times to find a valid position where we can place our well in this case our ulta and once we have set that then we’re going to set the position of the entity to this new world and well and then we’re going to basically also going To check okay can we also now set the alter down there is the entity not going to be in a in a wall and all of that that’s basically what has what is happening here it’s like i said it’s not too crazy the main thing here is this if We’re inside of the dimension are we going to set the a block to the block with which we can then teleport back that’s sort of the idea because that’s kind of important and this is also the method where you would replace things like that so this is the teleportation Basically and the next thing we’re going to do is the mod dimensions now that is actually so easy i will write it out and what you will notice is that i’m not going to make a deferred register actually we’re going to make a registry key of type world and this is going to Be called the kj dim because that’s just why not the open joe dimension i’m going to import the world class as well as the registry key class and this is going to be equal to registry key dot get or create registry dot world key comma and then we want a new Resource location tutorial mod dot mod id then kg dim all written a lower case and that’s literally all that our mod dimension class is there’s literally nothing else that we need to do here i know it actually seems crazy but it is indeed the case because the actual data For the dimension is going to be in our data folder in just a moment but first of all we’re going to go to our alter block right here and we’re going to add it so that when you right click it you’re going to be teleported into Your new dimension and the thing is that you could in theory add this to any block that you want you simply want to use the on block activated method so right here on block activated this is the method that is being called when you right click a block i’m just going to Format this a little bit nicer let’s actually do something like this there you go and i’m going to copy over once again the contents of this class or rather this method here and you will see that it’s actually not too bad all things considered if we take a look at This first of all are we on the server all right that’s totally fine is the player not crouching also not an issue and then we have the we’re basically getting the minecraft server and making sure that okay does this exist and if it exists then the real interesting stuff Happens because then we’re basically asking okay in what dimension are we currently in because of course the actual our destination changes based on where we are right so in this case if you can see so the world get dimension key means in what dimension are we in is This our custom dimension then our new dimension is going to be the overworld and then we’re basically saying okay as long as this exists then we’re going to change to the overworld if we are however not in this kj dim then we’re going to go basically into it so that is Sort of the idea here all things considered this is actually not too crazy of a concept i think the really the the kicker once again are going to be the json files because they have to be formatted in a very particular way however that is actually All of the classes that we need to do and now i’m almost shuddering but we’re going to go to the json files so i will actually create two new directories inside of our data folder tutorial mod and that is going to be the dimension holder as well as the dimension Underscore type folder now i will actually copy over the json files that i’ve already prepared and i will explain once i have copied them over so we have like i said a dimension type and a dimension json file and the dimension type basically sort of Has a few settings inside of it how the actual dimension works so as you can see do beds work does it have raids what is the height is there infiniburn for example things like that so there’s a few well key type things in here and the dimension json file basically signifies hey how Does this dimension look what type of biomes are there stuff like that and for that i have a great resource once again of course i’m talking about a missode.github github io once for the dimension and once for the dimension type i can very much just advise you to Try and use those two to generate your dimension json because even if you have like one thing that’s missing that is not optional it’s not going to work and the dimension is not going to properly register and you can also check the wiki so this is the minecraft fandom wiki on the custom Dimension i can definitely also advise you to take a look at that because there you can see the syntax it is actually very important that the syntax here is absolutely correct we can see that some things here for example we go down a little bit you Will find that um first of all there’s a lot of stuff in here right as you can clearly see you can have a different type of generators and you can see that sometimes some things are optional like the lakes here features here but not all of them are optional so even though If we take a look back here you can see that and what i have here is well just a few things however they all are basically what we have to have so they’re all mandatory to have it’s best if you want to you know create your own Crazy dimensions take a look at the wiki and the missile generator i can definitely just advise you to take a look at all of those and then you will hopefully probably get to create the dimension of your dreams so to speak and then there’s also of course github Repositories of other mods that also might help you to just you know get closer to what you want to create however that is all that we need to create our own custom dimension so now let’s see if it works all right and of course also don’t Forget to create a new world for this sometimes it might work like retroactively however creating a new world definitely makes sure that everything works fine so keep that in mind and once again you will be greeted by the experimental settings here that are not supported this is just how it’s Going to be there is a mod that i will link in the description below that you can basically well recommend to your users that also use your mod that is basically just going to shut this down and not going to have this however that is something you will will have to kind Of figure out and just tell your users so that because this is definitely very annoying all right we found ourselves in minecraft so let’s see let’s take the help alter and let’s just set it down and when i right click it i should get teleported to the new dimension That is a promising start and here i am in the new dimension now it looks very similar because of course well it’s just the normal overworld however if i press f3 then you can see right here tutorial mod kj dim so i am actually in the other Well dimension and i can simply right click the cup alter again and i will get teleported back to exactly the place where i was before so i would say that’s pretty cool right and once again actually creating the dimension to your exact specifications can be very Difficult and you know it’s going to be a lot of work however hopefully this is going to be the first step to actually implementing your dimension and then every fine tuning you will have to do yourself but i’m very confident that after all that we’ve been through with This tutorial series you can do it i’m very excited to see what types of mods you come up with and if you want to share those by the way there is a link in the description below to my discord server that you can join there you can Also of course receive some help from myself or some community members and it’s all in all just a great place where you can also share your basically work and your mod and yeah so that’s something i wanted to mention but that would be it for this tutorial Right here i hope you found this useful and you learned something new if you did i would of course appreciate like and don’t forget to subscribe for more tutorials just like this one so yeah Video Information
This video, titled ‘Add CUSTOM DIMENSION to Minecraft 1.16.5 | Forge 1.16.5 Modding #50’, was uploaded by Modding by Kaupenjoe on 2021-11-29 15:00:08. It has garnered 5234 views and 116 likes. The duration of the video is 00:10:54 or 654 seconds.
In this Minecraft Modding Tutorial, we are adding a CUSTOM DIMENSION to Minecraft 1.16.5
== MAPPINGS USED THIS TUTORIAL == mappings channel: ‘snapshot’, version: ‘20210309-1.16.5’
== ASSETS & DOWNLOAD LINKS == GitHub Repo: https://github.com/Tutorials-By-Kaupenjoe/Minecraft-1.16.5/tree/48-dimension Gist: https://url.kaupenjoe.net/yt114/gist DaylightDimension Mod: https://github.com/Dunkmania101/DaylightDimension/tree/main/Forge/daylight_dimension_1.16.5 Misode Generator: https://misode.github.io/dimension/ Misode Generator: https://misode.github.io/dimension-type/ Wiki Entry: https://minecraft.fandom.com/wiki/Custom_dimension Shutup Experimnetal Settings: https://www.curseforge.com/minecraft/mc-mods/shutup-experimental-settings Discord Server: https://url.kaupenjoe.net/discord
== TIMESTAMPS == 0:00 Intro 0:17 Inspiration of this Tutorial 0:59 Creating the Classes 1:29 Explaining the Teleporter 3:17 Registering the Dimension 4:13 Right Clicking a Block to Teleport 5:54 Dimension JSON Files 6:57 Misode for Generating Dimension JSON 8:36 Creating a new World 9:15 Demonstration 9:52 Closing Words 10:20 Join the Discord Server 10:37 Outro
== TAKE A LOOK AT MY COURSES WITH COUPON CODES == ▶️ Learn Forge Modding with Minecraft 1.18: https://url.kaupenjoe.net/CourseForge118 * ▶️ Learn Fabric Modding with Minecraft 1.18: https://url.kaupenjoe.net/CourseFabric118 * ▶️ Unity 2D Game Development: Beginner Unity C# in Unity 2020.3: https://url.kaupenjoe.net/UnityENCoupon * ▶️ Minecraft Modding for beginners (1.16): https://url.kaupenjoe.net/MCCoupon * ▶️ Complete and Roblox Lua Game Development: https://url.kaupenjoe.net/RobloxCoupon *
== 1 MONTH SKILLSHARE FOR FREE == ▶️ https://www.skillshare.com/r/user/kaupenjoe *
== SOCIALS == Discord: https://url.kaupenjoe.net/discord 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.
== ADDITIONAL CREDITS == Some part taken from Dunkmania101 – DaylightDimension: https://github.com/Dunkmania101/DaylightDimension/tree/main/Forge/daylight_dimension_1.16.5
Outro Musik by Kevin MacLeod: “That’s a Wrap” Kevin MacLeod (incompetech.com) Licensed under Creative Commons: By Attribution 3.0 http://creativecommons.org/licenses/by/3.0
== AMAZON AFFILIATE LINKS == Amazon Referral [US]: https://url.kaupenjoe.net/amazonref/us * Amazon Referral [UK]: https://url.kaupenjoe.net/amazonref/uk * Amazon Referral [DE]: https://url.kaupenjoe.net/amazonref/de *
== 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