thephoenixlodge

Untitled

Oct 11th, 2018
239
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.01 KB | None | 0 0
  1. ////Imports
  2. import crafttweaker.item.IItemStack;
  3.  
  4. //Arrays
  5. //Add a block/item to an array to set its stack size to the stated number
  6. //make sure every item except the last one in each array has a comma
  7. //If wanting to do bigger than 8192, need to increase the limit in stackup.cfg too
  8.  
  9. val stack256 =
  10. [
  11.  
  12. ] as IItemStack[];
  13.  
  14. val stack512 =
  15. [
  16.  
  17. ] as IItemStack[];
  18.  
  19. val stack1024 =
  20. [
  21.  
  22. ] as IItemStack[];
  23.  
  24. val stack2048 =
  25. [
  26.  
  27. ] as IItemStack[];
  28.  
  29. val stack4096 =
  30. [
  31.  
  32. ] as IItemStack[];
  33.  
  34. val stack8192 =
  35. [
  36. <minecraft:stone>,
  37. <minecraft:stone:1>,
  38. <minecraft:stone:3>,
  39. <minecraft:stone:5>,
  40. <minecraft:dirt>,
  41. <minecraft:cobblestone>
  42. ] as IItemStack[];
  43.  
  44.  
  45.  
  46.  
  47. //The magic, don't touch this
  48. for i in stack256 {
  49. i.maxStackSize(256);
  50. }
  51.  
  52. for i in stack512 {
  53. i.maxStackSize(512);
  54. }
  55.  
  56. for i in stack1024 {
  57. i.maxStackSize(1024);
  58. }
  59.  
  60. for i in stack2048 {
  61. i.maxStackSize(2048);
  62. }
  63.  
  64. for i in stack4096 {
  65. i.maxStackSize(4096);
  66. }
  67.  
  68. for i in stack8192 {
  69. i.maxStackSize(8192);
  70. }
Advertisement
Add Comment
Please, Sign In to add comment