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.

Midbin

Members
  • Joined

  • Last visited

Everything posted by Midbin

  1. As stated in the title the world.setBlockState() does not work for me with my custom Block. Here is a code extract: IBlockState crafting_table_state = Blocks.crafting_table.getDefaultState(); MyCustomBlock c = new MyCustomBlock(); IBlockState my_custom_block_state = c.getDefaultState(); world.setBlockState(new BlockPos(1, 128, 1), my_custom_block_state); world.setBlockState(new BlockPos(2, 128, 1), crafting_table_state); When I look at the Point (1, 128, 1), I can see the Crafting Table, but not my Custom Block. I have already checked, that the IBlockState.getBlock() returns a MyCustomBlock. When I place my Block from my Inventory it Renders normal. Has somebody an idea how I could find the error?

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.