1
2
Fork 0
mirror of https://github.com/mat-1/azalea.git synced 2025-08-02 23:44:38 +00:00

change ultrawarm to be required

This commit is contained in:
mat 2025-01-10 09:34:32 +00:00
commit 5364d4fad4
2 changed files with 2 additions and 2 deletions

View file

@ -161,7 +161,7 @@ pub struct DimensionTypeElement {
pub struct DimensionTypeElement {
pub height: u32,
pub min_y: i32,
pub ultrawarm: Option<u8>,
pub ultrawarm: u8,
#[simdnbt(flatten)]
pub _extra: HashMap<String, NbtTag>,
}

View file

@ -34,7 +34,7 @@ pub fn update_in_water_state_and_do_fluid_pushing(
let is_ultrawarm = world
.registries
.dimension_type()
.and_then(|d| d.map.get(instance_name).and_then(|d| d.ultrawarm))
.and_then(|d| d.map.get(instance_name).map(|d| d.ultrawarm))
== Some(1);
let lava_push_factor = if is_ultrawarm {
0.007