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.

FredM

Members
  • Joined

  • Last visited

Everything posted by FredM

  1. do you think this is a bug @DaemonUmbra?
  2. lol, sowwy, I thought it was the one who created the post that was answering to my reply ๐Ÿ˜›
  3. not sure how to do that, there's a lot of redundant parameter in there, but this @Mod("examplemod") public class ExampleMod { private static final Logger LOGGER = LogManager.getLogger(); public ExampleMod() { MinecraftForge.EVENT_BUS.register(this); } @SubscribeEvent public void onLeftClickBlock(final LeftClickBlock event) { BlockPos position = event.getPos(); Level world = event.getWorld(); LOGGER.error("Time: {}, Thread: {}, hand: {}, side: {}, destroy progress: {}", new Date().getTime(), Thread.currentThread(), event.getHand(), event.getSide(), world.getBlockState(event.getPos()).getDestroyProgress(event.getPlayer(), new PathNavigationRegion(world, position, position), position)); } } gives this [20:03:08] [Server thread/ERROR]: Time: 1632441788687, Thread: Thread[Server thread,5,SERVER], hand: MAIN_HAND, side: SERVER, destroy progress: 0.055555556 [20:03:08] [Server thread/ERROR]: Time: 1632441788787, Thread: Thread[Server thread,5,SERVER], hand: MAIN_HAND, side: SERVER, destroy progress: 0.055555556
  4. well, mainly running 'gradle build'... that's the task that should pull down all the lib dependencies ... more details https://mcforge.readthedocs.io/en/latest/gettingstarted/
  5. did you run the initial setup? that class is in guava lib, which comes by default in MDK, so it should be there... do you see it in your IDE?
  6. the code was actually working fine in 1.16... migrating to 1.17 had this side-effect
  7. I haven't @SolarisFalls
  8. Hi, forge 1.17.1-37.0.70 is firing LeftClickBlock twice, same hand, same side. @SubscribeEvent public void onLeftClickBlock(final LeftClickBlock event) { LOGGER.error("Time: {}, Thread: {}, hand: {}, side: {}", new Date().getTime(), Thread.currentThread(), event.getHand(), event.getSide()); } result: [20:19:48] [Server thread/ERROR]: Time: 1632269988298, Thread: Thread[Server thread,5,SERVER], hand: MAIN_HAND, side: SERVER [20:19:48] [Server thread/ERROR]: Time: 1632269988398, Thread: Thread[Server thread,5,SERVER], hand: MAIN_HAND, side: SERVER Bye, F.

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.