Jump to content

Recommended Posts

Posted (edited)

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 by Gargin
  • 5 months later...
Posted

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.

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.