Skip to content

Commit

Permalink
Alter Dark Tank sizes.
Browse files Browse the repository at this point in the history
Max creative tab size: 4096 buckets.
Max tank size by crafting: 65536 buckets.
  • Loading branch information
rubensworks committed Sep 30, 2014
1 parent 8c5f5f6 commit 56e1836
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/java/evilcraft/block/DarkTank.java
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ public void getSubBlocks(Item item, CreativeTabs creativeTabs, List list) {
list.add(itemStackFilled);
}
capacity = capacity << 2;
} while(capacity < DarkTankConfig.maxTankSize);
} while(capacity << 2 < DarkTankConfig.maxTankSize);
}

}
7 changes: 6 additions & 1 deletion src/main/java/evilcraft/block/DarkTankConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,12 @@ public class DarkTankConfig extends BlockContainerConfig {
* The maximum tank size possible by combining tanks.
*/
@ConfigurableProperty(category = ConfigurableTypeCategory.MACHINE, comment = "The maximum tank size possible by combining tanks. (Make sure that you do not cross the max int size.)")
public static int maxTankSize = 4096000;
public static int maxTankSize = 65536000;
/**
* The maximum tank size visible in the creative tabs.
*/
@ConfigurableProperty(category = ConfigurableTypeCategory.MACHINE, comment = "The maximum tank size visible in the creative tabs. (Make sure that you do not cross the max int size.)")
public static int maxTankCreativeSize = 4096000;

/**
* Make a new instance.
Expand Down

0 comments on commit 56e1836

Please sign in to comment.