Bush Color, Stage 1, Stage 2, Stage 3
(ItemStack aStack, int aBush, int aBloom, int aImmature, int aBerry)
| 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);} |
| 1587 | // Add Cotton as a Default Bush. |
| 1588 | public static int[] DEFAULT = new int[] {0x22cc22, 0x33cc33, 0x44cc44, 0xeeeeee}; |
no test coverage detected