Uses of Class
net.minecraft.util.math.intprovider.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.client.util
Modifier and TypeMethodDescriptionstatic void
ParticleUtil.spawnParticle
(Direction.Axis axis, World world, BlockPos pos, double variance, ParticleEffect effect, UniformIntProvider range) -
Uses of UniformIntProvider in net.minecraft.entity.ai.brain.task
Modifier and TypeFieldDescriptionprivate final UniformIntProvider
LeapingChargeTask.cooldownRange
private final UniformIntProvider
LongJumpTask.cooldownRange
private final UniformIntProvider
LookAtMobWithIntervalTask.Interval.interval
Modifier and TypeFieldDescriptionprivate final Function
<GoatEntity, UniformIntProvider> RamImpactTask.cooldownRangeFactory
Modifier 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.ModifierConstructorDescriptionBiasedLongJumpTask
(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) ModifierConstructorDescriptionRamImpactTask
(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
Modifier and TypeFieldDescriptionstatic final UniformIntProvider
CrossbowAttackGoal.COOLDOWN_RANGE
-
Uses of UniformIntProvider in net.minecraft.entity.mob
Modifier 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
Modifier 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.util
Modifier 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
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec
<UniformIntProvider> UniformIntProvider.CODEC
static final IntProviderType
<UniformIntProvider> IntProviderType.UNIFORM
Modifier and TypeMethodDescriptionstatic UniformIntProvider
UniformIntProvider.create
(int min, int max) -
Uses of UniformIntProvider in net.minecraft.world.gen.trunk
Modifier and TypeFieldDescriptionprivate final UniformIntProvider
CherryTrunkPlacer.branchStartOffsetFromTop
private final UniformIntProvider
CherryTrunkPlacer.secondBranchStartOffsetFromTop
Modifier and TypeFieldDescriptionprivate static final com.mojang.serialization.Codec
<UniformIntProvider> CherryTrunkPlacer.BRANCH_START_OFFSET_FROM_TOP_CODEC
ModifierConstructorDescriptionCherryTrunkPlacer
(int baseHeight, int firstRandomHeight, int secondRandomHeight, IntProvider branchCount, IntProvider branchHorizontalLength, UniformIntProvider branchStartOffsetFromTop, IntProvider branchEndOffsetFromTop)