MCPcopy Create free account
hub / github.com/BuildCraft/BuildCraft / openPage

Method openPage

common/buildcraft/lib/client/guide/GuiGuide.java:146–151  ·  view source on GitHub ↗
(GuidePageBase page)

Source from the content-addressed store, hash-verified

144 }
145
146 public void openPage(GuidePageBase page) {
147 if (currentPage != null && currentPage.shouldPersistHistory()) {
148 pages.push(currentPage);
149 }
150 setPageInternal(page);
151 }
152
153 public void closePage() {
154 if (pages.isEmpty()) {

Callers 3

GuiGuideMethod · 0.95
testClickItemStackMethod · 0.80
handleMouseClickMethod · 0.80

Calls 3

setPageInternalMethod · 0.95
shouldPersistHistoryMethod · 0.45
pushMethod · 0.45

Tested by

no test coverage detected