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.
Code (Java):
@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!