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.

Saevar

Members
  • Joined

  • Last visited

Everything posted by Saevar

  1. I'm trying to place a block(specifically water/lava from a bucket) at certain coordinates. The placement action needs to be sent from the client because I want the mod to work on a vanilla server. What I've got so far places the block where the player is looking at but I don't want that. I thought this would place the block at x:1, y:3, z:0 soo... what am I doing wrong? [embed=425,349]Minecraft.getMinecraft().thePlayer.sendQueue.addToSendQueue(new C08PacketPlayerBlockPlacement(1, 3, 0, f, Minecraft.getMinecraft().thePlayer.inventory.getCurrentItem(), 0.0F, 0.0F, 0.0F));[/embed]
  2. Ok if there is a "hard" way could you point me in the right direction of what I would need to do? Thanks for the quick answer
  3. I want to cancel lava/water placement on a vanilla server, this code works but not on a vanilla server, so my question is if there is any way to cancel lava/water placement client side so the lava doesn't reach the server at all. [embed=425,349]@SubscribeEvent public void onBucketFill(FillBucketEvent event) { event.setCanceled(true); }[/embed]

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.