summaryrefslogtreecommitdiff
path: root/src/api/java/invtweaks/api/container/ChestContainer.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/java/invtweaks/api/container/ChestContainer.java')
-rw-r--r--src/api/java/invtweaks/api/container/ChestContainer.java41
1 files changed, 0 insertions, 41 deletions
diff --git a/src/api/java/invtweaks/api/container/ChestContainer.java b/src/api/java/invtweaks/api/container/ChestContainer.java
deleted file mode 100644
index 7a921fd..0000000
--- a/src/api/java/invtweaks/api/container/ChestContainer.java
+++ /dev/null
@@ -1,41 +0,0 @@
-package invtweaks.api.container;
-
-import java.lang.annotation.ElementType;
-import java.lang.annotation.Retention;
-import java.lang.annotation.RetentionPolicy;
-import java.lang.annotation.Target;
-
-/**
- * A marker for containers that have a chest-like persistant storage component. Enables the Inventroy Tweaks sorting
- * buttons for this container.
- */
-@Retention(RetentionPolicy.RUNTIME)
-@Target(ElementType.TYPE)
-public @interface ChestContainer
-{
- // Set to true if the Inventory Tweaks sorting buttons should be shown for this container.
- boolean showButtons() default true;
-
- // Size of a chest row
- int rowSize() default 9;
-
- // Uses 'large chest' mode for sorting buttons
- // (Renders buttons vertically down the right side of the GUI)
- boolean isLargeChest() default false;
-
- // Annotation for method to get size of a chest row if it is not a fixed size for this container class
- // Signature int func()
- @Retention(RetentionPolicy.RUNTIME)
- @Target(ElementType.METHOD)
- public @interface RowSizeCallback
- {
- }
-
- // Annotation for method to get size of a chest row if it is not a fixed size for this container class
- // Signature int func()
- @Retention(RetentionPolicy.RUNTIME)
- @Target(ElementType.METHOD)
- public @interface IsLargeCallback
- {
- }
-}