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.

Leaderboard

Popular Content

Showing content with the highest reputation on 03/02/19 in Posts

  1. https://en.wikipedia.org/wiki/Byte_order_mark
  2. Each task has criteria for skipping, usually it will skip tasks that have already been done and had their output cached, so you're not downloading the game assets or running the same decomp process every time when nothing has changed
  3. Block.blockState is now Block.stateContainer. As stated in my previous reply this is done through a builder now. CreativeTabs is now called ItemGroup. As stated in my previous reply EntityRegistry is gone. I don't know where you were importing FACING from but you can get all vanilla blockstate properties from the BlockStateProperties class. Instead of a single IBlockAccess there are now a lot of various interfaces that the world implements. I don't know which methods of yours needed the IBlockAccess so I can't tell for sure what it needs now but I suspect it needs a IBlockReader. As far as I can tell from your code that points into your main mod class so you've removed that field yourself. As stated above this is done through a builder now. Also that syntax was never needed in the first place. PropertyDirection is now DirectionProperty. Again, that points towards your main mod class, you've removed the field yourself but left the reference. As stated above this is done through a builder now. Instead of a single IBlockAccess there are now a lot of various interfaces that the world implements. I don't know which methods of yours needed the IBlockAccess so I can't tell for sure what it needs now but I suspect it needs a IBlockReader. As stated in my previous reply this is now done through Block#fillStateContainer Since metadata is now gone those helper methods to convert to and from metadata are gone too. IBlockState#getValue is now IBlockState#get. Block#isOpaqueCube is now controlled through it's VoxelShape returned by Block#getRenderShape and simply checks if the given shape is a full cube. It will also return false if Block#isSolid returns false. Since hardness is now final the setters are gone, use Block.Properties passed to the constructor to control it. Same here. And same here too. Unlocalized names are now gone. Instead they are controlled by Block#getTranslationKey which uses the registry name (block.REGISTRY_NAME). This is done for you automatically, you don't need to set anything. IBlockState#withProperty is now IBlockState#with. I don't know what you were using this for but be wary of an ongoing issue: https://github.com/MinecraftForge/MinecraftForge/issues/5470
  4. "I didn't ask if I should, I asked how I could" isn't usually a wise response when told "No". You will not receive help with this.

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.