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

Add a biome recipe restriction. #23

Open
Szajtek opened this issue Jan 13, 2024 · 4 comments
Open

Add a biome recipe restriction. #23

Szajtek opened this issue Jan 13, 2024 · 4 comments

Comments

@Szajtek
Copy link

Szajtek commented Jan 13, 2024

Describe the feature/addition!

There are currently 3 recipe conditions that are possible to add to a recipe, which are:

  • Time with .dayTime('day')
  • Weather with .weather('clear')
  • Block below with .blockBelow('minecraft:stone')

I suggest adding another condition that checks for the biome that the altar is in for example .biome("minecraft:plains").

Why would like to see this feature/addition?

I am making a modpack where one needs to summon bosses, it would be a great addition to limit the biomes that the boss can spawn in, in order to set up some requirements like traveling to certain conditions where boss would normally reside (for example ice biome for an iceologer boss).

@rlnt
Copy link
Member

rlnt commented Jan 13, 2024

I have planned to add more conditions, inputs, and outputs in future versions but the 1.20.1 update was just for some people that requested it. A bigger rework will happen on 1.20.4 or possibly 1.21 when the mod becomes NeoForge only. Since that will require a lot of internal changes anyway, I can redesign a lot of the systems.

Biome check is a good idea. I'll add that to my list. Thank you!

@Szajtek
Copy link
Author

Szajtek commented Jan 13, 2024

Any chance biome check would come out for 1.20.1? No worries if not, I just want to know if to look for alternative methods or wait for this to be implemented.

Thank you!

@Szajtek Szajtek closed this as completed Jan 13, 2024
@Szajtek Szajtek reopened this Jan 13, 2024
@rlnt
Copy link
Member

rlnt commented Jan 13, 2024

Not planned for 1.20.1, sorry.
But you can do it yourself with the start event when using KubeJS. You can check the biome there and if it's not the right one, you can cancel the craft and print a chat message. The only disadvantage would be that the recipe doesn't show the condition in JEI/REI.

@Szajtek
Copy link
Author

Szajtek commented Jan 13, 2024

Cheers, thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants