Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ////Imports
- import crafttweaker.item.IItemStack;
- //Arrays
- //Add a block/item to an array to set its stack size to the stated number
- //make sure every item except the last one in each array has a comma
- //If wanting to do bigger than 8192, need to increase the limit in stackup.cfg too
- val stack256 =
- [
- ] as IItemStack[];
- val stack512 =
- [
- ] as IItemStack[];
- val stack1024 =
- [
- ] as IItemStack[];
- val stack2048 =
- [
- ] as IItemStack[];
- val stack4096 =
- [
- ] as IItemStack[];
- val stack8192 =
- [
- <minecraft:stone>,
- <minecraft:stone:1>,
- <minecraft:stone:3>,
- <minecraft:stone:5>,
- <minecraft:dirt>,
- <minecraft:cobblestone>
- ] as IItemStack[];
- //The magic, don't touch this
- for i in stack256 {
- i.maxStackSize(256);
- }
- for i in stack512 {
- i.maxStackSize(512);
- }
- for i in stack1024 {
- i.maxStackSize(1024);
- }
- for i in stack2048 {
- i.maxStackSize(2048);
- }
- for i in stack4096 {
- i.maxStackSize(4096);
- }
- for i in stack8192 {
- i.maxStackSize(8192);
- }
Advertisement
Add Comment
Please, Sign In to add comment