Class Canvas.FullDecorator

java.lang.Object
com.marcusslover.plus.lib.item.Canvas.FullDecorator
All Implemented Interfaces:
Canvas.ItemDecorator
Enclosing class:
Canvas

public static class Canvas.FullDecorator extends Object implements Canvas.ItemDecorator
A full decorator that fills all empty slots with a given item.
See Also:
  • 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.ItemDecorator
      Decorates the inventory.
      Specified by:
      handle in interface Canvas.ItemDecorator
      Parameters:
      canvas - The canvas associated with the inventory.
      inventory - The inventory to decorate.