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 04/24/19 in Posts

  1. I mean, you CAN, but you're not going to get any help working with it here.
  2. Predicate is just a functional interface that takes a given argument and returns true or false. You can learn more about finctional interfaces and lambdas here So in your case something like e -> e != thrower && e != this would work just fine. Also don't bump, this is not a chat room. Your post is within the top 10 recent posts, there is no reason to bump it.
  3. A shader is a program that executes on your GPU. It gets some data as an input and it outputs some data. That's all there is to them. When opengl renders stuff it goes through various passes, during which it may interact with the currently active shader program. An interaction in this case would be opengl passing some data to the program and collecting the results. Write one, bind it before rendering and you are done. Of course shaders are fairly complex and difficult to discribe like that. There are many resources online that introduce you to shaders. Just keep in mind that minecraft isn't exactly shader friendly, as in it's rendering engine is a huge mess of pre 3.0 and post 3.0 GL code. https://learnopengl.com/Getting-started/Shaders is a good one I am personally aware of, but apart from that just google "opengl shaders tutorial" and I am sure you can find a lot of information out there.
  4. Using a PooledMutableBlockPos and scanning 35x35x35 isn’t too expensive, but a better way would be to iterate Chunk#loadedTileEntityList
  5. Your logger should be a reference to LogManager.getLogger(); (org.apache.logging.log4j.LogManager)

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.