All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.placeblock.betterinventories.builder.gui.ChestGUIBuilder Maven / Gradle / Ivy

There is a newer version: 2.2.0
Show newest version
package de.placeblock.betterinventories.builder.gui;

import de.placeblock.betterinventories.content.pane.impl.simple.SimpleGUIPane;
import de.placeblock.betterinventories.gui.impl.ChestGUI;
import lombok.Getter;
import org.bukkit.plugin.Plugin;

/**
 * Builder for ChestGUIs
 */
@Getter
@SuppressWarnings("unused")
public class ChestGUIBuilder extends BaseChestGUIBuilder {
    /**
     * Creates a new ChestGUIBuilder
     * @param plugin The plugin for the GUI
     */
    public ChestGUIBuilder(Plugin plugin) {
        super(plugin);
    }

    /**
     * Builds the ChestGUI
     * @return The new ChestGUI
     */
    @Override
    public ChestGUI build() {
        return new ChestGUI(this.getPlugin(), this.getTitle(), this.getBestMinHeight(), this.getBestMaxHeight());
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy