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

I think the light calculation process of the Minecraft is not enough customized through Forge,

 

So I suggest adding a 'Light API' to the Forge.

 

Light API would give modders access to Minecraft's light calculation process,

 

so modders can modify the light properties for their world, etc.

I. Stellarium for Minecraft: Configurable Universe for Minecraft! (WIP)

II. Stellar Sky, Better Star Rendering&Sky Utility mod, had separated from Stellarium.

  • Author

What I wanted was changing basic light calculation method of minecraft,

which covers every parts of the world, not specific Tile entity or something.

 

I think there is plenty of modularizable things at light calculation.

if that is not possible, at least I want interfaces like 'LightCalcHandler' for specific added world.

I. Stellarium for Minecraft: Configurable Universe for Minecraft! (WIP)

II. Stellar Sky, Better Star Rendering&Sky Utility mod, had separated from Stellarium.

Not trying to sound like a dick but to give some illustration to your request i'm going to use a little hyperbole.

"I want your program to do the thingy with the stuff and the doohickey"

"What?"

"I want thingies!"

 

You need to be more specific, "Light API" is very broad, we expose and expand upon A LOT of light related things in Minecraft.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

  • Author

So, I'd say more details about this..

 

What I want is:

 

1. Separate getSunBrightness, calculateSkylightSubtracted, etc. from getCelestialAngle

I realized that what we can change about the skylight is only the Celestial Angle, but one could want to make it dark while sun is still on the surface.

So I want to make them independent, like moving the methods to the worldprovider, etc,

and change their name more understandable like "getSkyBrightness"

so they can use this easily to Solar panel, etc.

 

2. Modifiable getBlockLightValue in World class and Chunk class, etc.

Maybe someone would want to add light diffraction to his/her world,

so making these methods modifiable in the worldprovider class will be better.

 

3. Give getCelestialAngle more parameters.

I want to make the mod 'Stellarium' which makes celestial angle differs via coordinates.

so, I want some parameters which could give the coordinates information, etc.

Of course I know that this have many issues, but I really want it.

 

4. Customizing Moon Factors

I've seen that we can only modify the phase of the moon through the world.

I want it more specific and direct, like moving the method "getCurrentMoonPhaseFactor" to the worldprovider.

There would be many ways...

 

5. Gather Dispersed Effect of Rain and Thunder, etc. into one or more classes.

I've seen that Effect of Rain and Thunder is dispersed on many functions.

I think it would be better to gather them into one or more classes,

and customize them, and give some space to other (weather) effects which can be added by some mods.

I. Stellarium for Minecraft: Configurable Universe for Minecraft! (WIP)

II. Stellar Sky, Better Star Rendering&Sky Utility mod, had separated from Stellarium.

  • Author

Can I make a PullRequest, then?

I. Stellarium for Minecraft: Configurable Universe for Minecraft! (WIP)

II. Stellar Sky, Better Star Rendering&Sky Utility mod, had separated from Stellarium.

  • Author

I want any answer on this suggestion..

I. Stellarium for Minecraft: Configurable Universe for Minecraft! (WIP)

II. Stellar Sky, Better Star Rendering&Sky Utility mod, had separated from Stellarium.

I want any answer on this suggestion..

 

There's nothing stopping you making a PR, it either gets accepted or rejected.

Don't ask for support per PM! They'll get ignored! | If a post helped you, click the "Thank You" button at the top right corner of said post! |

mah twitter

This thread makes me sad because people just post copy-paste-ready code when it's obvious that the OP has little to no programming experience. This is not how learning works.

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.