MCPcopy Create free account
hub / github.com/Cortex-MC/SimpAPI / setFillerGlass

Method setFillerGlass

src/main/java/me/kodysimpson/simpapi/menu/Menu.java:93–99  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

91 */
92 //Helpful utility method to fill all remaining slots with "filler glass"
93 public void setFillerGlass() {
94 for (int i = 0; i < getSlots(); i++) {
95 if (inventory.getItem(i) == null) {
96 inventory.setItem(i, FILLER_GLASS);
97 }
98 }
99 }
100
101 /**
102 * @param itemStack Placed into every empty slot when ran

Callers

nothing calls this directly

Calls 1

getSlotsMethod · 0.95

Tested by

no test coverage detected