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.

4rmy

Members
  • Joined

  • Last visited

  1. Thank you for your help! I was originally using chatGPT3 to try and find a method but it fell into a hole. If there is no way then I will try to find a different goal to achieve.
  2. If you have seen an x-ray mod like the one in Meteor client, I am trying to do the same effect, but I am only doing it to certain blocks. See image:
  3. I have an item that, when right clicked on a vanilla block, should turn the block invisible. I am not trying to add a new block, but rather change the existing block.
  4. The mod isn't exactly what I am looking for. That mod outlines the blocks. I want to turn the block invisible.
  5. I am writing a simple security mod where only the player who placed the block can see it
  6. 4rmy joined the community
  7. I am writing a mod that requires that a block be set as invisible on the client side. My code currently has: BlockPos pos = new BlockPos(x, y, z); BlockState blockState = Minecraft.instance().level.getBlockState(pos); Block block = blockState.getBlock(); but I cannot find a method to make the block invisible. My event listener is: @SubscribeEvent public void onRenderWorld(RenderLevelStageEvent event) I cannot use Minecraft.instance().level.setBlock(block, Blocks.AIR.defaultProperties, 3); as that did not work. The block has to be visible to other players.

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.