Uses of Class
net.minecraft.world.attribute.EnvironmentAttribute
Packages that use EnvironmentAttribute
Package
Description
-
Uses of EnvironmentAttribute in net.minecraft.core.registries
Fields in net.minecraft.core.registries with type parameters of type EnvironmentAttributeModifier and TypeFieldDescriptionstatic final Registry<EnvironmentAttribute<?>> BuiltInRegistries.ENVIRONMENT_ATTRIBUTEstatic final ResourceKey<Registry<EnvironmentAttribute<?>>> Registries.ENVIRONMENT_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_PARTICLESstatic final EnvironmentAttribute<AmbientSounds> EnvironmentAttributes.AMBIENT_SOUNDSprivate final EnvironmentAttribute<Value> EnvironmentAttributeSystem.ValueSampler.attributestatic final EnvironmentAttribute<Activity> EnvironmentAttributes.BABY_VILLAGER_ACTIVITYstatic final EnvironmentAttribute<BackgroundMusic> EnvironmentAttributes.BACKGROUND_MUSICstatic final EnvironmentAttribute<BedRule> EnvironmentAttributes.BED_RULEstatic final EnvironmentAttribute<Boolean> EnvironmentAttributes.BEES_STAY_IN_HIVEstatic final EnvironmentAttribute<Boolean> EnvironmentAttributes.CAN_PILLAGER_PATROL_SPAWNstatic final EnvironmentAttribute<Boolean> EnvironmentAttributes.CAN_START_RAIDstatic final EnvironmentAttribute<Float> EnvironmentAttributes.CAT_WAKING_UP_GIFT_CHANCEstatic final EnvironmentAttribute<Integer> EnvironmentAttributes.CLOUD_COLORstatic final EnvironmentAttribute<Float> EnvironmentAttributes.CLOUD_FOG_END_DISTANCEstatic final EnvironmentAttribute<Float> EnvironmentAttributes.CLOUD_HEIGHTstatic final EnvironmentAttribute<Boolean> EnvironmentAttributes.CREAKING_ACTIVEstatic final EnvironmentAttribute<ParticleOptions> EnvironmentAttributes.DEFAULT_DRIPSTONE_PARTICLEstatic final EnvironmentAttribute<TriState> EnvironmentAttributes.EYEBLOSSOM_OPENstatic final EnvironmentAttribute<Boolean> EnvironmentAttributes.FAST_LAVAstatic final EnvironmentAttribute<Boolean> EnvironmentAttributes.FIREFLY_BUSH_SOUNDSstatic final EnvironmentAttribute<Integer> EnvironmentAttributes.FOG_COLORstatic final EnvironmentAttribute<Float> EnvironmentAttributes.FOG_END_DISTANCEstatic final EnvironmentAttribute<Float> EnvironmentAttributes.FOG_START_DISTANCEstatic final EnvironmentAttribute<Boolean> EnvironmentAttributes.INCREASED_FIRE_BURNOUTstatic final EnvironmentAttribute<Boolean> EnvironmentAttributes.MONSTERS_BURNstatic final EnvironmentAttribute<Float> EnvironmentAttributes.MOON_ANGLEstatic final EnvironmentAttribute<MoonPhase> EnvironmentAttributes.MOON_PHASEstatic final EnvironmentAttribute<Float> EnvironmentAttributes.MUSIC_VOLUMEstatic final EnvironmentAttribute<Boolean> EnvironmentAttributes.NETHER_PORTAL_SPAWNS_PIGLINSstatic final EnvironmentAttribute<Boolean> EnvironmentAttributes.PIGLINS_ZOMBIFYstatic final EnvironmentAttribute<Boolean> EnvironmentAttributes.RESPAWN_ANCHOR_WORKSstatic final EnvironmentAttribute<Integer> EnvironmentAttributes.SKY_COLORstatic final EnvironmentAttribute<Float> EnvironmentAttributes.SKY_FOG_END_DISTANCEstatic final EnvironmentAttribute<Integer> EnvironmentAttributes.SKY_LIGHT_COLORstatic final EnvironmentAttribute<Float> EnvironmentAttributes.SKY_LIGHT_FACTORstatic final EnvironmentAttribute<Float> EnvironmentAttributes.SKY_LIGHT_LEVELstatic final EnvironmentAttribute<Boolean> EnvironmentAttributes.SNOW_GOLEM_MELTSstatic final EnvironmentAttribute<Float> EnvironmentAttributes.STAR_ANGLEstatic final EnvironmentAttribute<Float> EnvironmentAttributes.STAR_BRIGHTNESSstatic final EnvironmentAttribute<Float> EnvironmentAttributes.SUN_ANGLEstatic final EnvironmentAttribute<Integer> EnvironmentAttributes.SUNRISE_SUNSET_COLORstatic final EnvironmentAttribute<Float> EnvironmentAttributes.SURFACE_SLIME_SPAWN_CHANCEstatic final EnvironmentAttribute<Float> EnvironmentAttributes.TURTLE_EGG_HATCH_CHANCEstatic final EnvironmentAttribute<Activity> EnvironmentAttributes.VILLAGER_ACTIVITYstatic final EnvironmentAttribute<Boolean> EnvironmentAttributes.WATER_EVAPORATESstatic final EnvironmentAttribute<Integer> EnvironmentAttributes.WATER_FOG_COLORstatic final EnvironmentAttribute<Float> EnvironmentAttributes.WATER_FOG_END_DISTANCEstatic final EnvironmentAttribute<Float> EnvironmentAttributes.WATER_FOG_START_DISTANCEFields in net.minecraft.world.attribute with type parameters of type EnvironmentAttributeModifier and TypeFieldDescriptionprivate final Map<EnvironmentAttribute<?>, EnvironmentAttributeSystem.ValueSampler<?>> EnvironmentAttributeSystem.attributeSamplersstatic final com.mojang.serialization.Codec<EnvironmentAttribute<?>> EnvironmentAttributes.CODECprivate final Map<EnvironmentAttribute<?>, EnvironmentAttributeMap.Entry<?, ?>> EnvironmentAttributeMap.Builder.entries(package private) final Map<EnvironmentAttribute<?>, EnvironmentAttributeMap.Entry<?, ?>> EnvironmentAttributeMap.entriesprivate final Map<EnvironmentAttribute<?>, List<EnvironmentAttributeLayer<?>>> EnvironmentAttributeSystem.Builder.layersByAttributeprivate final Function<EnvironmentAttribute<?>, EnvironmentAttributeProbe.ValueProbe<?>> EnvironmentAttributeProbe.valueProbeFactoryprivate final Map<EnvironmentAttribute<?>, EnvironmentAttributeProbe.ValueProbe<?>> EnvironmentAttributeProbe.valueProbesprivate static final Set<EnvironmentAttribute<?>> WeatherAttributes.WEATHER_ATTRIBUTESMethods in net.minecraft.world.attribute that return EnvironmentAttributeModifier and TypeMethodDescriptionstatic EnvironmentAttribute<?> EnvironmentAttributes.bootstrap(Registry<EnvironmentAttribute<?>> pRegistry) EnvironmentAttribute.Builder.build()private static <Value> EnvironmentAttribute<Value> EnvironmentAttributes.register(String pName, EnvironmentAttribute.Builder<Value> pBuilder) 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 static <Value> voidEnvironmentAttributeSystem.addBiomeLayerForAttribute(EnvironmentAttributeSystem.Builder pBuilder, EnvironmentAttribute<Value> pAttribute, BiomeManager pBiomeManager) private <Value> EnvironmentAttributeSystem.BuilderEnvironmentAttributeSystem.Builder.addConstantEntry(EnvironmentAttribute<Value> pAttribute, EnvironmentAttributeMap pMap) EnvironmentAttributeSystem.Builder.addConstantLayer(EnvironmentAttribute<Value> pAttribute, EnvironmentAttributeLayer.Constant<Value> pLayer) private <Value> EnvironmentAttributeSystem.BuilderEnvironmentAttributeSystem.Builder.addLayer(EnvironmentAttribute<Value> pAttribute, EnvironmentAttributeLayer<Value> pLayer) private static <Value> voidWeatherAttributes.addLayer(EnvironmentAttributeSystem.Builder pBuilder, WeatherAttributes.WeatherAccess pWeatherAccess, EnvironmentAttribute<Value> pAttribute) EnvironmentAttributeSystem.Builder.addPositionalLayer(EnvironmentAttribute<Value> pAttribute, EnvironmentAttributeLayer.Positional<Value> pLayer) EnvironmentAttributeSystem.Builder.addTimeBasedLayer(EnvironmentAttribute<Value> pAttribute, EnvironmentAttributeLayer.TimeBased<Value> pLayer) private <Value> voidEnvironmentAttributeSystem.Builder.addTimelineLayerForAttribute(Holder<Timeline> pTimeline, EnvironmentAttribute<Value> pAttribute, LongSupplier pDayTimeGetter) <Value> ValueSpatialAttributeInterpolator.applyAttributeLayer(EnvironmentAttribute<Value> pAttribute, Value pValue) <Value> ValueEnvironmentAttributeMap.applyModifier(EnvironmentAttribute<Value> pAttribute, Value pOldValue) private <Value> EnvironmentAttributeSystem.ValueSampler<Value> EnvironmentAttributeSystem.bakeLayerSampler(EnvironmentAttribute<Value> pAttribute, List<? extends EnvironmentAttributeLayer<?>> pLayers) booleanEnvironmentAttributeMap.contains(EnvironmentAttribute<?> pAttribute) private static <Value> com.mojang.serialization.Codec<EnvironmentAttributeMap.Entry<Value, ?>> EnvironmentAttributeMap.Entry.createCodec(EnvironmentAttribute<Value> pAttribute) private static <Value,Argument>
com.mojang.serialization.MapCodec<EnvironmentAttributeMap.Entry<Value, Argument>> EnvironmentAttributeMap.Entry.createFullCodec(EnvironmentAttribute<Value> pAttribute, AttributeModifier<Value, Argument> pModifier) <Value> @Nullable EnvironmentAttributeMap.Entry<Value, ?> EnvironmentAttributeMap.get(EnvironmentAttribute<Value> pAttribute) EnvironmentAttributeProbe.ValueProbe.get(EnvironmentAttribute<Value> pAttribute, float pPartialTick) (package private) <Value> ValueEnvironmentAttributeSystem.getConstantBaseValue(EnvironmentAttribute<Value> pAttribute) <Value> ValueEnvironmentAttributeReader.getDimensionValue(EnvironmentAttribute<Value> pAttribute) <Value> ValueEnvironmentAttributeSystem.getDimensionValue(EnvironmentAttribute<Value> p_457805_) <Value> ValueEnvironmentAttributeProbe.getValue(EnvironmentAttribute<Value> pAttribute, float pPartialTick) default <Value> ValueEnvironmentAttributeReader.getValue(EnvironmentAttribute<Value> pAttribute, BlockPos pPos) default <Value> ValueEnvironmentAttributeReader.getValue(EnvironmentAttribute<Value> pAttribute, Vec3 pPos) <Value> ValueEnvironmentAttributeReader.getValue(EnvironmentAttribute<Value> pAttribute, Vec3 pPos, @Nullable SpatialAttributeInterpolator pInterpolator) <Value> ValueEnvironmentAttributeSystem.getValue(EnvironmentAttribute<Value> p_458091_, Vec3 p_458226_, @Nullable SpatialAttributeInterpolator p_458292_) private ValueEnvironmentAttributeProbe.ValueProbe.getValueFromLevel(EnvironmentAttribute<Value> pAttribute) private <Value> @Nullable EnvironmentAttributeSystem.ValueSampler<Value> EnvironmentAttributeSystem.getValueSampler(EnvironmentAttribute<Value> pAttribute) (package private) booleanEnvironmentAttributeSystem.isAffectedByPosition(EnvironmentAttribute<?> pAttribute) <Value,Parameter>
EnvironmentAttributeMap.BuilderEnvironmentAttributeMap.Builder.modify(EnvironmentAttribute<Value> pAttribute, AttributeModifier<Value, Parameter> pModifier, Parameter pParamater) <Value> EnvironmentAttributeMap.BuilderEnvironmentAttributeMap.Builder.set(EnvironmentAttribute<Value> pAttribute, Value pValue) Method parameters in net.minecraft.world.attribute with type arguments of type EnvironmentAttributeModifier and TypeMethodDescriptionstatic EnvironmentAttribute<?> EnvironmentAttributes.bootstrap(Registry<EnvironmentAttribute<?>> pRegistry) Constructors in net.minecraft.world.attribute with parameters of type EnvironmentAttributeModifierConstructorDescriptionValueProbe(EnvironmentAttribute<Value> pAttribute) (package private)ValueSampler(EnvironmentAttribute<Value> pAttribute, Value pBaseValue, List<EnvironmentAttributeLayer<Value>> pLayers, boolean pIsAffectedByPosition) Constructor parameters in net.minecraft.world.attribute with type arguments of type EnvironmentAttributeModifierConstructorDescription(package private)EnvironmentAttributeMap(Map<EnvironmentAttribute<?>, EnvironmentAttributeMap.Entry<?, ?>> pEntries) (package private)EnvironmentAttributeSystem(Map<EnvironmentAttribute<?>, List<EnvironmentAttributeLayer<?>>> pAttributes) -
Uses of EnvironmentAttribute in net.minecraft.world.attribute.modifier
Methods in net.minecraft.world.attribute.modifier with parameters of type EnvironmentAttributeModifier and TypeMethodDescriptioncom.mojang.serialization.Codec<Argument> AttributeModifier.argumentCodec(EnvironmentAttribute<Subject> pAttribute) com.mojang.serialization.Codec<Value> AttributeModifier.OverrideModifier.argumentCodec(EnvironmentAttribute<Value> p_457977_) com.mojang.serialization.Codec<Boolean> BooleanModifier.argumentCodec(EnvironmentAttribute<Boolean> p_457516_) default com.mojang.serialization.Codec<Integer> ColorModifier.ArgbModifier.argumentCodec(EnvironmentAttribute<Integer> p_461215_) default com.mojang.serialization.Codec<Integer> ColorModifier.RgbModifier.argumentCodec(EnvironmentAttribute<Integer> p_457709_) default com.mojang.serialization.Codec<Float> FloatModifier.Simple.argumentCodec(EnvironmentAttribute<Float> p_457826_) AttributeModifier.argumentKeyframeLerp(EnvironmentAttribute<Subject> pAttribute) AttributeModifier.OverrideModifier.argumentKeyframeLerp(EnvironmentAttribute<Value> p_467925_) BooleanModifier.argumentKeyframeLerp(EnvironmentAttribute<Boolean> p_469095_) default LerpFunction<Integer> ColorModifier.ArgbModifier.argumentKeyframeLerp(EnvironmentAttribute<Integer> p_468908_) default LerpFunction<Integer> ColorModifier.RgbModifier.argumentKeyframeLerp(EnvironmentAttribute<Integer> p_469444_) default LerpFunction<Float> FloatModifier.Simple.argumentKeyframeLerp(EnvironmentAttribute<Float> p_469144_) -
Uses of EnvironmentAttribute in net.minecraft.world.entity.ai
Fields in net.minecraft.world.entity.ai declared as EnvironmentAttributeMethods in net.minecraft.world.entity.ai with parameters of type EnvironmentAttributeModifier and TypeMethodDescriptionvoidBrain.setSchedule(EnvironmentAttribute<Activity> pSchedule) -
Uses of EnvironmentAttribute in net.minecraft.world.level.biome
Methods in net.minecraft.world.level.biome with parameters of type EnvironmentAttributeModifier and TypeMethodDescription<Value,Parameter>
Biome.BiomeBuilderBiome.BiomeBuilder.modifyAttribute(EnvironmentAttribute<Value> pAttribute, AttributeModifier<Value, Parameter> pModifier, Parameter pParameter) <Value> Biome.BiomeBuilderBiome.BiomeBuilder.setAttribute(EnvironmentAttribute<Value> pAttribute, Value pValue) -
Uses of EnvironmentAttribute in net.minecraft.world.timeline
Fields in net.minecraft.world.timeline with type parameters of type EnvironmentAttributeModifier and TypeFieldDescriptionprivate final ImmutableMap.Builder<EnvironmentAttribute<?>, AttributeTrack<?, ?>> Timeline.Builder.tracksprivate final Map<EnvironmentAttribute<?>, AttributeTrack<?, ?>> Timeline.tracksprivate static final com.mojang.serialization.Codec<Map<EnvironmentAttribute<?>, AttributeTrack<?, ?>>> Timeline.TRACKS_CODECMethods in net.minecraft.world.timeline that return types with arguments of type EnvironmentAttributeMethods in net.minecraft.world.timeline with parameters of type EnvironmentAttributeModifier and TypeMethodDescription<Value,Argument>
Timeline.BuilderTimeline.Builder.addModifierTrack(EnvironmentAttribute<Value> pAttribute, AttributeModifier<Value, Argument> pModifier, Consumer<KeyframeTrack.Builder<Argument>> pTrackBuilder) <Value> Timeline.BuilderTimeline.Builder.addTrack(EnvironmentAttribute<Value> pAttribute, Consumer<KeyframeTrack.Builder<Value>> pTrackBuilder) AttributeTrack.bakeSampler(EnvironmentAttribute<Value> pAttribute, Optional<Integer> pPeriodTicks, LongSupplier pDayTimeGetter) static <Value> com.mojang.serialization.Codec<AttributeTrack<Value, ?>> AttributeTrack.createCodec(EnvironmentAttribute<Value> pAttribute) private static <Value,Argument>
com.mojang.serialization.MapCodec<AttributeTrack<Value, Argument>> AttributeTrack.createCodecWithModifier(EnvironmentAttribute<Value> pAttribute, AttributeModifier<Value, Argument> pModifier) <Value> AttributeTrackSampler<Value, ?> Timeline.createTrackSampler(EnvironmentAttribute<Value> pAttribute, LongSupplier pDayTimeGetter) Constructor parameters in net.minecraft.world.timeline with type arguments of type EnvironmentAttributeModifierConstructorDescription(package private)Timeline(Optional<Integer> pPeriodTicks, Map<EnvironmentAttribute<?>, AttributeTrack<?, ?>> pTracks) -
Uses of EnvironmentAttribute in net.neoforged.neoforge.common
Fields in net.neoforged.neoforge.common with type parameters of type EnvironmentAttributeModifier and TypeFieldDescriptionprivate static final DeferredRegister<EnvironmentAttribute<?>> NeoForgeMod.ENVIRONMENT_ATTRIBUTES -
Uses of EnvironmentAttribute in net.neoforged.neoforge.common.world
Fields in net.neoforged.neoforge.common.world declared as EnvironmentAttributeModifier and TypeFieldDescriptionstatic EnvironmentAttribute<Identifier> NeoForgeEnvironmentAttributes.CUSTOM_CLOUDSstatic EnvironmentAttribute<Identifier> NeoForgeEnvironmentAttributes.CUSTOM_SKYBOXstatic EnvironmentAttribute<Identifier> NeoForgeEnvironmentAttributes.CUSTOM_WEATHER_EFFECTS