(ItemStack aStack)
| 1581 | public static class BushesGT { |
| 1582 | public static final ItemStackMap<ItemStackContainer, int[]> MAP = new ItemStackMap<>(); |
| 1583 | public static int[] get(ItemStack aStack) {return UT.Code.getWithDefault(MAP.containsKey(aStack, F) ? MAP.get(aStack) : MAP.get(new ItemStackContainer(aStack, 1, W)), DEFAULT);} |
| 1584 | /** Bush Color, Stage 1, Stage 2, Stage 3 */ |
| 1585 | public static void put(ItemStack aStack, int aBush, int aBloom, int aImmature, int aBerry) {if (!MAP.containsKey(aStack, F)) MAP.put(aStack, new int[] {aBush, aBloom, aImmature, aBerry});} |
| 1586 | public static void override(ItemStack aStack, int... aColors) {MAP.put(aStack, aColors);} |
no test coverage detected