mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-17 19:05:16 +00:00
Fix three high template model, fix floating flower blockstates being deleted accidentally
This commit is contained in:
1 parent
00b0b63262
commit
512945af89
68 files changed
+462
-5
No files matched your search
@@ -66,9 +66,6 @@ public class BlockstateProvider extends BlockStateProvider {
|
||||
.filter(b -> LibMisc.MOD_ID.equals(Registry.BLOCK.getKey(b).getNamespace()))
|
||||
.collect(Collectors.toSet());
|
||||
|
||||
// Handled by FloatingFlowerModelProvider
|
||||
remainingBlocks.removeIf(b -> b instanceof BlockFloatingFlower);
|
||||
|
||||
// Manually written blockstate + models
|
||||
remainingBlocks.remove(ghostRail);
|
||||
remainingBlocks.remove(solidVines);
|
||||
@@ -408,6 +405,11 @@ public class BlockstateProvider extends BlockStateProvider {
|
||||
simpleBlock(b, model);
|
||||
});
|
||||
|
||||
takeAll(remainingBlocks, b -> b instanceof BlockFloatingFlower).forEach(b -> {
|
||||
String name = Registry.BLOCK.getKey(b).getPath();
|
||||
simpleBlock(b, models().getExistingFile(prefix("block/" + name)));
|
||||
});
|
||||
|
||||
takeAll(remainingBlocks, b -> b instanceof PaneBlock).forEach(b -> {
|
||||
String name = Registry.BLOCK.getKey(b).getPath();
|
||||
ResourceLocation edge = prefix("block/" + name);
|
||||
|
||||
Reference in new issue
Block a user