Package com.marcusslover.plus.lib.item
Class Canvas.EdgeDecorator
java.lang.Object
com.marcusslover.plus.lib.item.Canvas.EdgeDecorator
- All Implemented Interfaces:
Canvas.ItemDecorator
- Enclosing class:
Canvas
A decorator that fills all edge slots with a given item.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.marcusslover.plus.lib.item.Canvas.ItemDecorator
Canvas.ItemDecorator.ItemDecoratorContext -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandle(@NotNull Canvas.ItemDecorator.ItemDecoratorContext ctx) Decorates the inventory.
-
Constructor Details
-
EdgeDecorator
public EdgeDecorator()
-
-
Method Details
-
handle
Description copied from interface:Canvas.ItemDecoratorDecorates the inventory.- Specified by:
handlein interfaceCanvas.ItemDecorator- Parameters:
ctx- the context of the decoration
-