Quote Originally Posted by Deku View Post
Pretty simple, but haven't seen it released (add a toggle if ya want)



Code:
	private void render_ground_item_names() {
		for (int x = 0; x < 104; x++) {
			for (int y = 0; y < 104; y++) {
				Deque node = groundItems[plane][x][y];
				int offset = 12;
				if (node != null) {
					for (Item item = (Item) node.getFirst(); item != null; item = (Item) node.getNext()) {
						ItemDefinition itemDef = ItemDefinition.lookup(item.ID);
						get_raster_position((x << 7) + 64, 64, (y << 7) + 64);
						newSmallFont.drawCenteredString(itemDef.name + (item.anInt1559 > 1 ? " (" + item.anInt1559 + ")" : ""), scene_draw_x, scene_draw_y - offset, 0xffffff, 1);
						offset += 12;
					}
				}
			}
		}
	}
For reference,
Code:
	private void get_raster_position(int raster_x, int height, int raster_y) {//calcEntityScreenPos
		if (raster_x < 128 || raster_y < 128 || raster_x > 13056 || raster_y > 13056) {
			scene_draw_x = -1;
			scene_draw_y = -1;
			return;
		}
		int tile_bounds = method42(plane, raster_y, raster_x) - height;
		raster_x -= absoluteX;
		tile_bounds -= anchor;
		raster_y -= absoluteY;
		int sine_y = Model.SINE[yCameraCurve];
		int cosine_y = Model.COSINE[yCameraCurve];
		int sine_x = Model.SINE[xCameraCurve];
		int cosine_x = Model.COSINE[xCameraCurve];
		int pos = raster_y * sine_x + raster_x * cosine_x >> 16;
		raster_y = raster_y * cosine_x - raster_x * sine_x >> 16;
		raster_x = pos;
		pos = tile_bounds * cosine_y - raster_y * sine_y >> 16;
		raster_y = tile_bounds * sine_y + raster_y * cosine_y >> 16;
		tile_bounds = pos;
		if (raster_y >= 50) {
			scene_draw_x = Rasterizer.textureInt1 + (raster_x << SceneGraph.viewDistance) / raster_y;
			scene_draw_y = Rasterizer.textureInt2 + (tile_bounds << SceneGraph.viewDistance) / raster_y;
		} else {
			scene_draw_x = -1;
			scene_draw_y = -1;
		}
	}
And call
Code:
render_ground_item_names()
below(*meant above)
Code:
draw3dScreen();
Can add a rarity color and value onto the string if ya want, but this is just basic
Edit: got it thanks