And the changes start coming and they don't stop coming

This commit is contained in:
Auxilor
2021-08-12 01:46:32 +01:00
parent 4a90385b27
commit 109b9aa3f3
6 changed files with 48 additions and 4 deletions

View File

@@ -30,4 +30,9 @@ public class FillerSlot implements Slot {
public ItemStack getItemStack(@NotNull final Player player) {
return itemStack;
}
@Override
public boolean isCaptive() {
return false;
}
}

View File

@@ -19,6 +19,13 @@ public interface Slot {
*/
ItemStack getItemStack(@NotNull Player player);
/**
* If the slot is captive. (Can items be placed in it).
*
* @return If captive.
*/
boolean isCaptive();
/**
* Create a builder for an ItemStack.
*