Class EnvironmentAttributes

java.lang.Object
dev.wyck.wrapper.environment.attribute.EnvironmentAttributes

@NullMarked @AsOf("2.1.0") public final class EnvironmentAttributes extends Object
A registry of wrapped environment attribute suppliers, which provide access to the various attributes that can be defined for biomes.
Since:
1.1.0
  • Field Details

    • FOG_COLOR

      @AsOf("1.1.0") public static final FriendlyColorSupplier FOG_COLOR
      Color of the fog when underwater (also affected by time of day, weather, and potion effects)
    • FOG_START_DISTANCE

      @AsOf("1.1.0") public static final EnvironmentAttributeSupplier<Float> FOG_START_DISTANCE
      Distance in blocks from where the fog starts to have an effect. If negative, fog already exists at 0 distance.
    • FOG_END_DISTANCE

      @AsOf("1.1.0") public static final EnvironmentAttributeSupplier<Float> FOG_END_DISTANCE
      Distance in blocks when the fog affecting the clouds reaches maximum density. (also affected by the cloud distance option)
    • SKY_FOG_END_DISTANCE

      @AsOf("1.1.0") public static final EnvironmentAttributeSupplier<Float> SKY_FOG_END_DISTANCE
      Distance in blocks when the fog affecting the sky reaches maximum density. (also affected by the render distance)
    • CLOUD_FOG_END_DISTANCE

      @AsOf("1.1.0") public static final EnvironmentAttributeSupplier<Float> CLOUD_FOG_END_DISTANCE
      Distance in blocks when the fog affecting the clouds reaches maximum density. (also affected by the cloud distance option)
    • WATER_FOG_COLOR

      @AsOf("1.1.0") public static final FriendlyColorSupplier WATER_FOG_COLOR
      Color of the fog when underwater (also affected by time of day, weather, and potion effects)
    • WATER_FOG_START_DISTANCE

      @AsOf("1.1.0") public static final EnvironmentAttributeSupplier<Float> WATER_FOG_START_DISTANCE
      Distance in blocks from where the underwater fog starts to have an effect. If negative, fog already exists at 0 distance. (also affected by how long the player has been underwater)
    • WATER_FOG_END_DISTANCE

      @AsOf("1.1.0") public static final EnvironmentAttributeSupplier<Float> WATER_FOG_END_DISTANCE
      Distance in blocks when the underwater fog reaches maximum density (also affected by how long the player has been underwater)
    • SKY_COLOR

      @AsOf("1.1.0") public static final FriendlyColorSupplier SKY_COLOR
      Color of the sky (also affected by time of day and weather)
    • SUNRISE_SUNSET_COLOR

      @AsOf("1.1.0") public static final FriendlyColorSupplier SUNRISE_SUNSET_COLOR
      Color and intensity of sunrise and sunset. Only used with the overworld skybox type.
    • CLOUD_COLOR

      @AsOf("1.1.0") public static final FriendlyColorSupplier CLOUD_COLOR
      Opacity of the clouds. If fully transparent, Happy Ghast does not regenerate health faster when at cloud height.
    • CLOUD_HEIGHT

      @AsOf("1.1.0") public static final EnvironmentAttributeSupplier<Float> CLOUD_HEIGHT
      Height of the clouds
    • SUN_ANGLE

      @AsOf("1.1.0") public static final EnvironmentAttributeSupplier<Float> SUN_ANGLE
      Position of the sun in degrees from east to west. 0 is directly up. Only used with the overworld skybox type.
    • MOON_ANGLE

      @AsOf("1.1.0") public static final EnvironmentAttributeSupplier<Float> MOON_ANGLE
      Position of the moon in degrees from east to west. 0 is directly up. Only used with the overworld skybox type.
    • STAR_ANGLE

      @AsOf("1.1.0") public static final EnvironmentAttributeSupplier<Float> STAR_ANGLE
      Position of the sun in degrees from east to west. Only used with the overworld skybox type.
    • MOON_PHASE

      @AsOf("1.1.0") public static final EnvironmentAttributeSupplier<MoonPhase> MOON_PHASE
      Phase of the moon. Only used with the overworld skybox type.
    • STAR_BRIGHTNESS

      @AsOf("1.1.0") public static final EnvironmentAttributeSupplier<Float> STAR_BRIGHTNESS
      Brightness of the stars. 0.5 is the default night star brightness. Only used with the overworld skybox type.
    • BLOCK_LIGHT_TINT

      @AsOf("2.1.0") public static final FriendlyColorSupplier BLOCK_LIGHT_TINT
      Tint of the block light. Block light color starts as dark gray at low light levels, becomes tinted by this attribute at medium levels, and turns white at high levels. By default, it provides the yellowish tint of torches.
    • SKY_LIGHT_COLOR

      @AsOf("1.1.0") public static final FriendlyColorSupplier SKY_LIGHT_COLOR
      Color of the skylight. Has no effect on blocks with a skylight of 0. This value is passed to the lightmap.fsh shader as SkyLightColor
    • SKY_LIGHT_FACTOR

      @AsOf("1.1.0") public static final EnvironmentAttributeSupplier<Float> SKY_LIGHT_FACTOR
      Visual brightness of the skylight. The skylight color is multiplied with this value and passed to the lightmap.fsh shader as SkyFactor
    • NIGHT_VISION_COLOR

      @AsOf("2.1.0") public static final FriendlyColorSupplier NIGHT_VISION_COLOR
      Used similarly to ambient light color When the night vision effect is active, a per-component maximum of visual/night_vision_color and visual/ambient_light_color is used as ambient color. Night Vision is not tinted by default.
    • AMBIENT_LIGHT_COLOR

      @AsOf("2.1.0") public static final FriendlyColorSupplier AMBIENT_LIGHT_COLOR
      Defines both the ambient light tint and brightness This light is applied to the world at 0 light levels. Block and skylight are added on top of it.
    • DEFAULT_DRIPSTONE_PARTICLE

      @AsOf("1.1.0") public static final EnvironmentAttributeSupplier<ParticleOptions> DEFAULT_DRIPSTONE_PARTICLE
      The particle generated by downward pointed dripstone when no liquid is above.
    • AMBIENT_PARTICLES

      @AsOf("1.1.0") public static final EnvironmentAttributeSupplier<ParticleCatalog> AMBIENT_PARTICLES
      Particles that spawn randomly around the camera where probability is the chance to spawn a particle in an empty space
    • MUSIC_VOLUME

      @AsOf("1.1.0") public static final EnvironmentAttributeSupplier<Float> MUSIC_VOLUME
      Volume of the music. Music volume will fade over time to this value.
    • FIREFLY_BUSH_SOUNDS

      @AsOf("1.1.0") public static final EnvironmentAttributeSupplier<Boolean> FIREFLY_BUSH_SOUNDS
      Whether a firefly bush plays ambient sounds when not under an opaque block.
    • SKY_LIGHT_LEVEL

      @AsOf("1.1.0") public static final EnvironmentAttributeSupplier<Float> SKY_LIGHT_LEVEL
      The internal skylight level (inversely known as the "darkening" skylight level), not the actual skylight level. This affects mechanics such as monster spawning, daylight detector power, and ice melting. The visual effect is controlled by visual/sky_light_factor.
    • CAN_START_RAID

      @AsOf("1.1.0") public static final EnvironmentAttributeSupplier<Boolean> CAN_START_RAID
      Whether a player with Raid Omen can start a raid.
    • WATER_EVAPORATES

      @AsOf("1.1.0") public static final EnvironmentAttributeSupplier<Boolean> WATER_EVAPORATES
      Whether water can be placed from a bucket, or by melting ice, or whether a wet sponge will dry out.
    • BED_RULE

      @AsOf("1.1.0") public static final EnvironmentAttributeSupplier<BedRule> BED_RULE
      Controls behavior of interacting with beds.
    • RESPAWN_ANCHOR_WORKS

      @AsOf("1.1.0") public static final EnvironmentAttributeSupplier<Boolean> RESPAWN_ANCHOR_WORKS
      Whether a respawn anchor can be used to set spawn. If set to false, a respawn anchor explodes once used.
    • NETHER_PORTAL_SPAWNS_PIGLIN

      @AsOf("1.1.0") public static final EnvironmentAttributeSupplier<Boolean> NETHER_PORTAL_SPAWNS_PIGLIN
      Whether a nether portal can spawn zombified piglins.
    • FAST_LAVA

      @AsOf("1.1.0") public static final EnvironmentAttributeSupplier<Boolean> FAST_LAVA
      Whether lava should spread faster and further, and have a stronger pushing force on entities.
    • INCREASED_FIRE_BURNOUT

      @AsOf("1.1.0") public static final EnvironmentAttributeSupplier<Boolean> INCREASED_FIRE_BURNOUT
      Whether fire should burn out more quickly.
    • TURTLE_EGG_HATCH_CHANCE

      @AsOf("1.1.0") public static final EnvironmentAttributeSupplier<Float> TURTLE_EGG_HATCH_CHANCE
      Chance for a turtle egg to progress to its next hatching state on a random tick.
    • PIGLINS_ZOMBIFY

      @AsOf("1.1.0") public static final EnvironmentAttributeSupplier<Boolean> PIGLINS_ZOMBIFY
      Whether piglins and hoglins zombify.
    • SNOW_GOLEM_MELTS

      @AsOf("1.1.0") public static final EnvironmentAttributeSupplier<Boolean> SNOW_GOLEM_MELTS
      Whether snow golems should take damage passively.
    • CREAKING_ACTIVE

      @AsOf("1.1.0") public static final EnvironmentAttributeSupplier<Boolean> CREAKING_ACTIVE
      When true, a creaking heart will become active. When false, it will become inactive.
    • SURFACE_SLIME_SPAWN_CHANCE

      @AsOf("1.1.0") public static final EnvironmentAttributeSupplier<Float> SURFACE_SLIME_SPAWN_CHANCE
      Chance of additional slime spawn on the surface in biomes in the #allows_surface_slime_spawns tag.
    • CAT_WAKING_UP_GIFT_CHANCE

      @AsOf("1.1.0") public static final EnvironmentAttributeSupplier<Float> CAT_WAKING_UP_GIFT_CHANCE
      Chance of a cat dropping a gift when the player wakes up.
    • BEES_STAY_IN_HIVE

      @AsOf("1.1.0") public static final EnvironmentAttributeSupplier<Boolean> BEES_STAY_IN_HIVE
      When true, bees will pathfind to beehives and not exit (except when the Hive is broken or next to fire).
    • MONSTERS_BURN

      @AsOf("1.1.0") public static final EnvironmentAttributeSupplier<Boolean> MONSTERS_BURN
      Whether monsters burn when exposed to the sky.
    • CAN_PILLAGER_PATROL_SPAWN

      public static final EnvironmentAttributeSupplier<Boolean> CAN_PILLAGER_PATROL_SPAWN
      Whether patrols can spawn when the global skylight is greater than 11.
    • VILLAGER_ACTIVITY

      @AsOf("1.1.0") public static final EnvironmentAttributeSupplier<Activity> VILLAGER_ACTIVITY
      Controls the default AI activity of villagers. Core, hide, idle, meet, panic, pre_raid, raid, rest, or work. Other activities are allowed causing the villager to do nothing.
    • BABY_VILLAGER_ACTIVITY

      @AsOf("1.1.0") public static final EnvironmentAttributeSupplier<Activity> BABY_VILLAGER_ACTIVITY
      Controls the default AI activity of baby villagers. Core, hide, idle, meet, panic, pre_raid, raid, rest, or work. Other activities are allowed causing the villager to do nothing.
    • BACKGROUND_MUSIC

      @AsOf("1.1.0") public static final EnvironmentAttributeSupplier<BackgroundMusic> BACKGROUND_MUSIC
      The background music to play.
    • AMBIENT_SOUNDS

      @AsOf("1.1.0") public static final EnvironmentAttributeSupplier<AmbientSounds> AMBIENT_SOUNDS
      Controls ambient sounds that are played around the camera.
    • EYEBLOSSOM_OPEN

      @AsOf("1.1.0") public static final EnvironmentAttributeSupplier<TriState> EYEBLOSSOM_OPEN
      How eyeblossoms should behave.

      True: eyeblossoms will open

      False: eyeblossoms will close

      Default: eyeblossom will stay in their current state

  • Method Details