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.

yoinkityyoinks

Members
  • Joined

  • Last visited

  1. How do you get the break progress from a blockpos?
  2. Is there way to do this in code or do I really need to create custom layers
  3. Normally I use mc.entityRenderer.loadShader(new ResourceLocation("shaders/post/blur.json")); to load a shader however, this puts the shader on the entire screen. How do I apply the blur shader on only a specific part of the screen? I tried Field resourceManager = EntityRenderer.class.getDeclaredField(Mapping.resourceManager); /* shaderGroup = isObfuscated() ? "field_147707_" : "shaderGroup"; */ Field shaderGroup = EntityRenderer.class.getDeclaredField(Mapping.shaderGroup); /* resourceManager = isObfuscated() ? "field_147711_ac" : "resourceManager"; */ Field useShader = EntityRenderer.class.getDeclaredField(Mapping.useShader); /* useShader = isObfuscated() ? "field_175083_ad" : "useShader"; */ resourceManager.setAccessible(true); shaderGroup.setAccessible(true); useShader.setAccessible(true); shaderGroup.set(mc.entityRenderer, new ShaderGroup(mc.getTextureManager(), (IResourceManager) resourceManager.get(mc.entityRenderer), mc.getFramebuffer(), new ResourceLocation("shaders/post/blur.json"))); ((ShaderGroup) shaderGroup.get(mc.entityRenderer)).createBindFramebuffers(300, 300); useShader.setBoolean(mc.entityRenderer, true); However, this shurk my entire screen and applied the blur filter there and resizing the window causes it to reset. Is there any way I am able to only blur the part of the screen I want and not just the entire screen?

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.