| Package | Description |
|---|---|
| io.github.portlek.smartinventory |
the package that contains common interfaces.
|
| io.github.portlek.smartinventory.content |
the package that contains
Page's contents. |
| io.github.portlek.smartinventory.util |
the package that contains utility classes.
|
| Modifier and Type | Method and Description |
|---|---|
default @NotNull SlotIterator |
SlotIterator.blacklistPattern(@NotNull Pattern<Boolean> pattern)
this method has the inverse effect of
SlotIterator.withPattern(Pattern), where the other method would only allow the
iterator to go, this method prohibits this slots to iterate over. |
@NotNull SlotIterator |
SlotIterator.blacklistPattern(@NotNull Pattern<Boolean> pattern,
int rowOffset,
int columnOffset)
This method has the inverse effect of
SlotIterator.withPattern(Pattern, int, int),
where the other method would only allow the iterator to go,
this method prohibits this slots to iterate over. |
default @NotNull InventoryContents |
InventoryContents.fillPattern(@NotNull Pattern<Icon> pattern)
fills the inventory with the given
Pattern. |
default @NotNull InventoryContents |
InventoryContents.fillPattern(@NotNull Pattern<Icon> pattern,
int startIndex)
fills the inventory with the given
Pattern. |
default @NotNull InventoryContents |
InventoryContents.fillPattern(@NotNull Pattern<Icon> pattern,
int startRow,
int startColumn)
fills the inventory with the given
Pattern. |
default @NotNull InventoryContents |
InventoryContents.fillPattern(@NotNull Pattern<Icon> pattern,
@NotNull SlotPos startPos)
fills the inventory with the given
Pattern. |
default @NotNull InventoryContents |
InventoryContents.fillPatternRepeating(@NotNull Pattern<Icon> pattern)
fills the inventory with the given
Pattern. |
default @NotNull InventoryContents |
InventoryContents.fillPatternRepeating(@NotNull Pattern<Icon> pattern,
int startIndex,
int endIndex)
fills the inventory with the given
Pattern. |
default @NotNull InventoryContents |
InventoryContents.fillPatternRepeating(@NotNull Pattern<Icon> pattern,
int startRow,
int startColumn,
int endRow,
int endColumn)
fills the inventory with the given
Pattern. |
default @NotNull InventoryContents |
InventoryContents.fillPatternRepeating(@NotNull Pattern<Icon> pattern,
@NotNull SlotPos startPos,
@NotNull SlotPos endPos)
fills the inventory with the given
Pattern. |
default @NotNull SlotIterator |
SlotIterator.withPattern(@NotNull Pattern<Boolean> pattern)
setting a pattern using this method will use it as a guideline where the slot iterator can set icons or not.
|
@NotNull SlotIterator |
SlotIterator.withPattern(@NotNull Pattern<Boolean> pattern,
int rowOffset,
int columnOffset)
setting a pattern using this method will use it as a guideline where the slot iterator can set icons or not.
|
| Modifier and Type | Method and Description |
|---|---|
@NotNull SlotIterator |
BasicSlotIterator.blacklistPattern(@NotNull Pattern<Boolean> pattern,
int rowOffset,
int columnOffset) |
@NotNull SlotIterator |
BasicSlotIterator.withPattern(@NotNull Pattern<Boolean> pattern,
int rowOffset,
int columnOffset) |
| Modifier and Type | Method and Description |
|---|---|
@NotNull Pattern<T> |
Pattern.attach(char character,
T object)
attaches an object to a character in this pattern instance.
|
@NotNull Pattern<T> |
Pattern.setDefault(T defaultValue)
sets a new default value, which can be null and will override the previous value if present.
|
Copyright © 2021. All rights reserved.