Skip to content

Release 1.3 (1.19.3)

Compare
Choose a tag to compare
@Owen1212055 Owen1212055 released this 04 Feb 02:53
· 7 commits to main since this release
228816a

Thank you AlexTMjugador for their brilliant contributions to BiomeVisuals! 😄

  • Updated to 1.19.3
  • Added new event-based API for registry injection.

You can now use an event to manually handle registry overriding.

 @EventHandler
    public void onRegistrySend(final @NotNull BiomeRegistrySendEvent event) {
        event.setRegistryEntry(NamespacedKey.minecraft("plains"),
                BiomeDataBuilder.newBuilder()
                        .temperature(5f)
                        .precipitation(PrecipitationType.SNOW)
                        .temperatureModifier(TemperatureModifier.FROZEN)
                        .downfall(5F)
                        .category(BiomeCategory.BEACH)
                        .effect(
                                BiomeEffectBuilder.newBuilder()
                                        .foliageColorOverride(Color.BLACK)
                                        .grassColorOverride(Color.OLIVE)
                                        .skyColor(Color.GREEN)
                                        .waterColor(Color.FUCHSIA)
                                        .waterFogColor(Color.AQUA)
                                        .fogColor(Color.BLUE)
                                        .grassColorModifier(GrassModifier.DARK_FOREST)
                                        .ambientParticle(AmbientParticle.of(Particle.ASH, 5, null))
                                        .ambientSound(AmbientSound.of(Sound.ITEM_GOAT_HORN_SOUND_0))
                                        .moodSound(MoodSound.of(Sound.ITEM_GOAT_HORN_SOUND_0, 1, 1, 1))
                                        .additionSound(AdditionSound.of(Sound.ITEM_GOAT_HORN_SOUND_2, 5))
                                        .music(Music.of(Sound.AMBIENT_BASALT_DELTAS_ADDITIONS, 1, 1, true))
                                        .build()
                        )
                        .build());

This will override the plains key with the new biome data. Note: This will NOT merge the previous entry, to ensure you set everything!