diff options
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/io/github/cottonmc/cotton/gui/ValidatedSlot.java | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/main/java/io/github/cottonmc/cotton/gui/ValidatedSlot.java b/src/main/java/io/github/cottonmc/cotton/gui/ValidatedSlot.java index 2c6b5b2..8a50a45 100644 --- a/src/main/java/io/github/cottonmc/cotton/gui/ValidatedSlot.java +++ b/src/main/java/io/github/cottonmc/cotton/gui/ValidatedSlot.java @@ -42,27 +42,6 @@ public class ValidatedSlot extends Slot { return result; } - /** - * Returns true if the item in this slot can be modified by players. - * - * @return true if items can be inserted into or taken from this slot widget, false otherwise - * @since 1.8.0 - * @deprecated Replaced with {@link #isInsertingAllowed()} and {@link #isTakingAllowed()}. - */ - @Deprecated - public boolean isModifiable() { - return insertingAllowed || takingAllowed; - } - - /** - * @deprecated Replaced with {@link #setInsertingAllowed(boolean)} and {@link #setTakingAllowed(boolean)}. - */ - @Deprecated - public void setModifiable(boolean modifiable) { - this.insertingAllowed = modifiable; - this.takingAllowed = modifiable; - } - public int getInventoryIndex() { return slotNumber; } |