Posted October 4, 20231 yr Hi there, I'm hoping to create a block that renders a fake skybox, blocking anything behind it. There are a couple of mods that already do this, but they are very outdated. One example: https://github.com/Elix-x/Skyblocks/ https://www.curseforge.com/minecraft/mc-mods/skyblocks I'm not familiar enough with rendering to be able to port it. Is there anyone who can point me in the right direction? Any help would be appreciated. Edited October 4, 20231 yr by Gargin
March 30, 20241 yr I could use this as well; this is an idea that's been in the back of my head for a while. Unfortunately, I know nothing about rendering. In 1.20.1, a quick look around the rendering classes seems to show that the LevelRenderer class in net.minecraft.client.renderer may be the place to look, but I don't know enough to find out. I took a look at the example you linked, but, as you said, it's very outdated. This example seems to be more recent; 1.18.2: https://www.curseforge.com/minecraft/mc-mods/literal-sky-block with source at https://github.com/nanite/Literal-Sky-Block/tree/main I also found this port of the above, which should work for 1.20.1. Unfortunately, it does not work with Optifine (and apparently never will). https://www.curseforge.com/minecraft/mc-mods/block-of-sky with source at https://github.com/CerulanLumina/block-of-sky Hopefully this helps someone!
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.