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.

315Lukas

Members
  • Joined

Everything posted by 315Lukas

  1. Why do you develop for 1.8? Also post the crash report please.
  2. Have you tried updating or removing CodeChickenLib or NEI?
  3. Thanks, I got it working now: public void playEvent(EntityPlayer player, int code, BlockPos pos, int blockId) { EntityPlayerSP realPlayer = Minecraft.getMinecraft().thePlayer; if (code == 2001 && player == null && realPlayer != null && realPlayer.getDistanceSq(pos) < 46 && realPlayer.rayTrace(4.5, 0).getBlockPos().equals(pos) && realPlayer.isSwingInProgress) { // 50 == 5 blocks (max. 4) this.blockBroken = true; } }
  4. I don't want to modify, I only want to add stuff
  5. Okay, but how could I do this for every block?
  6. I wanted to draw some particles (but I don't understand why this matters?)
  7. Hello all. I'm trying to find a way to tell if the player broke a block client-side - any block at all. I've tried using BlockEvents.BreakEvent but that appears to be server-side only... (isRemote only returns false, never true) It's for rendering stuff, so I really don't want to send packets every time the player breaks a block... has anyone got any ideas?

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.