BiomeVisuals

BiomeVisuals

Plugin

A plugin that allows server owners to override sent biome to clients.

Server DecorationLibraryUtility

159 downloads
5 followers
Created2 years ago
Updateda year ago

Follow Save
Host your Minecraft server on BisectHosting - get 25% off your first month with code MODRINTH.
Filter versions...

Updated to 1.19.4

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!

External resources



Project members

Owen1212055

Owner


Technical information

Project ID