Jump to content
  • Home
  • Files
  • Docs
Topics
  • All Content

  • This Topic
  • This Forum

  • Advanced Search
  • Existing user? Sign In  

    Sign In



    • Not recommended on shared computers


    • Forgot your password?

  • Sign Up
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • [1.16.3] How do I create a new Dimension?
Currently Supported: 1.16.X (Latest) and 1.15.X (LTS)
Sign in to follow this  
Followers 1
AstroTurffx

[1.16.3] How do I create a new Dimension?

By AstroTurffx, October 19, 2020 in Modder Support

  • Start new topic

Recommended Posts

AstroTurffx    0

AstroTurffx

AstroTurffx    0

  • Tree Puncher
  • AstroTurffx
  • Members
  • 0
  • 6 posts
Posted October 19, 2020

So I want to create a new dimension Identical (almost) to the overworld without any ores (maybe some specific ores) how can I do this? The best tutorial i could find is for 1.15 but even that didn't work. Also is there a better forge documentation because the official documentation aren't that good.

Share this post


Link to post
Share on other sites

ChampionAsh5357    161

ChampionAsh5357

ChampionAsh5357    161

  • World Shaper
  • ChampionAsh5357
  • Members
  • 161
  • 1021 posts
Posted October 19, 2020

It's called using JSON files now, so the lack of tutorials will persist until someone does something original and creates it. There is no need for a mod here if you plan on replacing one the vanilla dimensions.

2 hours ago, AstroTurffx said:

The best tutorial i could find is for 1.15 but even that didn't work.

If you use a tutorial word-by-word, that is how it will be. Always take tutorials with a grain of salt as they usually promote incorrect code, bad practices, or just don't help you learn anything in the process.

2 hours ago, AstroTurffx said:

Also is there a better forge documentation because the official documentation aren't that good.

What? The Forge documentation is the documentation of using the Forge library. Figuring out how to write a JSON file is just as simple as looking on the internet for the file breakdown or looking at the source for the codec information. There is no "official" documentation.

Share this post


Link to post
Share on other sites

AstroTurffx    0

AstroTurffx

AstroTurffx    0

  • Tree Puncher
  • AstroTurffx
  • Members
  • 0
  • 6 posts
Posted October 20, 2020

Does it have to be in a datapack? If not where do I put the JSON file in my project and can I change the default dimension types?

Share this post


Link to post
Share on other sites

MostafaSabry55    2

MostafaSabry55

MostafaSabry55    2

  • Stone Miner
  • MostafaSabry55
  • Members
  • 2
  • 59 posts
Posted October 20, 2020
Quote

If you use a tutorial word-by-word, that is how it will be. Always take tutorials with a grain of salt as they usually promote incorrect code, bad practices, or just don't help you learn anything in the process.

Whatever you do try staying away from HarryTalks and TechnoVision especially

 

About your problem, you can try seeing other mod's sourcecode (credit them surely) or refer to vanilla dimensions, maybe you might find something

Share this post


Link to post
Share on other sites

DontTalkIfDontHelp    0

DontTalkIfDontHelp

DontTalkIfDontHelp    0

  • Tree Puncher
  • DontTalkIfDontHelp
  • Members
  • 0
  • 10 posts
Posted October 21, 2020

 

On 10/20/2020 at 5:06 AM, ChampionAsh5357 said:

If you use a tutorial word-by-word, that is how it will be. Always take tutorials with a grain of salt as they usually promote incorrect code, bad practices, or just don't help you learn anything in the process.

I see you everywhere, alway back-talking the other with their bad codes, not best practice, blah blah.

But do you even help anything beside talking? I can't see you provide any value beside talking :)

Share this post


Link to post
Share on other sites

DontTalkIfDontHelp    0

DontTalkIfDontHelp

DontTalkIfDontHelp    0

  • Tree Puncher
  • DontTalkIfDontHelp
  • Members
  • 0
  • 10 posts
Posted October 21, 2020
On 10/20/2020 at 3:53 PM, MostafaSabry55 said:

Whatever you do try staying away from HarryTalks and TechnoVision especially

 

About your problem, you can try seeing other mod's sourcecode (credit them surely) or refer to vanilla dimensions, maybe you might find something

 

What's the problem with TechnoVision?

Can you detail? If no, don't talk like that!

Share this post


Link to post
Share on other sites

