Botania

Botania

133M Downloads

Add dedicated tags for horns

artemisSystem opened this issue ยท 1 comments

commented

We should add tags like botania:horn_of_the_wild_breakable or something instead of using hardcoded vanilla tags.

if (harvestable != null
? harvestable.canHornHarvest(world, pos, stack, type, user)
: type == EnumHornType.WILD && block instanceof BushBlock && !state.is(BotaniaTags.Blocks.SPECIAL_FLOWERS)
|| type == EnumHornType.CANOPY && state.is(BlockTags.LEAVES)
|| type == EnumHornType.COVERING && state.is(Blocks.SNOW)) {
coords.add(pos.immutable());

commented

Note that this can only be done for the canopy and covering horns, that instanceof BushBlock for Wild is something I want so that it covers all modded bushblocks (a lot of them)