Skip to content

Commit 779c37b

Browse files
committed
fix: Add missing sapling block tags #5
1 parent fa49778 commit 779c37b

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

fabric/src/main/java/net/blay09/mods/pantryforblockheads/fabric/datagen/ModBlockTagProvider.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ protected void addTags(HolderLookup.Provider arg) {
3434
final var leaves = valueLookupBuilder(BlockTags.LEAVES);
3535
blocks.leaves.sortedValues().map(DeferredBlock::asBlock).forEach(leaves::add);
3636

37+
final var saplings = valueLookupBuilder(BlockTags.SAPLINGS);
38+
blocks.saplings.sortedValues().map(DeferredBlock::asBlock).forEach(saplings::add);
39+
3740
valueLookupBuilder(BlockTags.MINEABLE_WITH_PICKAXE).add(blocks.artisanPress.asBlock());
3841
}
3942
}

0 commit comments

Comments
 (0)