Datagenerate apothecary block models

This commit is contained in:
Vincent Lee committed 2020-07-03 10:56:49 -05:00
1 parent 89511cc160
commit 6f3b9f4056
52 files changed
+93 -101

No files matched your search

@@ -198,6 +198,15 @@ public class BlockstateProvider extends BlockStateProvider {
particleOnly(b, wool);
});
takeAll(blocks, b -> b instanceof BlockAltar).forEach(b -> {
String name = Registry.BLOCK.getKey(b).getPath();
ModelFile model = models().withExistingParent(name, prefix("block/shapes/petal_apothecary"))
.texture("side", prefix("block/" + name + "_side"))
.texture("goblet", prefix("block/" + name + "_goblet"))
.texture("top_bottom", prefix("block/" + name + "_top_bottom"));
simpleBlock(b, model);
});
blocks.forEach(b -> {
String name = Registry.BLOCK.getKey(b).getPath();
if (name.contains("quartz") && b instanceof RotatedPillarBlock) {