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 = [
- <minecraft:bookshelf>
- ] as IItemStack[];
- val stack512 = [
- <minecraft:gold_ore>,
- <minecraft:iron_ore>,
- <minecraft:coal_ore>,
- <minecraft:diamond_ore>,
- <minecraft:emerald_ore>,
- <minecraft:quartz_ore>,
- <minecraft:redstone_ore>,
- <minecraft:lapis_ore>,
- <minecraft:lapis_block>,
- <minecraft:gold_block>,
- <minecraft:iron_block>,
- <minecraft:pumpkin>,
- <minecraft:lit_pumpkin>,
- <minecraft:melon_block>
- ] as IItemStack[];
- val stack1024 = [
- <minecraft:grass>,
- <minecraft:dirt:2>,
- <minecraft:log:*>,
- <minecraft:log2:*>,
- <minecraft:wool:*>,
- <minecraft:ice>,
- <minecraft:mycelium>
- ] as IItemStack[];
- val stack2048 = [
- <minecraft:glass>,
- <minecraft:stained_glass>,
- <minecraft:brick_block>,
- <minecraft:clay>,
- <minecraft:snow>,
- <minecraft:glowstone>
- ] as IItemStack[];
- val stack4096 = [
- <minecraft:stone:4>,
- <minecraft:stone:2>,
- <minecraft:stone:6>,
- <minecraft:planks:*>,
- <minecraft:sandstone:*>,
- <minecraft:stone_slab:*>,
- <minecraft:oak_stairs>,
- <minecraft:stone_stairs>,
- <minecraft:stonebrick:*>,
- <minecraft:brick_stairs>,
- <minecraft:stone_brick_stairs>,
- <minecraft:nether_brick>,
- <minecraft:nether_brick_stairs>,
- <minecraft:wooden_slab:*>
- ] as IItemStack[];
- val stack8192 = [
- <minecraft:stone>,
- <minecraft:stone:1>,
- <minecraft:stone:3>,
- <minecraft:stone:5>,
- <minecraft:dirt>,
- <minecraft:cobblestone>,
- <minecraft:sand:*>,
- <minecraft:gravel>,
- <minecraft:mossy_cobblestone>,
- <minecraft:netherrack>,
- <minecraft:soul_sand>,
- <minecraft:end_stone>
- ] as IItemStack[];
- //The magic, don't touch this
- for i in stack256 {
- i.maxStackSize = 256;
- }
- for j in stack512 {
- j.maxStackSize = 512;
- }
- for k in stack1024 {
- k.maxStackSize = 1024;
- }
- for l in stack2048 {
- l.maxStackSize = 2048;
- }
- for m in stack4096 {
- m.maxStackSize = 4096;
- }
- for n in stack8192 {
- n.maxStackSize = 8192;
- }
Advertisement
Add Comment
Please, Sign In to add comment