Skip to content

Commit 410519f

Browse files
committed
Add firefly spawn support for Mariposa's redwood forests
1 parent fc036c3 commit 410519f

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

changelog.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
------------------------------------------------------
2+
Effective 2.4.8 (Alpha) - 1.21.1
3+
------------------------------------------------------
4+
- Added firefly spawn support for Mariposa's redwood forests (https://modrinth.com/mod/mariposa)
5+
16
------------------------------------------------------
27
Effective 2.4.7 (Alpha) - 1.21.1
38
------------------------------------------------------

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ yarn_mappings=1.21.1+build.3
2020
loader_version=0.16.9
2121

2222
# Mod Properties
23-
mod_version=2.4.7-1.21.1
23+
mod_version=2.4.8-1.21.1
2424
maven_group=ladysnake
2525
archives_base_name=effective
2626

src/client/java/org/ladysnake/effective/settings/SpawnSettings.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
import com.google.common.collect.ImmutableMap;
44
import net.minecraft.registry.RegistryKey;
5+
import net.minecraft.registry.RegistryKeys;
6+
import net.minecraft.util.Identifier;
57
import net.minecraft.world.biome.Biome;
68
import net.minecraft.world.biome.BiomeKeys;
79
import org.ladysnake.effective.settings.data.FireflySpawnSetting;
@@ -42,5 +44,6 @@ public class SpawnSettings {
4244
.put(BiomeKeys.LUSH_CAVES, new FireflySpawnSetting(MEDIUM, new Color(0xF2B646)))
4345
.put(BiomeKeys.SWAMP, new FireflySpawnSetting(HIGH, new Color(0xBFFF00)))
4446
.put(BiomeKeys.MANGROVE_SWAMP, new FireflySpawnSetting(HIGH, new Color(0xBFFF00)))
47+
.put(RegistryKey.of(RegistryKeys.BIOME, Identifier.of("mariposa", "redwood_forest")), new FireflySpawnSetting(MEDIUM, new Color(0xBFFF00)))
4548
.build();
4649
}

0 commit comments

Comments
 (0)