Make lexicon usable, search for recipes instead of hardcoding ids

Make dice of fate function again,
fix most remaining crafting recipes,
fix lexicon images
This commit is contained in:
Hubry committed 2019-08-09 23:10:11 +02:00
1 parent fb2cac4bf0
commit 290c69443d
44 files changed
+1209 -1616

No files matched your search

@@ -1060,5 +1060,25 @@ public final class ModBlocks {
case BLACK: return doubleFlowerBlack;
}
}
public static Block getPetalBlock(DyeColor color) {
switch (color) {
default:
case WHITE: return petalBlockWhite;
case ORANGE: return petalBlockOrange;
case MAGENTA: return petalBlockMagenta;
case LIGHT_BLUE: return petalBlockLightBlue;
case YELLOW: return petalBlockYellow;
case LIME: return petalBlockLime;
case PINK: return petalBlockPink;
case GRAY: return petalBlockGray;
case LIGHT_GRAY: return petalBlockSilver;
case CYAN: return petalBlockCyan;
case PURPLE: return petalBlockPurple;
case BLUE: return petalBlockBlue;
case BROWN: return petalBlockBrown;
case GREEN: return petalBlockGreen;
case RED: return petalBlockRed;
case BLACK: return petalBlockBlack;
}
}
}