Jump to content

Zensiert1997

Members
  • Posts

    6
  • Joined

  • Last visited

Everything posted by Zensiert1997

  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?
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.