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.

A_A

Members
  • Joined

  • Last visited

  1. No, I was measuring execution time for a method in my custom block 10000 (A-B testing) times and I was too lazy to wait for Minecraft to load up for every change. Looking at Minecraft code they can do it but with forge in place, it seems register somehow gets called via code injected into block init (probably to register vanilla blocks?).
  2. So I'm trying to create an instance of Block static { Block funnyUselessBlockWithNoPurpose = new Block(BlockBehaviour.Properties.of(Material.AIR)); } I don't want to register it in block registry or use it anywhere else, only need this temporary to measure a few things. However it fails with "Registry is already frozen". Shouldn't block register when I actually call `BLOCKS.register(name, block);`?
  3. I managed to fix it by copying those files from my game machine to my dev machine. Files are copied from %AppData%/.minecraft folder to same folder in dev machine by their hash (file name is hash e.g. aaf9d9bbea70c6ae1b6326d55a6bd31835d7ad58 in aa folder). hash for those failed files are also specified in the build log, Copying local object: aa/aaf9d9bbea70c6ae1b6326d55a6bd31835d7ad58 Asset: minecraft/sounds/block/candle/ambient2.ogg Later gradle plugin will move those files to your mod folder, (I assume? since after running client those files were all gone and folders were remained)
  4. A_A joined the community
  5. Here you go! Essentially, it hash comparision fails and even if I put the file in that folder, since gradle task still trying to download it again, it fails again. I don't care if 4 sounds are failing, but it blocks the run task.

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.