de.placeblock.betterinventories.builder.content.SimpleItemGUIPaneBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of BetterInventories Show documentation
Show all versions of BetterInventories Show documentation
Easy to use and extensive InventoryAPI for Spigot
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());
}
}