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

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

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

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.