Contains GT Items and Item related References.
| 1601 | |
| 1602 | /** Contains GT Items and Item related References. */ |
| 1603 | public static class ItemsGT { |
| 1604 | /** The MultiItems */ |
| 1605 | public static MultiItemRandom TECH, TOOLS, CANS, FOOD, BOTTLES, BOOKS, BUMBLEBEES; |
| 1606 | public static MultiItemRandom[] ALL_MULTI_ITEMS = new MultiItemRandom[] {TECH, TOOLS, CANS, FOOD, BOTTLES, BOOKS, BUMBLEBEES}; |
| 1607 | public static final ItemStackSet<ItemStackContainer> ILLEGAL_DROPS = ST.hashset(); |
| 1608 | public static final ItemStackSet<ItemStackContainer> DEBUG_ITEMS = ST.hashset(); |
| 1609 | public static final ItemStackSet<ItemStackContainer> AMMO_ITEMS = ST.hashset(); |
| 1610 | public static final ItemStackSet<ItemStackContainer> NO_TOOL_FATIQUE = ST.hashset(); |
| 1611 | public static final ItemStackSet<ItemStackContainer> NON_AUTO_INSERT_ITEMS = ST.hashset(); |
| 1612 | public static final ItemStackSet<ItemStackContainer> CONTAINER_DURABILITY = ST.hashset(); |
| 1613 | public static final ItemStackSet<ItemStackContainer> SPECIAL_CASE_TOOLS = ST.hashset(); |
| 1614 | public static final ItemStackSet<ItemStackContainer> SHOW_RESISTANCE = ST.hashset(); |
| 1615 | public static final ItemStackSet<ItemStackContainer> VOIDING_ITEMS = ST.hashset(); |
| 1616 | public static final ItemStackSet<ItemStackContainer> RECIPE_REMOVED_USE_TRASH_BIN_INSTEAD = ST.hashset(); |
| 1617 | public static final ItemStackSet<ItemStackContainer> NEI_DONT_SHOW_FLUIDS = ST.hashset(); |
| 1618 | |
| 1619 | public static boolean addNEIRedirect(ItemStack aStack, ItemStack... aRedirects) {if (aStack == null) return F; ArrayListNoNulls<ItemStack> tList = sNEIRedirects.get(new ItemStackContainer(aStack)); if (tList == null) sNEIRedirects.put(new ItemStackContainer(aStack), tList = new ArrayListNoNulls<>()); return tList.addAll(Arrays.asList(aRedirects));} |
| 1620 | public static boolean addNEIRedirects(Block aBlock) {ItemStack[] tRedirects = new ItemStack[16]; for (int i = 0; i < tRedirects.length; i++) tRedirects[i] = ST.make(aBlock, 1, i); return addNEIRedirects(tRedirects);} |
| 1621 | public static boolean addNEIRedirects(ItemStack... aRedirects) {for (ItemStack tStack : aRedirects) if (ST.valid(tStack)) {ArrayListNoNulls<ItemStack> tList = sNEIRedirects.get(new ItemStackContainer(tStack)); if (tList == null) sNEIRedirects.put(new ItemStackContainer(tStack), tList = new ArrayListNoNulls<>()); tList.addAll(Arrays.asList(aRedirects));} return T;} |
| 1622 | public static final Map<ItemStackContainer, ArrayListNoNulls<ItemStack>> sNEIRedirects = new ItemStackMap<>(); |
| 1623 | } |
| 1624 | |
| 1625 | /** Contains GT Blocks and Block related References. */ |
| 1626 | public static class BlocksGT { |