Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to biome tags for biome-based entity spawning. #4

Open
wants to merge 1 commit into
base: 1.20
Choose a base branch
from

Conversation

gniftygnome
Copy link

This PR does two things:

  • Use biome tags for entity spawning
  • Remove farm animals from minecraft:is_jungle

With the former, I'm mostly just hoping to start a conversation about finding a way to use vanilla and conventional biome tags to achieve better compatibility with biome mods. Both types of biome tag have seen a lot of improvements over the past year or so, and now conventional tags are largely standardized between fabric/quilt and neoforge. Biome modders have been encouraged to use more biome tags, and even if all Faunus did for biome mod compatibility was to use biome tags, I think the compatibility would be pretty good. This also allows biome mods to further refine compatibility with Faunus by modifying the Faunus spawn tags.

I don't know how important it is having the biomes in the configuration; I have taken the easy road of removing that functionality, but another (more technically difficult) path might be to allow tags in the configuration instead. For example, this PR makes Faunus compatible with the Terraformers biome mods (Traverse and Terrestria in the overworld).

As for the latter change, all it does is turn on the existing functionality to remove the mods from biomes tagged minecraft:is_jungle. I did this because when we discussed in Discord it sounded like having it turned off might have been an oversight. It does appear to work, although passive spawns are slow, so it is hard to really confirm. I think this feature is best left turned off unless biome tags are also being used for mob additions (as in this PR).

- Use biome tags for entity spawning
- Remove farm animals from `minecraft:is_jungle`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant