Jump to content

load_registry event phase


Guest

Recommended Posts

22 hours ago, Animefan8888 said:

This is the constructor to my @Mod class.

 

I create a Pair variable and set it equal to ForgeConfigSpec.Builder#configure

CrystalConfig is a class that has this as it's constructor.

It takes in a Builder and inside this constructor I create my config file using Builder#push(...) Builder#comment etc. I store the config values here as well.

 

Now I store the CrystalConfig value from the pair into my @Mod class.

Then I register the other value as a config.

please don't give up on me, I want to learn this.

Link to comment
Share on other sites

1 hour ago, DrMDGG said:

please don't give up on me, I want to learn this. 

I never said "I give up" but I do have a life outside helping on this forum.

 

6 hours ago, DrMDGG said:

do i add it to my main class

The part where I said this is the constructor to my @Mod class goes in your main class, specifically in your constructor. The second part where it's in my CrystalConfig class this would go into whatever class you want to store your config information in.

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

Link to comment
Share on other sites

18 hours ago, Animefan8888 said:

The part where I said this is the constructor to my @Mod class goes in your main class, specifically in your constructor. The second part where it's in my CrystalConfig class this would go into whatever class you want to store your config information in.

alright, well I'm about to give up on this section of my mod. I haven't be able to use your code that you showed me because I just don't understand. call me illiterate.

here's my new dimensional generator: https://pastebin.com/E9irZXsh

 

I am getting an error at the "super.func_212245_a" and also the CompositeFeature is causing problems.

feel free to give up now if you can't help lol

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.