Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

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

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?

Placements are broken up into multiple parts. If you wanted to do use an old placement, you'll probably need a combination of at least two placements to be able to do that. Which ones you choose are up to you.

  • Author
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.

  • Author
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

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...

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.