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_colorfogStartDistance- distance in blocks at which fog begins —minecraft:visual/fog_start_distancefogEndDistance- distance in blocks at which fog reaches full density —minecraft:visual/fog_end_distanceskyFogEndDistance- distance in blocks at which sky-visible fog reaches full density —minecraft:visual/sky_fog_end_distancecloudFogEndDistance- distance in blocks at which cloud-visible fog reaches full density —minecraft:visual/cloud_fog_end_distanceskyColor- sky color, packed RGB —minecraft:visual/sky_colorsunriseSunsetColor- sunrise/sunset gradient color, packed ARGB —minecraft:visual/sunrise_sunset_colorcloudColor- cloud color, packed ARGB —minecraft:visual/cloud_colorcloudHeight- height, in blocks, at which clouds render —minecraft:visual/cloud_heightsunAngle- sun angle offset, in degrees —minecraft:visual/sun_anglemoonAngle- moon angle offset, in degrees —minecraft:visual/moon_anglestarAngle- star angle offset, in degrees —minecraft:visual/star_anglemoonPhase- moon phase index, within[0, 7]—minecraft:visual/moon_phasestarBrightness- star brightness, within[0, 1]—minecraft:visual/star_brightnessblockLightTint- tint applied to block light, packed RGB —minecraft:visual/block_light_tintskyLightColor- sky light color, packed RGB —minecraft:visual/sky_light_colorskyLightFactor- multiplier applied to sky light, within[0, 1]—minecraft:visual/sky_light_factornightVisionColor- tint applied by Night Vision, packed RGB —minecraft:visual/night_vision_colorambientLightColor- ambient light color, packed RGB —minecraft:visual/ambient_light_colordefaultDripstoneParticle- particle used by dripping dripstone —minecraft:visual/default_dripstone_particlewaterFogColor- underwater fog color, packed RGB —minecraft:visual/water_fog_colorwaterFogStartDistance- distance in blocks at which underwater fog begins —minecraft:visual/water_fog_start_distancewaterFogEndDistance- distance in blocks at which underwater fog reaches full density —minecraft:visual/water_fog_end_distancemusicVolume- volume music fades to, within[0, 1]—minecraft:audio/music_volumefireflyBushSounds- whether firefly bushes emit ambient sound —minecraft:audio/firefly_bush_soundscanStartRaid- whether a raid can begin here —minecraft:gameplay/can_start_raidcanPillagerPatrolSpawn- whether pillager patrols spawn here —minecraft:gameplay/can_pillager_patrol_spawnwaterEvaporates- whether placed water evaporates —minecraft:gameplay/water_evaporatesbedRule- when beds are usable to sleep/set spawn —minecraft:gameplay/bed_rulestrawBedRule- when straw beds are usable to sleep/set spawn —minecraft:gameplay/straw_bed_rulerespawnAnchorWorks- whether respawn anchors set spawn instead of exploding —minecraft:gameplay/respawn_anchor_worksnetherPortalSpawnsPiglin- whether entering a nether portal can spawn a piglin —minecraft:gameplay/nether_portal_spawns_piglinfastLava- whether lava flows and spreads at Nether speed —minecraft:gameplay/fast_lavaincreasedFireBurnout- whether fire burns out faster —minecraft:gameplay/increased_fire_burnouteyeblossomOpen- whether eyeblossoms are forced open/closed, or left to their default day cycle —minecraft:gameplay/eyeblossom_openturtleEggHatchChance- chance a turtle egg hatches per random tick, within[0, 1]—minecraft:gameplay/turtle_egg_hatch_chancepiglinsZombify- whether piglins and hoglins zombify —minecraft:gameplay/piglins_zombifysnowGolemMelts- whether snow golems take damage —minecraft:gameplay/snow_golem_meltscreakingActive- whether creakings are active —minecraft:gameplay/creaking_activesurfaceSlimeSpawnChance- chance a slime spawns on the surface, within[0, 1]—minecraft:gameplay/surface_slime_spawn_chancecatWakingUpGiftChance- chance a cat gives a gift on waking up, within[0, 1]—minecraft:gameplay/cat_waking_up_gift_chancebeesStayInHive- whether bees refuse to leave their hive —minecraft:gameplay/bees_stay_in_hivemonstersBurn- whether monsters burn in daylight —minecraft:gameplay/monsters_burncreatureWorldGenSpawnProbability- probability creatures spawn during world generation, within[0, 1]—minecraft:gameplay/creature_world_gen_spawn_probabilityvillagerActivity- forced villager schedule activity —minecraft:gameplay/villager_activitybabyVillagerActivity- forced baby villager schedule activity —minecraft:gameplay/baby_villager_activityskyLightLevel- sky light level, within[0, 15]—minecraft:gameplay/sky_light_levelambientParticles- particles randomly spawned around the camera, possibly empty —minecraft:visual/ambient_particlesambientSounds- looping, mood and additions sounds —minecraft:audio/ambient_soundsbackgroundMusic- music tracks —minecraft:audio/background_music
public record EnvironmentAttributes(@Nullable Attribute<Integer> fogColor, @Nullable Attribute<Float> fogStartDistance, @Nullable Attribute<Float> fogEndDistance, @Nullable Attribute<Float> skyFogEndDistance, @Nullable Attribute<Float> cloudFogEndDistance, @Nullable Attribute<Integer> skyColor, @Nullable Attribute<Integer> sunriseSunsetColor, @Nullable Attribute<Integer> cloudColor, @Nullable Attribute<Float> cloudHeight, @Nullable Attribute<Float> sunAngle, @Nullable Attribute<Float> moonAngle, @Nullable Attribute<Float> starAngle, @Nullable Attribute<Integer> moonPhase, @Nullable Attribute<Float> starBrightness, @Nullable Attribute<Integer> blockLightTint, @Nullable Attribute<Integer> skyLightColor, @Nullable Attribute<Float> skyLightFactor, @Nullable Attribute<Integer> nightVisionColor, @Nullable Attribute<Integer> ambientLightColor, @Nullable Attribute<Key> defaultDripstoneParticle, @Nullable Attribute<Integer> waterFogColor, @Nullable Attribute<Float> waterFogStartDistance, @Nullable Attribute<Float> waterFogEndDistance, @Nullable Attribute<Float> musicVolume, @Nullable Attribute<Boolean> fireflyBushSounds, @Nullable Attribute<Boolean> canStartRaid, @Nullable Attribute<Boolean> canPillagerPatrolSpawn, @Nullable Attribute<Boolean> waterEvaporates, @Nullable Attribute<BedRule> bedRule, @Nullable Attribute<BedRule> strawBedRule, @Nullable Attribute<Boolean> respawnAnchorWorks, @Nullable Attribute<Boolean> netherPortalSpawnsPiglin, @Nullable Attribute<Boolean> fastLava, @Nullable Attribute<Boolean> increasedFireBurnout, @Nullable Attribute<TriState> eyeblossomOpen, @Nullable Attribute<Float> turtleEggHatchChance, @Nullable Attribute<Boolean> piglinsZombify, @Nullable Attribute<Boolean> snowGolemMelts, @Nullable Attribute<Boolean> creakingActive, @Nullable Attribute<Float> surfaceSlimeSpawnChance, @Nullable Attribute<Float> catWakingUpGiftChance, @Nullable Attribute<Boolean> beesStayInHive, @Nullable Attribute<Boolean> monstersBurn, @Nullable Attribute<Float> creatureWorldGenSpawnProbability, @Nullable Attribute<Key> villagerActivity, @Nullable Attribute<Key> babyVillagerActivity, @Nullable Attribute<Float> skyLightLevel, List<AmbientParticle> ambientParticles, @Nullable AmbientSounds ambientSounds, @Nullable BackgroundMusic backgroundMusic)
extends Record
- Since:
- 0.1.0
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final EnvironmentAttributesSets nothing, letting the dimension and the vanilla defaults decide everything. -
Constructor Summary
ConstructorsConstructorDescriptionEnvironmentAttributes(@Nullable Attribute<Integer> fogColor, @Nullable Attribute<Float> fogStartDistance, @Nullable Attribute<Float> fogEndDistance, @Nullable Attribute<Float> skyFogEndDistance, @Nullable Attribute<Float> cloudFogEndDistance, @Nullable Attribute<Integer> skyColor, @Nullable Attribute<Integer> sunriseSunsetColor, @Nullable Attribute<Integer> cloudColor, @Nullable Attribute<Float> cloudHeight, @Nullable Attribute<Float> sunAngle, @Nullable Attribute<Float> moonAngle, @Nullable Attribute<Float> starAngle, @Nullable Attribute<Integer> moonPhase, @Nullable Attribute<Float> starBrightness, @Nullable Attribute<Integer> blockLightTint, @Nullable Attribute<Integer> skyLightColor, @Nullable Attribute<Float> skyLightFactor, @Nullable Attribute<Integer> nightVisionColor, @Nullable Attribute<Integer> ambientLightColor, @Nullable Attribute<Key> defaultDripstoneParticle, @Nullable Attribute<Integer> waterFogColor, @Nullable Attribute<Float> waterFogStartDistance, @Nullable Attribute<Float> waterFogEndDistance, @Nullable Attribute<Float> musicVolume, @Nullable Attribute<Boolean> fireflyBushSounds, @Nullable Attribute<Boolean> canStartRaid, @Nullable Attribute<Boolean> canPillagerPatrolSpawn, @Nullable Attribute<Boolean> waterEvaporates, @Nullable Attribute<BedRule> bedRule, @Nullable Attribute<BedRule> strawBedRule, @Nullable Attribute<Boolean> respawnAnchorWorks, @Nullable Attribute<Boolean> netherPortalSpawnsPiglin, @Nullable Attribute<Boolean> fastLava, @Nullable Attribute<Boolean> increasedFireBurnout, @Nullable Attribute<TriState> eyeblossomOpen, @Nullable Attribute<Float> turtleEggHatchChance, @Nullable Attribute<Boolean> piglinsZombify, @Nullable Attribute<Boolean> snowGolemMelts, @Nullable Attribute<Boolean> creakingActive, @Nullable Attribute<Float> surfaceSlimeSpawnChance, @Nullable Attribute<Float> catWakingUpGiftChance, @Nullable Attribute<Boolean> beesStayInHive, @Nullable Attribute<Boolean> monstersBurn, @Nullable Attribute<Float> creatureWorldGenSpawnProbability, @Nullable Attribute<Key> villagerActivity, @Nullable Attribute<Key> babyVillagerActivity, @Nullable Attribute<Float> skyLightLevel, List<AmbientParticle> ambientParticles, @Nullable AmbientSounds ambientSounds, @Nullable BackgroundMusic backgroundMusic) Creates an instance of aEnvironmentAttributesrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theambientLightColorrecord component.Returns the value of theambientParticlesrecord component.Returns the value of theambientSoundsrecord component.Returns the value of thebabyVillagerActivityrecord component.Returns the value of thebackgroundMusicrecord component.bedRule()Returns the value of thebedRulerecord component.Returns the value of thebeesStayInHiverecord component.Returns the value of theblockLightTintrecord component.builder()Returns a new, empty builder.builder(EnvironmentAttributes attributes) Returns a new builder pre-filled with the values ofattributes.Returns the value of thecanPillagerPatrolSpawnrecord component.Returns the value of thecanStartRaidrecord component.Returns the value of thecatWakingUpGiftChancerecord component.Returns the value of thecloudColorrecord component.Returns the value of thecloudFogEndDistancerecord component.Returns the value of thecloudHeightrecord component.Returns the value of thecreakingActiverecord component.Returns the value of thecreatureWorldGenSpawnProbabilityrecord component.Returns the value of thedefaultDripstoneParticlerecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theeyeblossomOpenrecord component.fastLava()Returns the value of thefastLavarecord component.Returns the value of thefireflyBushSoundsrecord component.fogColor()Returns the value of thefogColorrecord component.Returns the value of thefogEndDistancerecord component.Returns the value of thefogStartDistancerecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theincreasedFireBurnoutrecord component.booleanisEmpty()Returns whether this sets no attribute at all.Returns the value of themonstersBurnrecord component.Returns the value of themoonAnglerecord component.Returns the value of themoonPhaserecord component.Returns the value of themusicVolumerecord component.Returns the value of thenetherPortalSpawnsPiglinrecord component.Returns the value of thenightVisionColorrecord component.Returns the value of thepiglinsZombifyrecord component.Returns the value of therespawnAnchorWorksrecord component.skyColor()Returns the value of theskyColorrecord component.static intskyColorFor(float temperature) Computes the sky color the vanilla generator derives from a given temperature.Returns the value of theskyFogEndDistancerecord component.Returns the value of theskyLightColorrecord component.Returns the value of theskyLightFactorrecord component.Returns the value of theskyLightLevelrecord component.Returns the value of thesnowGolemMeltsrecord component.Returns the value of thestarAnglerecord component.Returns the value of thestarBrightnessrecord component.Returns the value of thestrawBedRulerecord component.sunAngle()Returns the value of thesunAnglerecord component.Returns the value of thesunriseSunsetColorrecord component.Returns the value of thesurfaceSlimeSpawnChancerecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theturtleEggHatchChancerecord component.Returns the value of thevillagerActivityrecord component.Returns the value of thewaterEvaporatesrecord component.Returns the value of thewaterFogColorrecord component.Returns the value of thewaterFogEndDistancerecord component.Returns the value of thewaterFogStartDistancerecord component.
-
Field Details
-
EMPTY
Sets nothing, letting the dimension and the vanilla defaults decide everything.
-
-
Constructor Details
-
EnvironmentAttributes
public EnvironmentAttributes(@Nullable Attribute<Integer> fogColor, @Nullable Attribute<Float> fogStartDistance, @Nullable Attribute<Float> fogEndDistance, @Nullable Attribute<Float> skyFogEndDistance, @Nullable Attribute<Float> cloudFogEndDistance, @Nullable Attribute<Integer> skyColor, @Nullable Attribute<Integer> sunriseSunsetColor, @Nullable Attribute<Integer> cloudColor, @Nullable Attribute<Float> cloudHeight, @Nullable Attribute<Float> sunAngle, @Nullable Attribute<Float> moonAngle, @Nullable Attribute<Float> starAngle, @Nullable Attribute<Integer> moonPhase, @Nullable Attribute<Float> starBrightness, @Nullable Attribute<Integer> blockLightTint, @Nullable Attribute<Integer> skyLightColor, @Nullable Attribute<Float> skyLightFactor, @Nullable Attribute<Integer> nightVisionColor, @Nullable Attribute<Integer> ambientLightColor, @Nullable Attribute<Key> defaultDripstoneParticle, @Nullable Attribute<Integer> waterFogColor, @Nullable Attribute<Float> waterFogStartDistance, @Nullable Attribute<Float> waterFogEndDistance, @Nullable Attribute<Float> musicVolume, @Nullable Attribute<Boolean> fireflyBushSounds, @Nullable Attribute<Boolean> canStartRaid, @Nullable Attribute<Boolean> canPillagerPatrolSpawn, @Nullable Attribute<Boolean> waterEvaporates, @Nullable Attribute<BedRule> bedRule, @Nullable Attribute<BedRule> strawBedRule, @Nullable Attribute<Boolean> respawnAnchorWorks, @Nullable Attribute<Boolean> netherPortalSpawnsPiglin, @Nullable Attribute<Boolean> fastLava, @Nullable Attribute<Boolean> increasedFireBurnout, @Nullable Attribute<TriState> eyeblossomOpen, @Nullable Attribute<Float> turtleEggHatchChance, @Nullable Attribute<Boolean> piglinsZombify, @Nullable Attribute<Boolean> snowGolemMelts, @Nullable Attribute<Boolean> creakingActive, @Nullable Attribute<Float> surfaceSlimeSpawnChance, @Nullable Attribute<Float> catWakingUpGiftChance, @Nullable Attribute<Boolean> beesStayInHive, @Nullable Attribute<Boolean> monstersBurn, @Nullable Attribute<Float> creatureWorldGenSpawnProbability, @Nullable Attribute<Key> villagerActivity, @Nullable Attribute<Key> babyVillagerActivity, @Nullable Attribute<Float> skyLightLevel, List<AmbientParticle> ambientParticles, @Nullable AmbientSounds ambientSounds, @Nullable BackgroundMusic backgroundMusic) Creates an instance of aEnvironmentAttributesrecord class.- Parameters:
fogColor- the value for thefogColorrecord componentfogStartDistance- the value for thefogStartDistancerecord componentfogEndDistance- the value for thefogEndDistancerecord componentskyFogEndDistance- the value for theskyFogEndDistancerecord componentcloudFogEndDistance- the value for thecloudFogEndDistancerecord componentskyColor- the value for theskyColorrecord componentsunriseSunsetColor- the value for thesunriseSunsetColorrecord componentcloudColor- the value for thecloudColorrecord componentcloudHeight- the value for thecloudHeightrecord componentsunAngle- the value for thesunAnglerecord componentmoonAngle- the value for themoonAnglerecord componentstarAngle- the value for thestarAnglerecord componentmoonPhase- the value for themoonPhaserecord componentstarBrightness- the value for thestarBrightnessrecord componentblockLightTint- the value for theblockLightTintrecord componentskyLightColor- the value for theskyLightColorrecord componentskyLightFactor- the value for theskyLightFactorrecord componentnightVisionColor- the value for thenightVisionColorrecord componentambientLightColor- the value for theambientLightColorrecord componentdefaultDripstoneParticle- the value for thedefaultDripstoneParticlerecord componentwaterFogColor- the value for thewaterFogColorrecord componentwaterFogStartDistance- the value for thewaterFogStartDistancerecord componentwaterFogEndDistance- the value for thewaterFogEndDistancerecord componentmusicVolume- the value for themusicVolumerecord componentfireflyBushSounds- the value for thefireflyBushSoundsrecord componentcanStartRaid- the value for thecanStartRaidrecord componentcanPillagerPatrolSpawn- the value for thecanPillagerPatrolSpawnrecord componentwaterEvaporates- the value for thewaterEvaporatesrecord componentbedRule- the value for thebedRulerecord componentstrawBedRule- the value for thestrawBedRulerecord componentrespawnAnchorWorks- the value for therespawnAnchorWorksrecord componentnetherPortalSpawnsPiglin- the value for thenetherPortalSpawnsPiglinrecord componentfastLava- the value for thefastLavarecord componentincreasedFireBurnout- the value for theincreasedFireBurnoutrecord componenteyeblossomOpen- the value for theeyeblossomOpenrecord componentturtleEggHatchChance- the value for theturtleEggHatchChancerecord componentpiglinsZombify- the value for thepiglinsZombifyrecord componentsnowGolemMelts- the value for thesnowGolemMeltsrecord componentcreakingActive- the value for thecreakingActiverecord componentsurfaceSlimeSpawnChance- the value for thesurfaceSlimeSpawnChancerecord componentcatWakingUpGiftChance- the value for thecatWakingUpGiftChancerecord componentbeesStayInHive- the value for thebeesStayInHiverecord componentmonstersBurn- the value for themonstersBurnrecord componentcreatureWorldGenSpawnProbability- the value for thecreatureWorldGenSpawnProbabilityrecord componentvillagerActivity- the value for thevillagerActivityrecord componentbabyVillagerActivity- the value for thebabyVillagerActivityrecord componentskyLightLevel- the value for theskyLightLevelrecord componentambientParticles- the value for theambientParticlesrecord componentambientSounds- the value for theambientSoundsrecord componentbackgroundMusic- the value for thebackgroundMusicrecord component
-
-
Method Details
-
builder
Returns a new, empty builder.- Returns:
- a new, empty builder
-
builder
@Contract(value="_ -> new", pure=true) public static EnvironmentAttributes.Builder builder(EnvironmentAttributes attributes) Returns a new builder pre-filled with the values ofattributes.- Parameters:
attributes- the attributes to copy- Returns:
- a new builder pre-filled with the values of
attributes
-
skyColorFor
public static int skyColorFor(float temperature) Computes the sky color the vanilla generator derives from a given temperature.- Parameters:
temperature- the biome temperature- Returns:
- the packed RGB sky color
-
isEmpty
public boolean isEmpty()Returns whether this sets no attribute at all.- Returns:
- whether this sets no attribute at all
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
fogColor
-
fogStartDistance
Returns the value of thefogStartDistancerecord component.- Returns:
- the value of the
fogStartDistancerecord component
-
fogEndDistance
Returns the value of thefogEndDistancerecord component.- Returns:
- the value of the
fogEndDistancerecord component
-
skyFogEndDistance
Returns the value of theskyFogEndDistancerecord component.- Returns:
- the value of the
skyFogEndDistancerecord component
-
cloudFogEndDistance
Returns the value of thecloudFogEndDistancerecord component.- Returns:
- the value of the
cloudFogEndDistancerecord component
-
skyColor
-
sunriseSunsetColor
Returns the value of thesunriseSunsetColorrecord component.- Returns:
- the value of the
sunriseSunsetColorrecord component
-
cloudColor
Returns the value of thecloudColorrecord component.- Returns:
- the value of the
cloudColorrecord component
-
cloudHeight
Returns the value of thecloudHeightrecord component.- Returns:
- the value of the
cloudHeightrecord component
-
sunAngle
-
moonAngle
-
starAngle
-
moonPhase
-
starBrightness
Returns the value of thestarBrightnessrecord component.- Returns:
- the value of the
starBrightnessrecord component
-
blockLightTint
Returns the value of theblockLightTintrecord component.- Returns:
- the value of the
blockLightTintrecord component
-
skyLightColor
Returns the value of theskyLightColorrecord component.- Returns:
- the value of the
skyLightColorrecord component
-
skyLightFactor
Returns the value of theskyLightFactorrecord component.- Returns:
- the value of the
skyLightFactorrecord component
-
nightVisionColor
Returns the value of thenightVisionColorrecord component.- Returns:
- the value of the
nightVisionColorrecord component
-
ambientLightColor
Returns the value of theambientLightColorrecord component.- Returns:
- the value of the
ambientLightColorrecord component
-
defaultDripstoneParticle
Returns the value of thedefaultDripstoneParticlerecord component.- Returns:
- the value of the
defaultDripstoneParticlerecord component
-
waterFogColor
Returns the value of thewaterFogColorrecord component.- Returns:
- the value of the
waterFogColorrecord component
-
waterFogStartDistance
Returns the value of thewaterFogStartDistancerecord component.- Returns:
- the value of the
waterFogStartDistancerecord component
-
waterFogEndDistance
Returns the value of thewaterFogEndDistancerecord component.- Returns:
- the value of the
waterFogEndDistancerecord component
-
musicVolume
Returns the value of themusicVolumerecord component.- Returns:
- the value of the
musicVolumerecord component
-
fireflyBushSounds
Returns the value of thefireflyBushSoundsrecord component.- Returns:
- the value of the
fireflyBushSoundsrecord component
-
canStartRaid
Returns the value of thecanStartRaidrecord component.- Returns:
- the value of the
canStartRaidrecord component
-
canPillagerPatrolSpawn
Returns the value of thecanPillagerPatrolSpawnrecord component.- Returns:
- the value of the
canPillagerPatrolSpawnrecord component
-
waterEvaporates
Returns the value of thewaterEvaporatesrecord component.- Returns:
- the value of the
waterEvaporatesrecord component
-
bedRule
-
strawBedRule
Returns the value of thestrawBedRulerecord component.- Returns:
- the value of the
strawBedRulerecord component
-
respawnAnchorWorks
Returns the value of therespawnAnchorWorksrecord component.- Returns:
- the value of the
respawnAnchorWorksrecord component
-
netherPortalSpawnsPiglin
Returns the value of thenetherPortalSpawnsPiglinrecord component.- Returns:
- the value of the
netherPortalSpawnsPiglinrecord component
-
fastLava
-
increasedFireBurnout
Returns the value of theincreasedFireBurnoutrecord component.- Returns:
- the value of the
increasedFireBurnoutrecord component
-
eyeblossomOpen
Returns the value of theeyeblossomOpenrecord component.- Returns:
- the value of the
eyeblossomOpenrecord component
-
turtleEggHatchChance
Returns the value of theturtleEggHatchChancerecord component.- Returns:
- the value of the
turtleEggHatchChancerecord component
-
piglinsZombify
Returns the value of thepiglinsZombifyrecord component.- Returns:
- the value of the
piglinsZombifyrecord component
-
snowGolemMelts
Returns the value of thesnowGolemMeltsrecord component.- Returns:
- the value of the
snowGolemMeltsrecord component
-
creakingActive
Returns the value of thecreakingActiverecord component.- Returns:
- the value of the
creakingActiverecord component
-
surfaceSlimeSpawnChance
Returns the value of thesurfaceSlimeSpawnChancerecord component.- Returns:
- the value of the
surfaceSlimeSpawnChancerecord component
-
catWakingUpGiftChance
Returns the value of thecatWakingUpGiftChancerecord component.- Returns:
- the value of the
catWakingUpGiftChancerecord component
-
beesStayInHive
Returns the value of thebeesStayInHiverecord component.- Returns:
- the value of the
beesStayInHiverecord component
-
monstersBurn
Returns the value of themonstersBurnrecord component.- Returns:
- the value of the
monstersBurnrecord component
-
creatureWorldGenSpawnProbability
Returns the value of thecreatureWorldGenSpawnProbabilityrecord component.- Returns:
- the value of the
creatureWorldGenSpawnProbabilityrecord component
-
villagerActivity
Returns the value of thevillagerActivityrecord component.- Returns:
- the value of the
villagerActivityrecord component
-
babyVillagerActivity
Returns the value of thebabyVillagerActivityrecord component.- Returns:
- the value of the
babyVillagerActivityrecord component
-
skyLightLevel
Returns the value of theskyLightLevelrecord component.- Returns:
- the value of the
skyLightLevelrecord component
-
ambientParticles
Returns the value of theambientParticlesrecord component.- Returns:
- the value of the
ambientParticlesrecord component
-
ambientSounds
Returns the value of theambientSoundsrecord component.- Returns:
- the value of the
ambientSoundsrecord component
-
backgroundMusic
Returns the value of thebackgroundMusicrecord component.- Returns:
- the value of the
backgroundMusicrecord component
-