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.

Adham-084

Members
  • Joined

  • Last visited

  1. But what about if it were in single player (integrated server)?
  2. I will try this out, thx for help!
  3. Any block the player looking at.
  4. I have tried without it but same result. In what event should I get the value, dose RenderGameOverlayEvent occur in the server, because I want the value in this event, and how to send it to client?
  5. So I'm trying to get the comparator input override of a block (if it has one) with something like: @OnlyIn(Dist.CLIENT) @SubscribeEvent public void onRenderGameOverlay(RenderGameOverlayEvent.Post event) { //... if (blockstate.hasComparatorInputOverride()) { int p = blockstate.getComparatorInputOverride(minecraft.world, tBlockPos); } //... } For blocks like bee nest and cauldron it worked, but for blocks with inventory it always returns 0 because when it tries to get the block inventory gets an air full inventory(not null) even when the chest is full.
  6. Dose this still work for forge gradle with minecraft 1.16.5?

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.