Record Class EnvironmentAttributes

java.lang.Object
java.lang.Record
fr.fidorial.world.environment.EnvironmentAttributes
Record Components:
fogColor - distance fog color, packed RGB — minecraft:visual/fog_color
fogStartDistance - distance in blocks at which fog begins — minecraft:visual/fog_start_distance
fogEndDistance - distance in blocks at which fog reaches full density — minecraft:visual/fog_end_distance
skyColor - sky color, packed RGB — minecraft:visual/sky_color
cloudColor - cloud color, packed ARGB — minecraft:visual/cloud_color
cloudHeight - height, in blocks, at which clouds render — minecraft:visual/cloud_height
skyLightColor - sky light color, packed RGB — minecraft:visual/sky_light_color
skyLightFactor - multiplier applied to sky light, within [0, 1]minecraft:visual/sky_light_factor
ambientLightColor - ambient light color, packed RGB — minecraft:visual/ambient_light_color
defaultDripstoneParticle - particle used by dripping dripstone — minecraft:visual/default_dripstone_particle
waterFogColor - underwater fog color, packed RGB — minecraft:visual/water_fog_color
waterFogEndDistance - distance in blocks at which underwater fog reaches full density — minecraft:visual/water_fog_end_distance
musicVolume - volume music fades to, within [0, 1]minecraft:audio/music_volume
canStartRaid - whether a raid can begin here — minecraft:gameplay/can_start_raid
canPillagerPatrolSpawn - whether pillager patrols spawn here — minecraft:gameplay/can_pillager_patrol_spawn
waterEvaporates - whether placed water evaporates — minecraft:gameplay/water_evaporates
bedRule - when beds are usable to sleep/set spawn — minecraft:gameplay/bed_rule
respawnAnchorWorks - whether respawn anchors set spawn instead of exploding — minecraft:gameplay/respawn_anchor_works
netherPortalSpawnsPiglin - whether entering a nether portal can spawn a piglin — minecraft:gameplay/nether_portal_spawns_piglin
fastLava - whether lava flows and spreads at Nether speed — minecraft:gameplay/fast_lava
increasedFireBurnout - whether fire burns out faster — minecraft:gameplay/increased_fire_burnout
piglinsZombify - whether piglins and hoglins zombify — minecraft:gameplay/piglins_zombify
snowGolemMelts - whether snow golems take damage — minecraft:gameplay/snow_golem_melts
skyLightLevel - sky light level, within [0, 15]minecraft:gameplay/sky_light_level
ambientParticles - particles randomly spawned around the camera, possibly empty — minecraft:visual/ambient_particles
ambientSounds - looping, mood and additions sounds — minecraft:audio/ambient_sounds
backgroundMusic - music tracks — minecraft:audio/background_music

public record EnvironmentAttributes(@Nullable Attribute<Integer> fogColor, @Nullable Attribute<Float> fogStartDistance, @Nullable Attribute<Float> fogEndDistance, @Nullable Attribute<Integer> skyColor, @Nullable Attribute<Integer> cloudColor, @Nullable Attribute<Float> cloudHeight, @Nullable Attribute<Integer> skyLightColor, @Nullable Attribute<Float> skyLightFactor, @Nullable Attribute<Integer> ambientLightColor, @Nullable Attribute<Key> defaultDripstoneParticle, @Nullable Attribute<Integer> waterFogColor, @Nullable Attribute<Float> waterFogEndDistance, @Nullable Attribute<Float> musicVolume, @Nullable Attribute<Boolean> canStartRaid, @Nullable Attribute<Boolean> canPillagerPatrolSpawn, @Nullable Attribute<Boolean> waterEvaporates, @Nullable Attribute<BedRule> bedRule, @Nullable Attribute<Boolean> respawnAnchorWorks, @Nullable Attribute<Boolean> netherPortalSpawnsPiglin, @Nullable Attribute<Boolean> fastLava, @Nullable Attribute<Boolean> increasedFireBurnout, @Nullable Attribute<Boolean> piglinsZombify, @Nullable Attribute<Boolean> snowGolemMelts, @Nullable Attribute<Float> skyLightLevel, List<AmbientParticle> ambientParticles, @Nullable AmbientSounds ambientSounds, @Nullable BackgroundMusic backgroundMusic) extends Record
Since:
0.1.0