use of betterquesting.client.gui.editors.json.scrolling.GuiScrollingFluidGrid in project BetterQuesting by Funwayguy.
the class GuiJsonFluidSelection method initGui.
@Override
public void initGui() {
super.initGui();
this.searchBox = new GuiBigTextField(fontRenderer, guiLeft + sizeX / 2 + 9, guiTop + 33, sizeX / 2 - 26, 14);
this.searchBox.setWatermark(I18n.format("betterquesting.gui.search"));
this.searchBox.setMaxStringLength(Integer.MAX_VALUE);
this.fluidGrid = new GuiScrollingFluidGrid(mc, guiLeft + sizeX / 2 + 8, guiTop + 48, sizeX / 2 - 24, sizeY - 80);
this.embedded.add(fluidGrid);
numberBox = new GuiNumberField(fontRenderer, guiLeft + 76, guiTop + 57, 100, 16);
if (stackSelect != null) {
numberBox.setText("" + stackSelect.amount);
}
searching = FluidRegistry.getRegisteredFluids().values().iterator();
}
Aggregations