diff options
| author | Lance5057 <Lance5057@gmail.com> | 2016-08-06 21:47:17 -0500 |
|---|---|---|
| committer | Lance5057 <Lance5057@gmail.com> | 2016-08-06 21:47:17 -0500 |
| commit | d10fd21692bad49e75a7d665005df940c91942f8 (patch) | |
| tree | fdc1be156df395c88a934f6f97487e78b36a8138 /src/api/java/invtweaks | |
| parent | ff41fd97eb377dd1ebd78b4b56e81c59ca786667 (diff) | |
Launch update
Only a week behind...
Diffstat (limited to 'src/api/java/invtweaks')
| -rw-r--r-- | src/api/java/invtweaks/api/container/ChestContainer.java | 45 |
1 files changed, 24 insertions, 21 deletions
diff --git a/src/api/java/invtweaks/api/container/ChestContainer.java b/src/api/java/invtweaks/api/container/ChestContainer.java index dc27377..7a921fd 100644 --- a/src/api/java/invtweaks/api/container/ChestContainer.java +++ b/src/api/java/invtweaks/api/container/ChestContainer.java @@ -11,28 +11,31 @@ import java.lang.annotation.Target; */ @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; +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; + // 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; + // 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 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 { - } -}
\ No newline at end of file + // 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 + { + } +} |
