Package com.marcusslover.plus.lib.item
Class Canvas.FullDecorator
java.lang.Object
com.marcusslover.plus.lib.item.Canvas.FullDecorator
- All Implemented Interfaces:
Canvas.ItemDecorator
- Enclosing class:
Canvas
A full decorator that fills all empty slots with a given item.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
FullDecorator
public FullDecorator()
-
-
Method Details
-
handle
public void handle(@NotNull @NotNull Canvas canvas, @NotNull @NotNull org.bukkit.inventory.Inventory inventory) Description copied from interface:Canvas.ItemDecoratorDecorates the inventory.- Specified by:
handlein interfaceCanvas.ItemDecorator- Parameters:
canvas- The canvas associated with the inventory.inventory- The inventory to decorate.
-