Farmer's Delight

Farmer's Delight

120M Downloads

Missing conventional tagging for rich farmland

Miasmusa opened this issue ยท 5 comments

commented

Please add rich farmland to the #c:farmland and #c:farmlands tags, which mods use to check if plants (eg. Cobblemon's berries) can be planted on certain blocks.

commented

You can get berries to plant by adding rich farmland to #cobblemon:berry_soil sadly this does not seem to work for mints however, I haven't been able to discern why mints aren't plantable. That said adding the #c:farmland and #c:farmlands tags do not fix the issue.

commented

That doesn't seem to be a conventional tag used by NeoForge anywhere, at least not within the official c tags it defines for mods. Only Cobblemon seems to be calling for it.

Given I'm not very familiar with Cobblemon, it's not easy to know which of its tags to support with which blocks. This might be better left to datapacks.

commented

I've tried adding this tag via datapacks and you still cannot plant any of their plants on rich soil, I wasn't able to discern what the problem was.

commented

That doesn't seem to be a conventional tag used by NeoForge anywhere, at least not within the official c tags it defines for mods. Only Cobblemon seems to be calling for it.

Given I'm not very familiar with Cobblemon, it's not easy to know which of its tags to support with which blocks. This might be better left to datapacks.

I think this c:farmland tag is used in Fabric, not Foge.

commented

My apologies, it does seem like this isn't an established tag. Upon further research I found this issue, which suggests using instanceof FarmBlock calls instead. Not the best solution imo, but fortunately rich soil farmland already extends FarmBlock so it won't be an issue.