diesieben07    7613

diesieben07

diesieben07    7613

  • Reality Controller
  • diesieben07
  • Forum Team
  • 7613
  • 55180 posts
Posted October 21, 2020
1 hour ago, DontTalkIfDontHelp said:

What's the problem with TechnoVision?

Can you detail? If no, don't talk like that!

Alright, occasionally I get bored and I do one of these posts.

 

I looked at their latest (as of the time of this post) video: https://youtu.be/F79DNgi5d_o. Here is what I found:

  • [0:40] "Call this calls ModSpawnEggItem" - completely irrelevant how you call this class.
  • [1:00] "Click here, to add constructor matching super" - why? How is this relevant to modding? This is basic Java knowledge. Either you explain what you do here (which means you need to explain what constructors are and what inheritance is) or you assume this knowledge, which means you don't need to talk about this at all.
  • [1:08] "I think it could be public, but we'll just make it protected" - He doesn't even know how Java visibility modifiers work himself. Great teacher for modding a game written in Java!
  • (Side note here, this is just personal preference but god damn it TechnoVision, USE ALT-ENTER! Using the mouse is sooooo sloooooow).
  • [1:49] Why using a Lazy? Instead of a Supplier? You get a Supplier out of the DeferredRegister anyways, no need to convert it to a Lazy.
  • [1:55] He keeps calling "?" in a generic type "a generic". This is not the correct name. This is called a wildcard.
  • [3:24] Him calling that super constructor with null as the type will result in a null key in SpawnEggItem#EGGS. That should be cleaned up. His explanation as to why it "doesn't matter" (it does...) is also not an explanation. He just mumbles a view techno-babble-esque words.
  • [6:23] "This field is in SpawnEggItem and it's this map here" *highlights a local variable in a completely different class*. Yeah right.
  • [7:05] Then he proceeds to type in and explain copy pasta code from vanilla as if it was his own creation. What the hell?
  • [8:19] That is a terrible explanation of casting.
  • [12:23] "We want this to be clear, every single time." In a method that is called once. Why? This is not an explanation.
  • [13:11] "This is like a utility class". No. Not it is not.
  • [13:56] Utterly broken. Why is this in a client-only event subscriber? This will make the mod not work on servers.
  • [14:11] "Right when the entities have been registered" - No. That is not what this event does. This event fires when you should register your entities, not when they have already been registered. This event is also the wrong choice for most of what is done in the initSpawnEggs method.
  • [17:05] Should be using data generators.
  • [18:14] Again, should be using data generators.
  • [18:30] "File > Save all" LOL this is not eclipse.

On an overall note: This code is 1:1 the same crap that TurtyWurty showed in his video from a couple of days earlier. Oh but don't be fooled, he did not come up with it either. He copied it from Cadiboo, who I vaguely remember still spending the time (with me partly helping him if I remember correctly) to figure this crap out on the Forge discord and this forum.

 

So. Question answered? That is the problem with TechnoVision, TurtyWurty, HarryTalks and all those "Modding tutorial" people on youtube (McJty specifically excluded!). They are unoriginal, unhelpful, promote bad coding practices and even outright broken code.

 

 

 

  • Like 2

Share this post


Link to post
Share on other sites

diesieben07    7613

diesieben07

diesieben07    7613

  • Reality Controller
  • diesieben07
  • Forum Team
  • 7613
  • 55180 posts
Posted October 21, 2020

I went and took a shower and I just have to add this.

18 minutes ago, diesieben07 said:

[13:56] Utterly broken. Why is this in a client-only event subscriber? This will make the mod not work on servers.

I need to highlight again how bad this is. This shows that he is lacking absolute basic fundamental understanding about how the game works. He even says out loud that he is doing it in the client-side event subscriber, so it is not just a small slip up.

Do you really want to learn how to drive from someone who can't tell the blinker stalk from the gear lever? Probably not. Granted, you can't die from writing a terrible mod (although I have not tried), but people who follow this will then end up here on the forum with their giant wall of (essentially) copy-paste code (although they likely typed it in manually while the video was going on...) and we have the task of figuring out which part is broken all the while dealing with someone who barely understands Java.

Share this post


Link to post
Share on other sites

DontTalkIfDontHelp    0

DontTalkIfDontHelp

DontTalkIfDontHelp    0

  • Tree Puncher
  • DontTalkIfDontHelp
  • Members
  • 0
  • 10 posts
