MCPcopy Index your code
hub / github.com/GregTech6/gregtech6 / forceProperMaxStacksizes

Method forceProperMaxStacksizes

src/main/java/gregapi/util/ST.java:1000–1013  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

998 }
999
1000 public static boolean forceProperMaxStacksizes() {
1001 Items.potionitem .setMaxStackSize( 1);
1002 Items.glass_bottle .setMaxStackSize(64);
1003 Items.bed .setMaxStackSize(64);
1004 Items.cake .setMaxStackSize(64);
1005 Items.wooden_door .setMaxStackSize( 8);
1006 Items.iron_door .setMaxStackSize( 8);
1007 Items.written_book .setMaxStackSize(64);
1008 Items.writable_book .setMaxStackSize(64);
1009 Items.enchanted_book .setMaxStackSize(64);
1010 Items.snowball .setMaxStackSize(64);
1011 Items.egg .setMaxStackSize(64);
1012 return T;
1013 }
1014
1015 public static final Collection<ItemStack> REVERT_TO_BOOK_TO_FIX_STUPID = arraylist();
1016 public static void fixBookStacks() {for (ItemStack tStack : REVERT_TO_BOOK_TO_FIX_STUPID) set(tStack, make(Items.book, 1, 0), T, T);}

Callers 3

GT_APIMethod · 0.95
onModPostInit2Method · 0.95
applyStackSizesMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected