Skip to content

Commit

Permalink
Add Botania grass variants to sniffer-diggable blocks
Browse files Browse the repository at this point in the history
(implements #4782)
TheRealWormbo committed Jan 21, 2025
1 parent b36ac1e commit e57222e
Showing 4 changed files with 16 additions and 1 deletion.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -146,7 +146,9 @@ protected void addTags(HolderLookup.Provider provider) {
tag(BlockTags.BEACON_BASE_BLOCKS).add(BotaniaBlocks.manasteelBlock, BotaniaBlocks.terrasteelBlock, BotaniaBlocks.elementiumBlock,
BotaniaBlocks.manaDiamondBlock, BotaniaBlocks.dragonstoneBlock);

tag(BlockTags.DIRT).add(getModBlocks(b -> b instanceof BotaniaGrassBlock));
@NotNull Block[] grassBlockVariants = getModBlocks(b -> b instanceof BotaniaGrassBlock);
tag(BlockTags.DIRT).add(grassBlockVariants);
tag(BlockTags.SNIFFER_DIGGABLE_BLOCK).add(grassBlockVariants);
tag(BotaniaTags.Blocks.BLOCKS_ELEMENTIUM).add(BotaniaBlocks.elementiumBlock);
tag(BotaniaTags.Blocks.BLOCKS_MANASTEEL).add(BotaniaBlocks.manasteelBlock);
tag(BotaniaTags.Blocks.BLOCKS_TERRASTEEL).add(BotaniaBlocks.terrasteelBlock);
1 change: 1 addition & 0 deletions web/changelog.md
Original file line number Diff line number Diff line change
@@ -21,6 +21,7 @@ and start a new "Upcoming" section.
structure it's placed in, also further customizable with datapacks. Huuuuge
thanks to Wormbo for a lot of work on this feature!
* Add: Dispenser planting supports torchflower seeds and pitcher pods
* Add: Sniffers can dig up their usual seeds on Botania grass variants
* Change: More readable color in Loonium tooltip
* Change: Pasture seed spread is no longer restricted to a single Y-level, and replacing existing dirt-like blocks is handled by block tag `botania:pasture_seed_replaceable`
* Change: Hopperhocks now also apply delay from being planted on podzol or mycelium to picking up recipe outputs, such as from mana infusion

0 comments on commit e57222e

Please sign in to comment.