Posted October 21, 2020 (edited)
48 minutes ago, diesieben07 said:

Alright, occasionally I get bored and I do one of these posts.

 

So. Question answered? That is the problem with TechnoVision, TurtyWurty, HarryTalks and all those "Modding tutorial" people on youtube (McJty specifically excluded!). They are unoriginal, unhelpful, promote bad coding practices and even outright broken code.

 

Nice, so that's it. This is too much but at least you show some proof (y)

 

And I think, people in this forum should declare at least 1 of other people mistake before back-talking.

Also, i'm very triggered by the way you just said "No no abc is not good" but not show the author of this topic the answer. The general i'm seeing in this forum is alway

"No no don't follow abc they're very bad, you should learn Java first and then learn Forge, search for relative topic,..." <= This sentence here not helpful at all, they're just only care about the answer. So If I have a link of a good tutorial, why not share them instead of talking like that?

 

That's my reason...

Edited October 21, 2020 by DontTalkIfDontHelp

Share this post


Link to post
Share on other sites

ChampionAsh5357    161

ChampionAsh5357

ChampionAsh5357    161

  • World Shaper
  • ChampionAsh5357
  • Members
  • 161
  • 1021 posts
Posted October 21, 2020
6 hours ago, DontTalkIfDontHelp said:

I see you everywhere, alway back-talking the other with their bad codes, not best practice, blah blah.

But do you even help anything beside talking? I can't see you provide any value beside talking :)

Thanks for the compliment. Talking tends to help when I'm trying to convey my reasoning to another person.

And yes, I will criticize bad practices or bad design to help point out issues in what could be done better. I even criticize my own videos due to their outdated code and inefficient practices, so I stopped making them. I'm here to help people improve what they are currently doing and not let them keep making the same mistakes. There is a difference between criticizing and back-talking, they're my own opinions and although you don't have to listen to me, quite a number of people share it including those in the Forge team.

If you're looking for something that can walk you through without you applying any knowledge for yourself, then sure use the tutorials. However, you most likely will not learn the underlying concept trying to be explained and not be able to adapt your knowledge and think for yourself. I can use an example from TechnoVision's tutorial from his block state episode where they add the methods AbstractBlock#rotate and AbstractBlock#mirror. Anyone watching probably cannot tell me what either of those overrides do and why they should be added. Just adding those methods doesn't teach you anything if you don't know why you need to include them.

3 hours ago, DontTalkIfDontHelp said:

"No no don't follow abc they're very bad, you should learn Java first and then learn Forge, search for relative topic,..." <= This sentence here not helpful at all, they're just only care about the answer. So If I have a link of a good tutorial, why not share them instead of talking like that?

I want to direct people towards accurate and standardized practices that should be used within Java and the Forge library. If you came here looking for an answer and expecting to put in no work (e.g. copy-paste), then you should really take the time to evaluate what you came here to do. We're here to provide you the tools to succeed and not the final product. Giving them a place where they can discover the answer is more powerful than giving them the answer itself. I've said this many times: the job of a programmer is to be able to adapt to a situation with no prior knowledge of what they will be working with. Asking for help to understand a specific portion of how to use a specific method or field is fine and provides you with insight. However, simply just going "tell me" will not teach you anything.

So, to answer your statement, if they only care about the answer, then in my opinion they should choose something else to do. Otherwise, they will ask they same questions over and over again, copy-paste from others, and will fail in the long run.

Share this post


Link to post
Share on other sites

DeafCommunity    0

DeafCommunity

DeafCommunity    0

  • Tree Puncher
  • DeafCommunity
  • Members
  • 0
  • 3 posts
Posted October 22, 2020

Nope!

Now I know why this forum and community dead AF. Even there is no prober Guide/Tutorial topic.

Just people hanging around and blame for the one actual provide tutorial =))

Okay bye bye woman losers!

 

Especially you, @ChampionAsh5357

Talk too much!

Share this post


Link to post
Share on other sites

ChampionAsh5357    161

ChampionAsh5357

ChampionAsh5357    161

  • World Shaper
  • ChampionAsh5357
  • Members
  • 161
  • 1021 posts
Posted October 22, 2020 (edited)
18 minutes ago, DeafCommunity said:

Now I know why this forum and community dead AF. Even there is no prober Guide/Tutorial topic.

