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.

bobwilicer

Members
  • Joined

  • Last visited

  1. Would anyone know the new event name for RenderWorldEvent.Pre? Reference of event: http://jabelarminecraft.blogspot.com/p/minecraft-forge-172-event-handling.html
  2. I know this is probably a really dumb question, but it seems like everything has changed since I last programmed a mod (in 2012). Albeit, that should not be suprising. I'm having a hard time setting a block to a vanilla minecraft block. I know how to reference my own mods blocks. For this example, a dirt block will be fine. Minecraft.getMinecraft().world.setBlockState(new BlockPos(0,0,0), /*somehow reference a dirt block*/ ,0); I think you have to do something with getDefualtState(). But I have been googling around for a while and can't find a modern (a way that works with the modern version of minecraft), that will allow me to create a dirt block. I tried new DirtBlock() and it gives me an error with no way of actually fixing it. I had to use PLURAL Blocks not block.

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.