Changing world logic for space themed mechanics

Started by Dbok on

Topic category: Help with Minecraft modding (Java Edition)

Joined Sep 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Changing world logic for space themed mechanics
Fri, 07/26/2024 - 16:06 (edited)

Essentially my problem here is I have extended the world height to 2048 and introduced some space themed structures to world generation. These features already work and are placed in the world properly, but the problem is that they cast REALLY big shadows on the ground. Is it possible to change the height at which SKY light is calculated, specifically beginning at Y960 and going down from there?

I know my way around Java as a language but I'm not sure how to change game code. From the Internet I'm getting some things about overriding the GetSunBrightness method but I don't really know how to do that, yet.

(I do not want to make every block in my mod transparent)

Edited by Dbok on Fri, 07/26/2024 - 16:06
Joined Sep 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
maybe you could make it so…
Fri, 07/26/2024 - 19:13

maybe you could make it so at a specific height in the overworld, you get teleported to a space dimension where all of the structures are, and vis versa for getting back to the overworld?

Joined Sep 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
That would make it easier to…
Fri, 07/26/2024 - 19:13

That would make it easier to add things like low gravity, lack of oxygen, ect.

Joined Sep 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I was going for not adding…
Sat, 07/27/2024 - 16:32

I was going for not adding another dimension because it logically doesn't make sense for the mod's mechanics, and trying to implement this before was not possible because of performance issues