Resourceful Bees

Resourceful Bees

10M Downloads

JEI search for `$valid_apiary` returns no results

mkaito opened this issue · 9 comments

commented

Describe the bug
The guide book says that any block with the tag valid_apiary can be used to build an apiary. I expected that to be searchable via JEI.

To Reproduce
Steps to reproduce the behavior:

  1. Go to JEI
  2. Search $valid_apiary
  3. Observe zero results

Expected behavior
A list of blocks that I can use to build an apiary

Screenshots or Crash Logs
image

please complete the following information:

  • Forge Version 1.16.4-35.1.4
  • Mod Version 1.16.3-0.5.5b

Additional context
All The Mods 6 modpack

commented

Jei doesn’t display block tags. I have an item tag in dev to fix it. But it won’t show all possible blocks Bc not all block tags have an item tag variant.

commented

Is there any other way to get a list?

commented
{
  "replace": false,
  "values": [
    "resourcefulbees:t1_apiary",
    "resourcefulbees:t2_apiary",
    "resourcefulbees:t3_apiary",
    "resourcefulbees:t4_apiary",
    "resourcefulbees:apiary_storage",
    "resourcefulbees:apiary_breeder",
    "#minecraft:wool",
    "#minecraft:planks",
    "#minecraft:sand",
    "#minecraft:logs",
    "#minecraft:doors",
    "#minecraft:stairs",
    "#minecraft:slabs",
    "#minecraft:walls",
    "#minecraft:leaves",
    "#minecraft:trapdoors",
    "#minecraft:fences",
    "#minecraft:ice",
    "#minecraft:coral_blocks",
    "#forge:dirt",
    "#forge:end_stones",
    "#forge:fences",
    "#forge:glass",
    "#forge:glass_panes",
    "#forge:gravel",
    "#forge:netherrack",
    "#forge:obsidian",
    "#forge:ores",
    "#forge:sand",
    "#forge:sandstone",
    "#forge:stone",
    "#forge:storage_blocks",
    "#forge:fence_gates",
    "minecraft:bricks",
    "minecraft:farmland"
  ]
}

That’s our tag list by default. However you can add more through data packs

commented
commented

I came across this issue on JEI that suggests searching for block tags should be possible somehow.

commented

Hmm perhaps it’s the jei version? Our block tag is added the same way as every other tag so assuming jei is working properly then ours should work as welll

commented

Searching for other block tags, such as Botania's terraformable doesn't yield any results for me either. I'm using the latest version of JEI on 1.16.4. I think it just doesn't allow searching for block tags period, and the implication in the linked issue is just wrong. After all, JEI is all about items and their recipes. It just so happens to a lot of items have the same tags as the blocks they become when placed. So I suppose the only real way around this is to add item tags to everything.

commented

Yeah that’s been my gripe for a while. Block tags should automatically come with an item tag variant. But ultimately that’s up to us modders to handle Bc forge couldn’t be bothered to do something good/useful for once.

commented

I would argue that it's probably better for us to automate adding both tags than Forge forcing the assumptions that they should be the same, but that's just my personal opinion.