Uses of Class
net.minecraft.util.valueproviders.UniformInt
Packages that use UniformInt
Package
Description
-
Uses of UniformInt in net.minecraft.util
Methods in net.minecraft.util that return UniformIntModifier and TypeMethodDescriptionstatic UniformInt
TimeUtil.rangeOfSeconds
(int minInclusive, int maxInclusive) Methods in net.minecraft.util with parameters of type UniformIntModifier and TypeMethodDescriptionstatic void
ParticleUtils.spawnParticlesAlongAxis
(Direction.Axis axis, Level level, BlockPos pos, double spread, ParticleOptions particle, UniformInt count) -
Uses of UniformInt in net.minecraft.util.valueproviders
Fields in net.minecraft.util.valueproviders with type parameters of type UniformIntModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec
<UniformInt> UniformInt.CODEC
static final IntProviderType
<UniformInt> IntProviderType.UNIFORM
Methods in net.minecraft.util.valueproviders that return UniformIntModifier and TypeMethodDescriptionstatic UniformInt
UniformInt.of
(int minInclusive, int maxInclusive) -
Uses of UniformInt in net.minecraft.world.entity.ai.behavior
Fields in net.minecraft.world.entity.ai.behavior declared as UniformIntModifier and TypeFieldDescriptionprivate final UniformInt
SetEntityLookTargetSometimes.Ticker.interval
private final UniformInt
LongJumpMidJump.timeBetweenLongJumps
private final UniformInt
LongJumpToRandomPos.timeBetweenLongJumps
Fields in net.minecraft.world.entity.ai.behavior with type parameters of type UniformIntModifier and TypeFieldDescriptionprivate final Function
<Goat, UniformInt> RamTarget.getTimeBetweenRams
Methods in net.minecraft.world.entity.ai.behavior with parameters of type UniformIntModifier and TypeMethodDescriptionstatic OneShot
<AgeableMob> BabyFollowAdult.create
(UniformInt followRange, float speedModifier) static OneShot
<AgeableMob> BabyFollowAdult.create
(UniformInt followRange, Function<LivingEntity, Float> speedModifier) static <E extends LivingEntity,
T>
BehaviorControl<E> CopyMemoryWithExpiry.create
(Predicate<E> canCopyMemory, MemoryModuleType<? extends T> sourceMemory, MemoryModuleType<T> targetMemory, UniformInt durationOfCopy) static BehaviorControl
<LivingEntity> SetEntityLookTargetSometimes.create
(float maxDist, UniformInt interval) Deprecated.private static BehaviorControl
<LivingEntity> SetEntityLookTargetSometimes.create
(float maxDist, UniformInt interval, Predicate<LivingEntity> canLookAtTarget) Deprecated.static BehaviorControl
<LivingEntity> SetEntityLookTargetSometimes.create
(EntityType<?> entityType, float maxDist, UniformInt interval) Deprecated.Constructors in net.minecraft.world.entity.ai.behavior with parameters of type UniformIntModifierConstructorDescriptionLongJumpMidJump
(UniformInt timeBetweenLongJumps, SoundEvent landingSound) LongJumpToPreferredBlock
(UniformInt timeBetweenLongJumps, int maxLongJumpHeight, int maxLongJumpWidth, float maxJumpVelocity, Function<E, SoundEvent> getJumpSound, TagKey<Block> preferredBlockTag, float preferredBlocksChance, BiPredicate<E, BlockPos> acceptableLandingSpot) LongJumpToRandomPos
(UniformInt timeBetweenLongJumps, int maxLongJumpHeight, int maxLongJumpWidth, float maxJumpVelocity, Function<E, SoundEvent> getJumpSound) LongJumpToRandomPos
(UniformInt timeBetweenLongJumps, int maxLongJumpHeight, int maxLongJumpWidth, float maxJumpVelocity, Function<E, SoundEvent> getJumpSound, BiPredicate<E, BlockPos> acceptableLandingSpot) Ticker
(UniformInt interval) Constructor parameters in net.minecraft.world.entity.ai.behavior with type arguments of type UniformIntModifierConstructorDescriptionRamTarget
(Function<Goat, UniformInt> getTimeBetweenRams, TargetingConditions ramTargeting, float speed, ToDoubleFunction<Goat> getKnockbackForce, Function<Goat, SoundEvent> getImpactSound, Function<Goat, SoundEvent> getHornBreakSound) -
Uses of UniformInt in net.minecraft.world.entity.ai.goal
Fields in net.minecraft.world.entity.ai.goal declared as UniformIntModifier and TypeFieldDescriptionstatic final UniformInt
RangedCrossbowAttackGoal.PATHFINDING_DELAY_RANGE
-
Uses of UniformInt in net.minecraft.world.entity.animal
Fields in net.minecraft.world.entity.animal declared as UniformIntModifier and TypeFieldDescriptionprivate static final UniformInt
private static final UniformInt
IronGolem.PERSISTENT_ANGER_TIME
private static final UniformInt
PolarBear.PERSISTENT_ANGER_TIME
private static final UniformInt
-
Uses of UniformInt in net.minecraft.world.entity.animal.armadillo
Fields in net.minecraft.world.entity.animal.armadillo declared as UniformInt -
Uses of UniformInt in net.minecraft.world.entity.animal.axolotl
Fields in net.minecraft.world.entity.animal.axolotl declared as UniformInt -
Uses of UniformInt in net.minecraft.world.entity.animal.camel
Fields in net.minecraft.world.entity.animal.camel declared as UniformInt -
Uses of UniformInt in net.minecraft.world.entity.animal.frog
Fields in net.minecraft.world.entity.animal.frog declared as UniformInt -
Uses of UniformInt in net.minecraft.world.entity.animal.goat
Fields in net.minecraft.world.entity.animal.goat declared as UniformIntModifier and TypeFieldDescriptionprivate static final UniformInt
GoatAi.ADULT_FOLLOW_RANGE
private static final UniformInt
GoatAi.TIME_BETWEEN_LONG_JUMPS
private static final UniformInt
GoatAi.TIME_BETWEEN_RAMS
private static final UniformInt
GoatAi.TIME_BETWEEN_RAMS_SCREAMER
-
Uses of UniformInt in net.minecraft.world.entity.monster
Fields in net.minecraft.world.entity.monster declared as UniformIntModifier and TypeFieldDescriptionprivate static final UniformInt
ZombifiedPiglin.ALERT_INTERVAL
private static final UniformInt
ZombifiedPiglin.FIRST_ANGER_SOUND_DELAY
private static final UniformInt
EnderMan.PERSISTENT_ANGER_TIME
private static final UniformInt
ZombifiedPiglin.PERSISTENT_ANGER_TIME
-
Uses of UniformInt in net.minecraft.world.entity.monster.hoglin
Fields in net.minecraft.world.entity.monster.hoglin declared as UniformIntModifier and TypeFieldDescriptionprivate static final UniformInt
HoglinAi.ADULT_FOLLOW_RANGE
private static final UniformInt
HoglinAi.RETREAT_DURATION
-
Uses of UniformInt in net.minecraft.world.entity.monster.piglin
Fields in net.minecraft.world.entity.monster.piglin declared as UniformIntModifier and TypeFieldDescriptionprivate static final UniformInt
PiglinAi.AVOID_ZOMBIFIED_DURATION
private static final UniformInt
PiglinAi.BABY_AVOID_NEMESIS_DURATION
private static final UniformInt
PiglinAi.RETREAT_DURATION
private static final UniformInt
PiglinAi.RIDE_DURATION
private static final UniformInt
PiglinAi.RIDE_START_INTERVAL
protected static final UniformInt
PiglinAi.TIME_BETWEEN_HUNTS
-
Uses of UniformInt in net.minecraft.world.level.levelgen.feature.trunkplacers
Fields in net.minecraft.world.level.levelgen.feature.trunkplacers declared as UniformIntModifier and TypeFieldDescriptionprivate final UniformInt
CherryTrunkPlacer.branchStartOffsetFromTop
private final UniformInt
CherryTrunkPlacer.secondBranchStartOffsetFromTop
Fields in net.minecraft.world.level.levelgen.feature.trunkplacers with type parameters of type UniformIntModifier and TypeFieldDescriptionprivate static final com.mojang.serialization.Codec
<UniformInt> CherryTrunkPlacer.BRANCH_START_CODEC
Constructors in net.minecraft.world.level.levelgen.feature.trunkplacers with parameters of type UniformIntModifierConstructorDescriptionCherryTrunkPlacer
(int baseHeight, int heightRandA, int heightRandB, IntProvider branchCount, IntProvider branchHorizontalLength, UniformInt branchStartOffsetFromTop, IntProvider branchEndOffsetFromTop)