mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-18 19:29:31 +00:00
Datagenerate apothecary block models
This commit is contained in:
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) {
|
||||
|
||||
Reference in new issue
Block a user