MCPcopy Create free account
hub / github.com/5zig/The-5zig-Mod / getContentHeight

Method getContentHeight

Minecraft-Utils/1.8/src/GuiList.java:477–485  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

475 }
476
477 @Override
478 public int getContentHeight() {
479 int height = bottomPadding + (getHeaderPadding() > 0 ? getHeaderPadding() + 8 : getHeaderPadding());
480 List<E> chatLines = Lists.newArrayList(rows);
481 for (Row row : chatLines) {
482 height += row.getLineHeight();
483 }
484 return height;
485 }
486
487 public void calculateHeightMap() {
488 heightMap.clear();

Callers 1

kMethod · 0.95

Calls 2

getHeaderPaddingMethod · 0.95
getLineHeightMethod · 0.65

Tested by

no test coverage detected