MCPcopy Index your code
hub / github.com/VolmitSoftware/Adapt / getElement

Method getElement

src/main/java/com/volmit/adapt/util/UIWindow.java:323–326  ·  view source on GitHub ↗
(int position, int row)

Source from the content-addressed store, hash-verified

321 }
322
323 @Override
324 public Element getElement(int position, int row) {
325 return elements.get(getRealPosition((int) clip(position, -getResolution().getMaxWidthOffset(), getResolution().getMaxWidthOffset()).doubleValue(), row));
326 }
327
328 @Override
329 public Player getViewer() {

Callers 4

openMethod · 0.95
onMethod · 0.95
hasElementMethod · 0.95
computeItemStackMethod · 0.95

Calls 5

getRealPositionMethod · 0.95
clipMethod · 0.95
getResolutionMethod · 0.95
getMaxWidthOffsetMethod · 0.80
getMethod · 0.65

Tested by

no test coverage detected