@SideOnly(Side.CLIENT)
public static void translateAgainstPlayer (BlockPos pos) {
final float x = (float) (pos.getX() - TileEntityRendererDispatcher.staticPlayerX);
final float y = (float) (pos.getY() - TileEntityRendererDispatcher.staticPlayerY);
final float z = (float) (pos.getZ() - TileEntityRendererDispatcher.staticPlayerZ);
GlStateManager.translate(x + 0.5, y + 0.5, z + 0.5);
}
RenderUtils.java 文件源码
java
阅读 29
收藏 0
点赞 0
评论 0
项目:WorldProtect
作者:
评论列表
文章目录