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 UniformIntProvider
LeapingChargeTask.cooldownRange
private final UniformIntProvider
LongJumpTask.cooldownRange
private final UniformIntProvider
LookAtMobWithIntervalTask.Interval.interval
Fields in net.minecraft.entity.ai.brain.task with type parameters of type UniformIntProviderModifier and TypeFieldDescriptionprivate final Function
<GoatEntity, UniformIntProvider> RamImpactTask.cooldownRangeFactory
Methods 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> WalkTowardsClosestAdultTask.create
(UniformIntProvider executionRange, float speed) static SingleTickTask
<PassiveEntity> WalkTowardsClosestAdultTask.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 UniformIntProvider
CrossbowAttackGoal.COOLDOWN_RANGE
-
Uses of UniformIntProvider in net.minecraft.entity.mob
Fields in net.minecraft.entity.mob declared as UniformIntProviderModifier and TypeFieldDescriptionprivate static final UniformIntProvider
ZombifiedPiglinEntity.ANGER_PASSING_COOLDOWN_RANGE
private static final UniformIntProvider
EndermanEntity.ANGER_TIME_RANGE
private static final UniformIntProvider
ZombifiedPiglinEntity.ANGER_TIME_RANGE
private static final UniformIntProvider
ZombifiedPiglinEntity.ANGRY_SOUND_DELAY_RANGE
private static final UniformIntProvider
HoglinBrain.AVOID_MEMORY_DURATION
private static final UniformIntProvider
PiglinBrain.AVOID_MEMORY_DURATION
private static final UniformIntProvider
PiglinBrain.GO_TO_NEMESIS_MEMORY_DURATION
private static final UniformIntProvider
PiglinBrain.GO_TO_ZOMBIFIED_MEMORY_DURATION
protected static final UniformIntProvider
PiglinBrain.HUNT_MEMORY_DURATION
private static final UniformIntProvider
PiglinBrain.MEMORY_TRANSFER_TASK_DURATION
private static final UniformIntProvider
PiglinBrain.RIDE_TARGET_MEMORY_DURATION
private static final UniformIntProvider
HoglinBrain.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 UniformIntProvider
BeeEntity.ANGER_TIME_RANGE
private static final UniformIntProvider
IronGolemEntity.ANGER_TIME_RANGE
private static final UniformIntProvider
PolarBearEntity.ANGER_TIME_RANGE
private static final UniformIntProvider
WolfEntity.ANGER_TIME_RANGE
private static final UniformIntProvider
GoatBrain.LONG_JUMP_COOLDOWN_RANGE
private static final UniformIntProvider
FrogBrain.longJumpCooldownRange
private static final UniformIntProvider
GoatBrain.RAM_COOLDOWN_RANGE
private static final UniformIntProvider
GoatBrain.SCREAMING_RAM_COOLDOWN_RANGE
private static final UniformIntProvider
AxolotlBrain.WALK_TOWARD_ADULT_RANGE
private static final UniformIntProvider
CamelBrain.WALK_TOWARD_ADULT_RANGE
private static final UniformIntProvider
ArmadilloBrain.WALK_TOWARDS_CLOSEST_ADULT_RANGE
private static final UniformIntProvider
GoatBrain.WALKING_SPEED
-
Uses of UniformIntProvider in net.minecraft.particle
Methods in net.minecraft.particle with parameters of type UniformIntProviderModifier and TypeMethodDescriptionstatic void
ParticleUtil.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 UniformIntProvider
TimeHelper.betweenSeconds
(int min, int max) Returns an int provider that provides a time in ticks, betweenmin * 20
andmax * 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.CODEC
static final IntProviderType
<UniformIntProvider> IntProviderType.UNIFORM
Methods in net.minecraft.util.math.intprovider that return UniformIntProviderModifier and TypeMethodDescriptionstatic UniformIntProvider
UniformIntProvider.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 UniformIntProvider
CherryTrunkPlacer.branchStartOffsetFromTop
private final UniformIntProvider
CherryTrunkPlacer.secondBranchStartOffsetFromTop
Fields 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_CODEC
Constructors 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)