Uses of Class
net.minecraft.world.attribute.EnvironmentAttribute
Packages that use EnvironmentAttribute
Package
Description
The base package for all Minecraft classes.
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
Fields in net.minecraft with type parameters of type EnvironmentAttributeModifier and TypeFieldDescriptionprivate static final Set<EnvironmentAttribute<?>> class_12316.field_64351private static final com.mojang.serialization.Codec<Map<EnvironmentAttribute<?>, class_12327<?, ?>>> class_12329.field_64400private final Map<EnvironmentAttribute<?>, class_12327<?, ?>> class_12329.field_64402private final ImmutableMap.Builder<EnvironmentAttribute<?>, class_12327<?, ?>> class_12329.class_12330.field_64404Methods in net.minecraft that return types with arguments of type EnvironmentAttributeMethods in net.minecraft with parameters of type EnvironmentAttributeModifier and TypeMethodDescriptionprivate static <Value> voidclass_12316.method_76431(WorldEnvironmentAttributeAccess.class_12314 class_12314, class_12316.class_12317 class_12317, EnvironmentAttribute<Value> environmentAttribute) static <Value> com.mojang.serialization.Codec<class_12327<Value, ?>> class_12327.method_76471(EnvironmentAttribute<Value> environmentAttribute) private static <Value,Argument>
com.mojang.serialization.MapCodec<class_12327<Value, Argument>> class_12327.method_76472(EnvironmentAttribute<Value> environmentAttribute, EnvironmentAttributeModifier<Value, Argument> environmentAttributeModifier) class_12327.method_76473(EnvironmentAttribute<Value> environmentAttribute, Optional<Integer> optional, LongSupplier longSupplier) <Value> class_12328<Value, ?> class_12329.method_76479(EnvironmentAttribute<Value> environmentAttribute, LongSupplier longSupplier) <Value,Argument>
class_12329.class_12330class_12329.class_12330.method_76492(EnvironmentAttribute<Value> environmentAttribute, EnvironmentAttributeModifier<Value, Argument> environmentAttributeModifier, Consumer<class_12306.class_12307<Argument>> consumer) <Value> class_12329.class_12330class_12329.class_12330.method_76493(EnvironmentAttribute<Value> environmentAttribute, Consumer<class_12306.class_12307<Value>> consumer) Constructor parameters in net.minecraft with type arguments of type EnvironmentAttributeModifierConstructorDescription(package private)class_12329(Optional<Integer> optional, Map<EnvironmentAttribute<?>, class_12327<?, ?>> map) -
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_AUDIOstatic 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_GAMEPLAYprivate final EnvironmentAttribute<Value> WorldEnvironmentAttributeAccess.class_12315.field_64323static 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 TypeFieldDescriptionstatic 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 Function<EnvironmentAttribute<?>, EnvironmentAttributeInterpolator.Entry<?>> EnvironmentAttributeInterpolator.entryFactoryprivate final Map<EnvironmentAttribute<?>, WorldEnvironmentAttributeAccess.class_12315<?>> WorldEnvironmentAttributeAccess.field_64321private final Map<EnvironmentAttribute<?>, List<class_12310<?>>> WorldEnvironmentAttributeAccess.class_12314.field_64322Methods 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 TypeMethodDescription<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) 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) <Value> @Nullable EnvironmentAttributeMap.Entry<Value, ?> EnvironmentAttributeMap.getEntry(EnvironmentAttribute<Value> key) <Value> ValueWeightedAttributeList.interpolate(EnvironmentAttribute<Value> attribute, Value defaultValue) private <Value> WorldEnvironmentAttributeAccess.class_12315<Value> WorldEnvironmentAttributeAccess.method_76396(EnvironmentAttribute<Value> environmentAttribute, List<? extends class_12310<?>> list) private static <Value> voidWorldEnvironmentAttributeAccess.method_76398(WorldEnvironmentAttributeAccess.class_12314 class_12314, EnvironmentAttribute<Value> environmentAttribute, BiomeAccess biomeAccess) (package private) <Value> ValueWorldEnvironmentAttributeAccess.method_76406(EnvironmentAttribute<Value> environmentAttribute) (package private) booleanWorldEnvironmentAttributeAccess.method_76408(EnvironmentAttribute<?> environmentAttribute) private <Value> @Nullable WorldEnvironmentAttributeAccess.class_12315<Value> WorldEnvironmentAttributeAccess.method_76409(EnvironmentAttribute<Value> environmentAttribute) WorldEnvironmentAttributeAccess.class_12314.method_76412(EnvironmentAttribute<Value> environmentAttribute, class_12310.class_12311<Value> class_12311) WorldEnvironmentAttributeAccess.class_12314.method_76413(EnvironmentAttribute<Value> environmentAttribute, class_12310.class_12312<Value> class_12312) WorldEnvironmentAttributeAccess.class_12314.method_76414(EnvironmentAttribute<Value> environmentAttribute, class_12310.class_12313<Value> class_12313) private <Value> WorldEnvironmentAttributeAccess.class_12314WorldEnvironmentAttributeAccess.class_12314.method_76415(EnvironmentAttribute<Value> environmentAttribute, class_12310<Value> class_12310) private <Value> WorldEnvironmentAttributeAccess.class_12314WorldEnvironmentAttributeAccess.class_12314.method_76416(EnvironmentAttribute<Value> environmentAttribute, EnvironmentAttributeMap environmentAttributeMap) private <Value> voidWorldEnvironmentAttributeAccess.class_12314.method_76419(RegistryEntry<class_12329> registryEntry, EnvironmentAttribute<Value> environmentAttribute, LongSupplier longSupplier) <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 EnvironmentAttributeModifierConstructorDescription(package private)class_12315(EnvironmentAttribute<Value> environmentAttribute, Value value, List<class_12310<Value>> list, boolean bool) Entry(EnvironmentAttribute<Value> attribute) Constructor parameters in net.minecraft.world.attribute with type arguments of type EnvironmentAttributeModifierConstructorDescription(package private)EnvironmentAttributeMap(Map<EnvironmentAttribute<?>, EnvironmentAttributeMap.Entry<?, ?>> entries) (package private) -
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)