Uses of Class
net.minecraft.util.math.intprovider.UniformIntProvider
Packages that use UniformIntProvider
Package
Description
The basic AI system for Minecraft living entities.
Contains utility method classes, various enums, serialization helpers, and
miscellaneous classes.
-
Uses of UniformIntProvider in net.minecraft.entity.ai.brain.task
Fields in net.minecraft.entity.ai.brain.task declared as UniformIntProviderModifier and TypeFieldDescriptionprivate final UniformIntProviderLeapingChargeTask.cooldownRangeprivate final UniformIntProviderLongJumpTask.cooldownRangeprivate final UniformIntProviderLookAtMobWithIntervalTask.Interval.intervalFields in net.minecraft.entity.ai.brain.task with type parameters of type UniformIntProviderModifier and TypeFieldDescriptionprivate final Function<GoatEntity, UniformIntProvider> RamImpactTask.cooldownRangeFactoryMethods in net.minecraft.entity.ai.brain.task with parameters of type UniformIntProviderModifier and TypeMethodDescriptionstatic <E extends LivingEntity,T>
Task<E> MemoryTransferTask.create(Predicate<E> runPredicate, MemoryModuleType<? extends T> sourceType, MemoryModuleType<T> targetType, UniformIntProvider expiry) static SingleTickTask<PassiveEntity> WalkTowardClosestAdultTask.create(UniformIntProvider executionRange, float speed) static SingleTickTask<PassiveEntity> WalkTowardClosestAdultTask.create(UniformIntProvider executionRange, Function<LivingEntity, Float> speed) static Task<LivingEntity> LookAtMobWithIntervalTask.follow(float maxDistance, UniformIntProvider interval) Deprecated.private static Task<LivingEntity> LookAtMobWithIntervalTask.follow(float maxDistance, UniformIntProvider interval, Predicate<LivingEntity> predicate) Deprecated.static Task<LivingEntity> LookAtMobWithIntervalTask.follow(EntityType<?> type, float maxDistance, UniformIntProvider interval) Deprecated.Constructors in net.minecraft.entity.ai.brain.task with parameters of type UniformIntProviderModifierConstructorDescriptionBiasedLongJumpTask(UniformIntProvider cooldownRange, int verticalRange, int horizontalRange, float maxRange, Function<E, SoundEvent> entityToSound, TagKey<Block> favoredBlocks, float biasChance, BiPredicate<E, BlockPos> jumpToPredicate) Interval(UniformIntProvider interval) LeapingChargeTask(UniformIntProvider cooldownRange, SoundEvent sound) LongJumpTask(UniformIntProvider cooldownRange, int verticalRange, int horizontalRange, float maxRange, Function<E, SoundEvent> entityToSound) LongJumpTask(UniformIntProvider cooldownRange, int verticalRange, int horizontalRange, float maxRange, Function<E, SoundEvent> entityToSound, BiPredicate<E, BlockPos> jumpToPredicate) Constructor parameters in net.minecraft.entity.ai.brain.task with type arguments of type UniformIntProviderModifierConstructorDescriptionRamImpactTask(Function<GoatEntity, UniformIntProvider> cooldownRangeFactory, TargetPredicate targetPredicate, float speed, ToDoubleFunction<GoatEntity> strengthMultiplierFactory, Function<GoatEntity, SoundEvent> impactSoundFactory, Function<GoatEntity, SoundEvent> hornBreakSoundFactory) -
Uses of UniformIntProvider in net.minecraft.entity.ai.goal
Fields in net.minecraft.entity.ai.goal declared as UniformIntProviderModifier and TypeFieldDescriptionstatic final UniformIntProviderCrossbowAttackGoal.COOLDOWN_RANGE -
Uses of UniformIntProvider in net.minecraft.entity.mob
Fields in net.minecraft.entity.mob declared as UniformIntProviderModifier and TypeFieldDescriptionprivate static final UniformIntProviderZombifiedPiglinEntity.ANGER_PASSING_COOLDOWN_RANGEprivate static final UniformIntProviderEndermanEntity.ANGER_TIME_RANGEprivate static final UniformIntProviderZombifiedPiglinEntity.ANGER_TIME_RANGEprivate static final UniformIntProviderZombifiedPiglinEntity.ANGRY_SOUND_DELAY_RANGEprivate static final UniformIntProviderHoglinBrain.AVOID_MEMORY_DURATIONprivate static final UniformIntProviderPiglinBrain.AVOID_MEMORY_DURATIONprivate static final UniformIntProviderPiglinBrain.GO_TO_NEMESIS_MEMORY_DURATIONprivate static final UniformIntProviderPiglinBrain.GO_TO_ZOMBIFIED_MEMORY_DURATIONprotected static final UniformIntProviderPiglinBrain.HUNT_MEMORY_DURATIONprivate static final UniformIntProviderPiglinBrain.MEMORY_TRANSFER_TASK_DURATIONprivate static final UniformIntProviderPiglinBrain.RIDE_TARGET_MEMORY_DURATIONprivate static final UniformIntProviderHoglinBrain.WALK_TOWARD_CLOSEST_ADULT_RANGE -
Uses of UniformIntProvider in net.minecraft.entity.passive
Fields in net.minecraft.entity.passive declared as UniformIntProviderModifier and TypeFieldDescriptionprivate static final UniformIntProviderBeeEntity.ANGER_TIME_RANGEprivate static final UniformIntProviderIronGolemEntity.ANGER_TIME_RANGEprivate static final UniformIntProviderPolarBearEntity.ANGER_TIME_RANGEprivate static final UniformIntProviderWolfEntity.ANGER_TIME_RANGEprivate static final UniformIntProviderGoatBrain.LONG_JUMP_COOLDOWN_RANGEprivate static final UniformIntProviderFrogBrain.longJumpCooldownRangeprivate static final UniformIntProviderGoatBrain.RAM_COOLDOWN_RANGEprivate static final UniformIntProviderGoatBrain.SCREAMING_RAM_COOLDOWN_RANGEprivate static final UniformIntProviderAxolotlBrain.WALK_TOWARD_ADULT_RANGEprivate static final UniformIntProviderCamelBrain.WALK_TOWARD_ADULT_RANGEprivate static final UniformIntProviderArmadilloBrain.WALK_TOWARDS_CLOSEST_ADULT_RANGEprivate static final UniformIntProviderGoatBrain.WALKING_SPEED -
Uses of UniformIntProvider in net.minecraft.particle
Methods in net.minecraft.particle with parameters of type UniformIntProviderModifier and TypeMethodDescriptionstatic voidParticleUtil.spawnParticle(Direction.Axis axis, World world, BlockPos pos, double variance, ParticleEffect effect, UniformIntProvider range) -
Uses of UniformIntProvider in net.minecraft.util
Methods in net.minecraft.util that return UniformIntProviderModifier and TypeMethodDescriptionstatic UniformIntProviderTimeHelper.betweenSeconds(int min, int max) Returns an int provider that provides a time in ticks, betweenmin * 20andmax * 20(both inclusive). -
Uses of UniformIntProvider in net.minecraft.util.math.intprovider
Fields in net.minecraft.util.math.intprovider with type parameters of type UniformIntProviderModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<UniformIntProvider> UniformIntProvider.CODECstatic final IntProviderType<UniformIntProvider> IntProviderType.UNIFORMMethods in net.minecraft.util.math.intprovider that return UniformIntProviderModifier and TypeMethodDescriptionstatic UniformIntProviderUniformIntProvider.create(int min, int max) -
Uses of UniformIntProvider in net.minecraft.world.gen.trunk
Fields in net.minecraft.world.gen.trunk declared as UniformIntProviderModifier and TypeFieldDescriptionprivate final UniformIntProviderCherryTrunkPlacer.branchStartOffsetFromTopprivate final UniformIntProviderCherryTrunkPlacer.secondBranchStartOffsetFromTopFields in net.minecraft.world.gen.trunk with type parameters of type UniformIntProviderModifier and TypeFieldDescriptionprivate static final com.mojang.serialization.Codec<UniformIntProvider> CherryTrunkPlacer.BRANCH_START_OFFSET_FROM_TOP_CODECConstructors in net.minecraft.world.gen.trunk with parameters of type UniformIntProviderModifierConstructorDescriptionCherryTrunkPlacer(int baseHeight, int firstRandomHeight, int secondRandomHeight, IntProvider branchCount, IntProvider branchHorizontalLength, UniformIntProvider branchStartOffsetFromTop, IntProvider branchEndOffsetFromTop)