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.

aha00

Members
  • Joined

  • Last visited

  1. Ok. But what should I add to code to run this on server side ?
  2. Hi. I develop a client side mod for single-player game. I faced such problem. Upon entering the world, the player receives blocks in his inventory. But he cannot use them. The blocks appear in the inventory, but they seem to be virtual. When the player right-clicks, the block is not placed, but the number of blocks in the inventory decreases (in survival mode). What needs to be added to the code so that the blocks are actually placed in the world? Minecraft m = Minecraft.getInstance(); if(m != null && m.player != null && m.player.inventory != null) { m.player.inventory.add(1, new ItemStack(Blocks.YELLOW_WOOL, 30)); }

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.