use of lumien.randomthings.client.gui.elements.GuiBoolButton in project Random-Things by lumien231.
the class GuiInventoryTester method initGui.
@Override
public void initGui() {
super.initGui();
GuiBoolButton invertSignalButton = new GuiBoolButton(0, this.guiLeft + 93, this.guiTop + 16, 20, 20, new ResourceLocation("randomthings", "textures/gui/inventoryTester/invertSignal.png"), TileEntityInventoryTester.class, "invertSignal", te);
invertSignalButton.setTooltips(new String[] { "tooltip.inventoryTester.invertSignal.no", "tooltip.inventoryTester.invertSignal.yes" });
this.buttonList.add(invertSignalButton);
}
use of lumien.randomthings.client.gui.elements.GuiBoolButton in project Random-Things by lumien231.
the class GuiIronDropper method initGui.
@Override
public void initGui() {
super.initGui();
GuiEnumButton<REDSTONE_MODE> redstoneModeButton = new GuiEnumButton<>(0, this.guiLeft + 125, this.guiTop + 16, 20, 20, new ResourceLocation("randomthings", "textures/gui/ironDropper/redstoneMode.png"), TileEntityIronDropper.class, "redstoneMode", te);
redstoneModeButton.setTooltips(new String[] { "tooltip.ironDropper.redstoneMode.pulse", "tooltip.ironDropper.redstoneMode.repeatPowered", "tooltip.ironDropper.redstoneMode.repeat" });
this.buttonList.add(redstoneModeButton);
GuiEnumButton<PICKUP_DELAY> pickupDelayButton = new GuiEnumButton<>(1, this.guiLeft + 150, this.guiTop + 16, 20, 20, new ResourceLocation("randomthings", "textures/gui/ironDropper/pickupDelay.png"), TileEntityIronDropper.class, "pickupDelay", te);
pickupDelayButton.setTooltips(new String[] { "tooltip.ironDropper.pickupDelay.none", "tooltip.ironDropper.pickupDelay.5", "tooltip.ironDropper.pickupDelay.20" });
this.buttonList.add(pickupDelayButton);
GuiBoolButton randomMotionButton = new GuiBoolButton(2, this.guiLeft + 125, this.guiTop + 41, 20, 20, new ResourceLocation("randomthings", "textures/gui/ironDropper/randomMotion.png"), TileEntityIronDropper.class, "randomMotion", te);
randomMotionButton.setTooltips(new String[] { "tooltip.ironDropper.randomMotion.no", "tooltip.ironDropper.randomMotion.yes" });
this.buttonList.add(randomMotionButton);
GuiEnumButton<EFFECTS> effectsButton = new GuiEnumButton<>(3, this.guiLeft + 150, this.guiTop + 41, 20, 20, new ResourceLocation("randomthings", "textures/gui/ironDropper/effects.png"), TileEntityIronDropper.class, "effects", te);
effectsButton.setTooltips(new String[] { "tooltip.ironDropper.effects.none", "tooltip.ironDropper.effects.soundOnly", "tooltip.ironDropper.effects.particlesOnly", "tooltip.ironDropper.effects.both" });
this.buttonList.add(effectsButton);
}
use of lumien.randomthings.client.gui.elements.GuiBoolButton in project Random-Things by lumien231.
the class GuiBlockDestabilizer method initGui.
@Override
public void initGui() {
super.initGui();
GuiBoolButton lazyButton = new GuiBoolButton(0, this.guiLeft + 7, this.guiTop + 7, 20, 20, new ResourceLocation("randomthings", "textures/gui/blockDestabilizer/lazy.png"), TileEntityBlockDestabilizer.class, "lazy", te);
this.buttonList.add(lazyButton);
GuiBoolButton fuzzyButton = new GuiBoolButton(1, this.guiLeft + 33, this.guiTop + 7, 20, 20, new ResourceLocation("randomthings", "textures/gui/blockDestabilizer/fuzzy.png"), TileEntityBlockDestabilizer.class, "fuzzy", te);
this.buttonList.add(fuzzyButton);
GuiButton resetButton = new GuiButtonImage(2, this.guiLeft + 58, this.guiTop + 7, 20, 20, 85, 0, 20, background);
this.buttonList.add(resetButton);
}
Aggregations