Jump to content

[1.17.x] Weird Biome Temperature


Nyko

Recommended Posts

Hey Guys,
i have a create a custom Mountain Biome called Heighland for the Overworld
with the following Biome Settings:

public static Supplier<Biome> createHeighland() {
	Biome.BiomeBuilder biomeBuilder = new Biome.BiomeBuilder();
  	...
	biomeBuilder.depth(3.2F);
	biomeBuilder.scale(0.1F);
 	biomeBuilder.temperature(2.0F);
	return biomeBuilder::build;
}

the Heighland Biome has a few Subtypes like Grass Heighlands, DesertHeighlands and so on
my problem is now that all Biomes have a Snow Layer and water turns into ice, but it should not since the temperature of the Biome is set to 2.0
which should be hot like the normal Desert or the Nether Biomes

any ideas how to fis this?

Edited by Nyko
Link to comment
Share on other sites

at the moment you can't, vanilla has a function (Biome#getHeightAdjustedTemperature) which modify the temperature the higher you go
i have create a PR which allows you to extends the TemperatureModifier enum,
If my PR  is added to Forge you can create a custom TemperatureModifier which changes the temperature,
so that the Biome#getHeightAdjustedTemperature returns the original temperature

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.