Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #priority -1
- import crafttweaker.game.IGame;
- import crafttweaker.item.IItemStack;
- import crafttweaker.item.IItemDefinition;
- var mapSizeChange = {
- 64 : 10000,
- 16 : 5000,
- 8 : 2500
- } as int[int];
- for item in game.items {
- if (item.name != "tile.air") {
- var stackSize = item.makeStack().maxStackSize;
- for old, new in mapSizeChange {
- if (stackSize == old) {
- item.makeStack().maxStackSize = new;
- }
- }
- }
- }
Add Comment
Please, Sign In to add comment