Uses of Class
net.minecraft.world.attribute.EnvironmentAttribute
Packages that use EnvironmentAttribute
Package
Description
This and its subpackages make up the brain system used by some modern Minecraft entities,
such as villagers, piglins, and axolotls.
-
Uses of EnvironmentAttribute in net.minecraft.entity.ai.brain
Fields in net.minecraft.entity.ai.brain declared as EnvironmentAttributeMethods in net.minecraft.entity.ai.brain with parameters of type EnvironmentAttributeModifier and TypeMethodDescriptionvoidBrain.setSchedule(EnvironmentAttribute<Activity> environmentAttribute) -
Uses of EnvironmentAttribute in net.minecraft.registry
Fields in net.minecraft.registry with type parameters of type EnvironmentAttributeModifier and TypeFieldDescriptionstatic final RegistryKey<Registry<EnvironmentAttribute<?>>> RegistryKeys.ENVIRONMENT_ATTRIBUTEstatic final Registry<EnvironmentAttribute<?>> Registries.ENVIRONMENTAL_ATTRIBUTE -
Uses of EnvironmentAttribute in net.minecraft.world.attribute
Fields in net.minecraft.world.attribute declared as EnvironmentAttributeModifier and TypeFieldDescriptionstatic final EnvironmentAttribute<List<AmbientParticle>> EnvironmentAttributes.AMBIENT_PARTICLES_VISUALstatic final EnvironmentAttribute<AmbientSounds> EnvironmentAttributes.AMBIENT_SOUNDS_AUDIOprivate final EnvironmentAttribute<Value> WorldEnvironmentAttributeAccess.Entry.attributestatic final EnvironmentAttribute<Activity> EnvironmentAttributes.BABY_VILLAGER_ACTIVITY_GAMEPLAYstatic final EnvironmentAttribute<BackgroundMusic> EnvironmentAttributes.BACKGROUND_MUSIC_AUDIOstatic final EnvironmentAttribute<BedRule> EnvironmentAttributes.BED_RULE_GAMEPLAYstatic final EnvironmentAttribute<Boolean> EnvironmentAttributes.BEES_STAY_IN_HIVE_GAMEPLAYstatic final EnvironmentAttribute<Boolean> EnvironmentAttributes.CAN_PILLAGER_PATROL_SPAWN_GAMEPLAYstatic final EnvironmentAttribute<Boolean> EnvironmentAttributes.CAN_START_RAID_GAMEPLAYstatic final EnvironmentAttribute<Float> EnvironmentAttributes.CAT_WAKING_UP_GIFT_CHANCE_GAMEPLAYstatic final EnvironmentAttribute<Integer> EnvironmentAttributes.CLOUD_COLOR_VISUALstatic final EnvironmentAttribute<Float> EnvironmentAttributes.CLOUD_FOG_END_DISTANCE_VISUALstatic final EnvironmentAttribute<Float> EnvironmentAttributes.CLOUD_HEIGHT_VISUALstatic final EnvironmentAttribute<Boolean> EnvironmentAttributes.CREAKING_ACTIVE_GAMEPLAYstatic final EnvironmentAttribute<ParticleEffect> EnvironmentAttributes.DEFAULT_DRIPSTONE_PARTICLE_VISUALstatic final EnvironmentAttribute<TriState> EnvironmentAttributes.EYEBLOSSOM_OPEN_GAMEPLAYstatic final EnvironmentAttribute<Boolean> EnvironmentAttributes.FAST_LAVA_GAMEPLAYstatic final EnvironmentAttribute<Boolean> EnvironmentAttributes.FIREFLY_BUSH_SOUNDS_AUDIOstatic final EnvironmentAttribute<Integer> EnvironmentAttributes.FOG_COLOR_VISUALstatic final EnvironmentAttribute<Float> EnvironmentAttributes.FOG_END_DISTANCE_VISUALstatic final EnvironmentAttribute<Float> EnvironmentAttributes.FOG_START_DISTANCE_VISUALstatic final EnvironmentAttribute<Boolean> EnvironmentAttributes.INCREASED_FIRE_BURNOUT_GAMEPLAYstatic final EnvironmentAttribute<Boolean> EnvironmentAttributes.MONSTERS_BURN_GAMEPLAYstatic final EnvironmentAttribute<Float> EnvironmentAttributes.MOON_ANGLE_VISUALstatic final EnvironmentAttribute<MoonPhase> EnvironmentAttributes.MOON_PHASE_VISUALstatic final EnvironmentAttribute<Float> EnvironmentAttributes.MUSIC_VOLUME_AUDIOstatic final EnvironmentAttribute<Boolean> EnvironmentAttributes.NETHER_PORTAL_SPAWNS_PIGLIN_GAMEPLAYstatic final EnvironmentAttribute<Boolean> EnvironmentAttributes.PIGLINS_ZOMBIFY_GAMEPLAYstatic final EnvironmentAttribute<Boolean> EnvironmentAttributes.RESPAWN_ANCHOR_WORKS_GAMEPLAYstatic final EnvironmentAttribute<Integer> EnvironmentAttributes.SKY_COLOR_VISUALstatic final EnvironmentAttribute<Float> EnvironmentAttributes.SKY_FOG_END_DISTANCE_VISUALstatic final EnvironmentAttribute<Integer> EnvironmentAttributes.SKY_LIGHT_COLOR_VISUALstatic final EnvironmentAttribute<Float> EnvironmentAttributes.SKY_LIGHT_FACTOR_VISUALstatic final EnvironmentAttribute<Float> EnvironmentAttributes.SKY_LIGHT_LEVEL_GAMEPLAYstatic final EnvironmentAttribute<Boolean> EnvironmentAttributes.SNOW_GOLEM_MELTS_GAMEPLAYstatic final EnvironmentAttribute<Float> EnvironmentAttributes.STAR_ANGLE_VISUALstatic final EnvironmentAttribute<Float> EnvironmentAttributes.STAR_BRIGHTNESS_VISUALstatic final EnvironmentAttribute<Float> EnvironmentAttributes.SUN_ANGLE_VISUALstatic final EnvironmentAttribute<Integer> EnvironmentAttributes.SUNRISE_SUNSET_COLOR_VISUALstatic final EnvironmentAttribute<Float> EnvironmentAttributes.SURFACE_SLIME_SPAWN_CHANCE_GAMEPLAYstatic final EnvironmentAttribute<Float> EnvironmentAttributes.TURTLE_EGG_HATCH_CHANCE_GAMEPLAYstatic final EnvironmentAttribute<Activity> EnvironmentAttributes.VILLAGER_ACTIVITY_GAMEPLAYstatic final EnvironmentAttribute<Boolean> EnvironmentAttributes.WATER_EVAPORATES_GAMEPLAYstatic final EnvironmentAttribute<Integer> EnvironmentAttributes.WATER_FOG_COLOR_VISUALstatic final EnvironmentAttribute<Float> EnvironmentAttributes.WATER_FOG_END_DISTANCE_VISUALstatic final EnvironmentAttribute<Float> EnvironmentAttributes.WATER_FOG_START_DISTANCE_VISUALFields in net.minecraft.world.attribute with type parameters of type EnvironmentAttributeModifier and TypeFieldDescriptionprivate static final Set<EnvironmentAttribute<?>> WeatherAttributes.ATTRIBUTESstatic final com.mojang.serialization.Codec<EnvironmentAttribute<?>> EnvironmentAttributes.CODECprivate final Map<EnvironmentAttribute<?>, EnvironmentAttributeInterpolator.Entry<?>> EnvironmentAttributeInterpolator.entriesprivate final Map<EnvironmentAttribute<?>, EnvironmentAttributeMap.Entry<?, ?>> EnvironmentAttributeMap.Builder.entries(package private) final Map<EnvironmentAttribute<?>, EnvironmentAttributeMap.Entry<?, ?>> EnvironmentAttributeMap.entriesprivate final Map<EnvironmentAttribute<?>, WorldEnvironmentAttributeAccess.Entry<?>> WorldEnvironmentAttributeAccess.entriesprivate final Function<EnvironmentAttribute<?>, EnvironmentAttributeInterpolator.Entry<?>> EnvironmentAttributeInterpolator.entryFactoryprivate final Map<EnvironmentAttribute<?>, List<EnvironmentAttributeModification<?>>> WorldEnvironmentAttributeAccess.Builder.modificationsMethods in net.minecraft.world.attribute that return EnvironmentAttributeModifier and TypeMethodDescriptionEnvironmentAttribute.Builder.build()private static <Value> EnvironmentAttribute<Value> EnvironmentAttributes.register(String path, EnvironmentAttribute.Builder<Value> builder) static EnvironmentAttribute<?> EnvironmentAttributes.registerAndGetDefault(Registry<EnvironmentAttribute<?>> registry) Methods in net.minecraft.world.attribute that return types with arguments of type EnvironmentAttributeMethods in net.minecraft.world.attribute with parameters of type EnvironmentAttributeModifier and TypeMethodDescriptionprivate <Value> WorldEnvironmentAttributeAccess.BuilderWorldEnvironmentAttributeAccess.Builder.addFromMap(EnvironmentAttribute<Value> attribute, EnvironmentAttributeMap attributeMap) private <Value> WorldEnvironmentAttributeAccess.BuilderWorldEnvironmentAttributeAccess.Builder.addModification(EnvironmentAttribute<Value> attribute, EnvironmentAttributeModification<Value> mod) private <Value> voidWorldEnvironmentAttributeAccess.Builder.addModificationFromTimeline(RegistryEntry<Timeline> timeline, EnvironmentAttribute<Value> attribute, LongSupplier timeSupplier) private static <Value> voidWorldEnvironmentAttributeAccess.addModifiersFromBiomes(WorldEnvironmentAttributeAccess.Builder builder, EnvironmentAttribute<Value> attribute, BiomeAccess biomeAccess) private static <Value> voidWeatherAttributes.addWeatherAttribute(WorldEnvironmentAttributeAccess.Builder builder, WeatherAttributes.WeatherAccess weather, EnvironmentAttribute<Value> attribute) <Value> ValueEnvironmentAttributeMap.apply(EnvironmentAttribute<Value> key, Value value) com.mojang.serialization.Codec<Boolean> BooleanModifier.argumentCodec(EnvironmentAttribute<Boolean> attribute) default com.mojang.serialization.Codec<Integer> ColorModifier.Argb.argumentCodec(EnvironmentAttribute<Integer> attribute) default com.mojang.serialization.Codec<Integer> ColorModifier.Rgb.argumentCodec(EnvironmentAttribute<Integer> attribute) com.mojang.serialization.Codec<Argument> EnvironmentAttributeModifier.argumentCodec(EnvironmentAttribute<Subject> attribute) com.mojang.serialization.Codec<Value> EnvironmentAttributeModifier.OverrideModifier.argumentCodec(EnvironmentAttribute<Value> attribute) default com.mojang.serialization.Codec<Float> FloatModifier.Binary.argumentCodec(EnvironmentAttribute<Float> attribute) BooleanModifier.argumentKeyframeLerp(EnvironmentAttribute<Boolean> environmentAttribute) default Interpolator<Integer> ColorModifier.Argb.argumentKeyframeLerp(EnvironmentAttribute<Integer> environmentAttribute) default Interpolator<Integer> ColorModifier.Rgb.argumentKeyframeLerp(EnvironmentAttribute<Integer> environmentAttribute) EnvironmentAttributeModifier.argumentKeyframeLerp(EnvironmentAttribute<Subject> environmentAttribute) EnvironmentAttributeModifier.OverrideModifier.argumentKeyframeLerp(EnvironmentAttribute<Value> environmentAttribute) default Interpolator<Float> FloatModifier.Binary.argumentKeyframeLerp(EnvironmentAttribute<Float> environmentAttribute) private ValueEnvironmentAttributeInterpolator.Entry.compute(EnvironmentAttribute<Value> attribute) private <Value> WorldEnvironmentAttributeAccess.Entry<Value> WorldEnvironmentAttributeAccess.computeEntry(EnvironmentAttribute<Value> attribute, List<? extends EnvironmentAttributeModification<?>> mods) WorldEnvironmentAttributeAccess.Builder.constant(EnvironmentAttribute<Value> attribute, EnvironmentAttributeModification.Constant<Value> mod) booleanEnvironmentAttributeMap.containsKey(EnvironmentAttribute<?> key) private static <Value> com.mojang.serialization.Codec<EnvironmentAttributeMap.Entry<Value, ?>> EnvironmentAttributeMap.Entry.createCodec(EnvironmentAttribute<Value> attribute) private static <Value,Argument>
com.mojang.serialization.MapCodec<EnvironmentAttributeMap.Entry<Value, Argument>> EnvironmentAttributeMap.Entry.createModifierDependentCodec(EnvironmentAttribute<Value> attribute, EnvironmentAttributeModifier<Value, Argument> modifier) EnvironmentAttributeInterpolator.Entry.get(EnvironmentAttribute<Value> attribute, float tickProgress) <Value> ValueEnvironmentAttributeInterpolator.get(EnvironmentAttribute<Value> attribute, float tickProgress) <Value> ValueEnvironmentAttributeAccess.getAttributeValue(EnvironmentAttribute<Value> attribute) default <Value> ValueEnvironmentAttributeAccess.getAttributeValue(EnvironmentAttribute<Value> attribute, BlockPos pos) default <Value> ValueEnvironmentAttributeAccess.getAttributeValue(EnvironmentAttribute<Value> attribute, Vec3d pos) <Value> ValueEnvironmentAttributeAccess.getAttributeValue(EnvironmentAttribute<Value> attribute, Vec3d pos, @Nullable WeightedAttributeList pool) <Value> ValueWorldEnvironmentAttributeAccess.getAttributeValue(EnvironmentAttribute<Value> attribute) <Value> ValueWorldEnvironmentAttributeAccess.getAttributeValue(EnvironmentAttribute<Value> attribute, Vec3d pos, @Nullable WeightedAttributeList pool) (package private) <Value> ValueWorldEnvironmentAttributeAccess.getDefaultValue(EnvironmentAttribute<Value> attribute) <Value> @Nullable EnvironmentAttributeMap.Entry<Value, ?> EnvironmentAttributeMap.getEntry(EnvironmentAttribute<Value> key) private <Value> @Nullable WorldEnvironmentAttributeAccess.Entry<Value> WorldEnvironmentAttributeAccess.getEntry(EnvironmentAttribute<Value> attribute) <Value> ValueWeightedAttributeList.interpolate(EnvironmentAttribute<Value> attribute, Value defaultValue) (package private) booleanWorldEnvironmentAttributeAccess.isPositional(EnvironmentAttribute<?> attribute) WorldEnvironmentAttributeAccess.Builder.positional(EnvironmentAttribute<Value> attribute, EnvironmentAttributeModification.Positional<Value> mod) WorldEnvironmentAttributeAccess.Builder.timeBased(EnvironmentAttribute<Value> attribute, EnvironmentAttributeModification.TimeBased<Value> mod) <Value,Parameter>
EnvironmentAttributeMap.BuilderEnvironmentAttributeMap.Builder.with(EnvironmentAttribute<Value> key, EnvironmentAttributeModifier<Value, Parameter> modifier, Parameter param) <Value> EnvironmentAttributeMap.BuilderEnvironmentAttributeMap.Builder.with(EnvironmentAttribute<Value> key, Value value) Method parameters in net.minecraft.world.attribute with type arguments of type EnvironmentAttributeModifier and TypeMethodDescriptionstatic EnvironmentAttribute<?> EnvironmentAttributes.registerAndGetDefault(Registry<EnvironmentAttribute<?>> registry) Constructors in net.minecraft.world.attribute with parameters of type EnvironmentAttributeModifierConstructorDescriptionEntry(EnvironmentAttribute<Value> attribute) (package private)Entry(EnvironmentAttribute<Value> attribute, Value defaultValue, List<EnvironmentAttributeModification<Value>> modifications, boolean positional) Constructor parameters in net.minecraft.world.attribute with type arguments of type EnvironmentAttributeModifierConstructorDescription(package private)EnvironmentAttributeMap(Map<EnvironmentAttribute<?>, EnvironmentAttributeMap.Entry<?, ?>> entries) (package private)WorldEnvironmentAttributeAccess(Map<EnvironmentAttribute<?>, List<EnvironmentAttributeModification<?>>> modificationsByAttribute) -
Uses of EnvironmentAttribute in net.minecraft.world.attribute.timeline
Fields in net.minecraft.world.attribute.timeline with type parameters of type EnvironmentAttributeModifier and TypeFieldDescriptionprivate final ImmutableMap.Builder<EnvironmentAttribute<?>, TimelineEntry<?, ?>> Timeline.Builder.entriesprivate final Map<EnvironmentAttribute<?>, TimelineEntry<?, ?>> Timeline.tracksprivate static final com.mojang.serialization.Codec<Map<EnvironmentAttribute<?>, TimelineEntry<?, ?>>> Timeline.TRACKS_BY_ATTRIBUTE_CODECMethods in net.minecraft.world.attribute.timeline that return types with arguments of type EnvironmentAttributeMethods in net.minecraft.world.attribute.timeline with parameters of type EnvironmentAttributeModifier and TypeMethodDescriptionstatic <Value> com.mojang.serialization.Codec<TimelineEntry<Value, ?>> TimelineEntry.createCodec(EnvironmentAttribute<Value> attribute) private static <Value,Argument>
com.mojang.serialization.MapCodec<TimelineEntry<Value, Argument>> TimelineEntry.createMapCodec(EnvironmentAttribute<Value> attribute, EnvironmentAttributeModifier<Value, Argument> modifier) <Value> Timeline.BuilderTimeline.Builder.entry(EnvironmentAttribute<Value> attribute, Consumer<Track.Builder<Value>> builderCallback) <Value,Argument>
Timeline.BuilderTimeline.Builder.entry(EnvironmentAttribute<Value> attribute, EnvironmentAttributeModifier<Value, Argument> modifier, Consumer<Track.Builder<Argument>> builderCallback) <Value> TrackAttributeModification<Value, ?> Timeline.getModification(EnvironmentAttribute<Value> attribute, LongSupplier timeSupplier) TimelineEntry.toModification(EnvironmentAttribute<Value> attribute, Optional<Integer> period, LongSupplier timeSupplier) Constructor parameters in net.minecraft.world.attribute.timeline with type arguments of type EnvironmentAttributeModifierConstructorDescription(package private)Timeline(Optional<Integer> periodTicks, Map<EnvironmentAttribute<?>, TimelineEntry<?, ?>> entries) -
Uses of EnvironmentAttribute in net.minecraft.world.biome
Methods in net.minecraft.world.biome with parameters of type EnvironmentAttributeModifier and TypeMethodDescription<Value> Biome.BuilderBiome.Builder.setEnvironmentAttribute(EnvironmentAttribute<Value> attribute, Value value) <Value,Parameter>
Biome.BuilderBiome.Builder.setEnvironmentAttributeModifier(EnvironmentAttribute<Value> attribute, EnvironmentAttributeModifier<Value, Parameter> modifier, Parameter value)