Search in sources :

Example 1 with REDSTONE_MODE

use of lumien.randomthings.tileentity.TileEntityIronDropper.REDSTONE_MODE 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);
}
Also used : GuiEnumButton(lumien.randomthings.client.gui.elements.GuiEnumButton) PICKUP_DELAY(lumien.randomthings.tileentity.TileEntityIronDropper.PICKUP_DELAY) REDSTONE_MODE(lumien.randomthings.tileentity.TileEntityIronDropper.REDSTONE_MODE) ResourceLocation(net.minecraft.util.ResourceLocation) GuiBoolButton(lumien.randomthings.client.gui.elements.GuiBoolButton) EFFECTS(lumien.randomthings.tileentity.TileEntityIronDropper.EFFECTS)

Aggregations

GuiBoolButton (lumien.randomthings.client.gui.elements.GuiBoolButton)1 GuiEnumButton (lumien.randomthings.client.gui.elements.GuiEnumButton)1 EFFECTS (lumien.randomthings.tileentity.TileEntityIronDropper.EFFECTS)1 PICKUP_DELAY (lumien.randomthings.tileentity.TileEntityIronDropper.PICKUP_DELAY)1 REDSTONE_MODE (lumien.randomthings.tileentity.TileEntityIronDropper.REDSTONE_MODE)1 ResourceLocation (net.minecraft.util.ResourceLocation)1