Jump to content

Recommended Posts

Posted

Hello! Any help would be appreciated. Thanks!

 

I was updating my mod to forge 1.16.3 when I noticed it no longer works because the CountRangeConfig class is missing from the Minecraft files.

 

Is this a bug? Did the name change? Is it something else entirely?

Screenshot (2).png

Posted
2 hours ago, XenonIX said:

I was updating my mod to forge 1.16.3 when I noticed it no longer works because the CountRangeConfig class is missing from the Minecraft files.

I think CountRangeConfig no longer exists. You could look for a suitable replacement by looking at which classes implements IPlacementConfig. Perhaps TopSolidRangeConfig?

Posted
9 hours ago, vemerion said:

I think CountRangeConfig no longer exists. You could look for a suitable replacement by looking at which classes implements IPlacementConfig. Perhaps TopSolidRangeConfig?

I tried that before I posted this already. I thought that would work, but to no avail. I'll try Ash's idea next.

Posted
1 hour ago, XenonIX said:

I tried that before I posted this already. I thought that would work, but to no avail. I'll try Ash's idea next.

So what can I combine with TopSolidRangeConfig to fix these errors?

 

Screenshot (3).png

Screenshot (4).png

Posted

First, that is not how you do generation first of all, see Problematic Code 11.

Second, you can't create a configured placement without specifying a placement. What are you configurating?

Third, there is some placement called "count" and some placement called "range" and a combination of those two will get your ore generating correctly.

Fourth, you could've just looked in Features and looked at how ores do it.

Fifth, there is no fifth point, fix the generation again (first point is important).

Sixth, use upper camel case for class names.

Seventh, use lower camel case or snake case for non-static final fields.

Eighth, don't reconstruct a list many times when the information is static. Make it a global field.

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.