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 05/04/17 in all areas

  1. And... congratulations! You are the third person in a row who forgot about applying correct translations before rendering! With correct translations applied I get the following from your code: Also if you want your block to be transparent you need to setup GL's blend too, not only alpha
  2. You are comparing objects by reference (==) instead of by contents (ItemStack::areItemStacksEqual).
  3. Yes, you are right, I misunderstood the question a little bit
  4. DrawBlockHighlightEvent would be more appropriate.
  5. You will need to use one of forge's render events, like RenderWorldLastEvent. You can get the block the player is looking at with the World::rayTraceBlocks method. I believe it's HitResult returns you the BlockPos of the block the player is looking at with EnumFacing of the side the player is looking at. Your rendering position would then be the raytraceresult position offset by that facing. To render a blockstate in the world you can look at RenderFallingBlock class. There might be some issues with transparency but in theory you can just enable blend with appropriate source and destination factors and either use gl's color method or manually override vertex color data in the vertexbuffer you are rendering your block with using VertexBuffer::putColor. Just do not forget to properly offset your rendering, or you will be the third person in a row with the rendered object 'following' the player/not rendering
  6. Let me hit you with a little insight, since you didn't seem to understand @Choonster's message in your note to self. The PC version of Minecraft is handled by Mojang.....the other versions are handled by other studios, not totally involved with Mojang. As such, the versions have completely different codebases, making it impossible to support them both without an entire team to help. Until the other versions converge to use the same codebase (which is likely going to be never), Forge will never feasible on anything other than PC. There is also hardware limitations between the Xbox and PC versions, that will also cause major issues. To conclude, never going to happen bro. No one can do anything about it. Also, you used higher vocabulary words in your responses, and yet you put "us youngsters".......I'm 18 and would never phrase my words like that unless I had no idea what I was talking about......but that's just me being nitpicky Cheers, Zombie
  7. They may be around here, so keep an eye out! Don't know how to spot a help vampire? Arm yourself... with knowledge!

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.