Glad to know we are helping others correctly then. You came to the wrong place looking for a guide/tutorial. Read the documentation, ask questions, and don't troll and a douche to those who actively try to help people.

Feel free to be as rude to me as you want though. I personally don't mind since all you guys want is an answer and you're annoyed we're trying to help you succeed rather than make it easy for ya.

Have a wonderful day!

Edited October 22, 2020 by ChampionAsh5357

Share this post


Link to post
Share on other sites

poopoodice    114

poopoodice

poopoodice    114

  • Dragon Slayer
  • poopoodice
  • Members
  • 114
  • 900 posts
Posted October 22, 2020 (edited)

People are allowed to have their own opinion. Some people thinks those tutorials are shit, some people does not, and they can surely decide what they want. I think what Ash was trying to say is some of the people can't do anything when there's no tutorial specific for their target. For example "render a sentence above all entities that have *condition checking* in my own capability", you may find some tutorial of this, but usually you can't because it's a combination of multiple things (in this case capability and rendering). Hence they asks: "how do I do this, do that", and when the other people provide answer like: "you need to store information on entities using capability, and check how vanilla render the named entities", they get confused because they are used to someone gets them step by step, even better - copypaste code. And eventually it brings more questions, questions that are asked without researching or trying.

If you want to make this forum better to reach your expectations, this forum is opened to everyone, and that includes you :).

 

Arguments are fine, but please don't insult people.

54 minutes ago, DeafCommunity said:

Okay bye bye woman losers!

 

Edited October 22, 2020 by poopoodice

Share this post


Link to post
Share on other sites

diesieben07    7613

diesieben07

diesieben07    7613

  • Reality Controller
  • diesieben07
  • Forum Team
  • 7613
  • 55180 posts
Posted October 22, 2020

Obviously they were not able to have a civilised discussion. Their 2nd account has been banned and I'm locking this thread.

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 1
Go To Topic Listing



  • Recently Browsing

    No registered users viewing this page.

  • Posts

    • Jack Richard
      [1.15.2] Minecraft Registry Problem When Loading from Jar

      By Jack Richard · Posted 1 hour ago

      Thanks so much for your help! I removed the log4j dependency, I honesty don't remember when I put that there. Once I fixed the jar.finalizedBy line, everything worked! (One small issue where I was relocating all of "com.google" when I just should've relocated "com.google.common," too)   Thanks again!
    • Teedledee
      1.16.4 Failed to synchronize registry data with server LAN

      By Teedledee · Posted 1 hour ago

      Fixed the issue, one config didnt match, downloaded randompatches to solve badly compressed packet afterwards.
    • DaemonUmbra
      [1.15.2] Minecraft Registry Problem When Loading from Jar

      By DaemonUmbra · Posted 1 hour ago

      First of all, why are you shadowing log4j? Minecraft already provides log4j2. Second if build is running shadowjar instead of jar then you might need to tweak the line where it says jar.finalizedBy('reobfJar') to finalize shadowJar instead
    • DaemonUmbra
      "The game crashed whilst rendering overlay"

      By DaemonUmbra · Posted 1 hour ago

      What do you think you should do about this?
    • DaemonUmbra
      IntelliJ doesn't include resources folder while debugging

      By DaemonUmbra · Posted 1 hour ago

      What version of Minecraft are you using?
  • Topics

    • Jack Richard
      2
      [1.15.2] Minecraft Registry Problem When Loading from Jar

      By Jack Richard
      Started 1 hour ago

    • Teedledee
      2
      1.16.4 Failed to synchronize registry data with server LAN

      By Teedledee
      Started January 17

    • GuyWithTVHead
      1
      "The game crashed whilst rendering overlay"

      By GuyWithTVHead
      Started 1 hour ago

    • GermanBucket
      2
      IntelliJ doesn't include resources folder while debugging

      By GermanBucket
      Started 3 hours ago

    • Arthurmeade12
      8
      Error Conecting to My Minecraft Server

      By Arthurmeade12
      Started Yesterday at 06:05 PM

  • Who's Online (See full list)

    • StealthyNoodle
    • pupymk1
    • PyRoTheLifeLess
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • [1.16.3] How do I create a new Dimension?
  • Theme

Copyright © 2019 ForgeDevelopment LLC · Ads by Longitude Ads LLC Powered by Invision Community