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

de.placeblock.betterinventories.builder.content.SimpleItemGUIPaneBuilder Maven / Gradle / Ivy

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

import de.placeblock.betterinventories.content.pane.impl.simple.SimpleItemGUIPane;
import de.placeblock.betterinventories.gui.GUI;

/**
 * Builder for SimpleItemGUIPanes
 */
@SuppressWarnings("unused")
public class SimpleItemGUIPaneBuilder extends BaseGUIPaneBuilder {
    /**
     * Creates a new SimpleItemGUIPaneBuilder
     * @param gui The GUI for the Pane
     */
    public SimpleItemGUIPaneBuilder(GUI gui) {
        super(gui);
    }

    /**
     * Builds the Pane
     * @return The new Pane
     */
    @Override
    public SimpleItemGUIPane build() {
        return new SimpleItemGUIPane(this.getGui(), getBestMinSize(), this.getBestMaxSize());
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy