aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorJuuxel <6596629+Juuxel@users.noreply.github.com>2020-05-16 18:55:14 +0300
committerJuuxel <6596629+Juuxel@users.noreply.github.com>2020-05-16 18:55:14 +0300
commitc30b2cbc144ca4aa7ee385e0422dadf017d7a916 (patch)
tree98705324c328f2bfa565834d0f2a46f5d3d1ff0f /src/main/java
parent319b74a2fb12126dd1906a389fa8c48af0af8d40 (diff)
downloadLibGui-c30b2cbc144ca4aa7ee385e0422dadf017d7a916.tar.gz
LibGui-c30b2cbc144ca4aa7ee385e0422dadf017d7a916.tar.bz2
LibGui-c30b2cbc144ca4aa7ee385e0422dadf017d7a916.zip
Remove deprecated ValidatedSlot methods
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/io/github/cottonmc/cotton/gui/ValidatedSlot.java21
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;
}