Uses of Class
net.minecraft.util.math.intprovider.UniformIntProvider
Package
Description
The basic AI system for Minecraft living entities.
-
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
MemoryTransferTask.duration
private final UniformIntProvider
WalkTowardClosestAdultTask.executionRange
private final UniformIntProvider
TimeLimitedTask.timeRange
Modifier and TypeFieldDescriptionprivate final Function<GoatEntity,
UniformIntProvider> RamImpactTask.cooldownRangeFactory
ModifierConstructorDescriptionBiasedLongJumpTask
(UniformIntProvider cooldownRange, int verticalRange, int horizontalRange, float maxRange, Function<E, SoundEvent> entityToSound, TagKey<Block> favoredBlocks, float biasChance, Predicate<BlockState> jumpToPredicate) 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, Predicate<BlockState> jumpToPredicate) MemoryTransferTask
(Predicate<E> runPredicate, MemoryModuleType<? extends T> sourceType, MemoryModuleType<T> targetType, UniformIntProvider duration) TimeLimitedTask
(Task<? super E> delegate, boolean skipFirstRun, UniformIntProvider timeRange) TimeLimitedTask
(Task<? super E> delegate, UniformIntProvider timeRange) WalkTowardClosestAdultTask
(UniformIntProvider executionRange, float speed) WalkTowardClosestAdultTask
(UniformIntProvider executionRange, Function<LivingEntity, Float> speed) 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
private 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
GoatBrain.WALKING_SPEED
-
Uses of UniformIntProvider in net.minecraft.util
Modifier and TypeMethodDescriptionstatic UniformIntProvider
TimeHelper.betweenSeconds
(int min, int max) -
Uses of UniformIntProvider in net.minecraft.util.math.intprovider
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<UniformIntProvider>
UniformIntProvider.CODEC
static final IntProviderType<UniformIntProvider>
IntProviderType.UNIFORM
Modifier and TypeMethodDescriptionstatic UniformIntProvider
UniformIntProvider.create
(int min, int max)