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.

Zensiert1997

Members
  • Joined

  • Last visited

  1. Hi, I want a some parts of a block model(TileEntitySpeacialRenderer) to be rendered even when they are outside of the view frustum. How can I accomplish that?
  2. I mean a value between 0 and 1. As you get it in the Item.onItemUse method.
  3. I refer to the exact coordinates the player was hitting. The problem with the rayTrace function is, that i don't know how to use it. It takes two arguments: reachDistance and partialTickTime. I can get the reachDistance, but i have no idea what the partialTickTime is for. When I start it and set partialTickTime to 1, i get different results on server and client side(very different).
  4. The Block class has a method removeBlockByPlayer which removes the block when a player breaks it. How to get the hitX, hitY, hitZ coordinates where the player hit the block? The given arguments are World world, EntityPlayer player, int x, int y, int z. I found the method EntityLiving.rayTrace(double reachDistance, float partialTickTime), but i don't know what the parameter partialTickTime is for, and as i set it to 1, I got different results on client and server side.
  5. Hi, I use a TileEntitySpeacialRenderer to render a block using the Tessellator. The problem is, that water behind the block is rendered as it would be before it. Is there an OGL function to fix 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.