Uses of Interface
net.minecraft.world.level.storage.loot.IntRangePredicate
Packages that use IntRangePredicate
Package
Description
-
Uses of IntRangePredicate in net.minecraft.world.level.storage.loot
Classes in net.minecraft.world.level.storage.loot that implement IntRangePredicateModifier and TypeClassDescriptionstatic final classstatic final recordFields in net.minecraft.world.level.storage.loot with type parameters of type IntRangePredicateModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<IntRangePredicate> IntRangePredicate.CODECMethods in net.minecraft.world.level.storage.loot that return IntRangePredicateModifier and TypeMethodDescriptionstatic IntRangePredicateIntRangePredicate.exact(int value) static IntRangePredicateIntRangePredicate.lowerBound(int value) static IntRangePredicateIntRangePredicate.range(int min, int max) static IntRangePredicateIntRangePredicate.upperBound(int value) -
Uses of IntRangePredicate in net.minecraft.world.level.storage.loot.predicates
Fields in net.minecraft.world.level.storage.loot.predicates declared as IntRangePredicateModifier and TypeFieldDescriptionprivate final IntRangePredicateIntValueCheck.rangeThe field for therangerecord component.private final IntRangePredicateTimeCheck.Builder.valueprivate final IntRangePredicateTimeCheck.valueThe field for thevaluerecord component.Fields in net.minecraft.world.level.storage.loot.predicates with type parameters of type IntRangePredicateModifier and TypeFieldDescriptionprivate final ImmutableMap.Builder<String, IntRangePredicate> EntityHasScoreCondition.Builder.scoresprivate final Map<String, IntRangePredicate> EntityHasScoreCondition.scoresThe field for thescoresrecord component.Methods in net.minecraft.world.level.storage.loot.predicates that return IntRangePredicateModifier and TypeMethodDescriptionIntValueCheck.range()Returns the value of therangerecord component.TimeCheck.value()Returns the value of thevaluerecord component.Methods in net.minecraft.world.level.storage.loot.predicates that return types with arguments of type IntRangePredicateModifier and TypeMethodDescriptionEntityHasScoreCondition.scores()Returns the value of thescoresrecord component.Methods in net.minecraft.world.level.storage.loot.predicates with parameters of type IntRangePredicateModifier and TypeMethodDescriptionprivate booleanEntityHasScoreCondition.hasScore(LootContext context, Entity entity, Scoreboard scoreboard, String objectiveName, IntRangePredicate range) static LootItemCondition.BuilderIntValueCheck.hasValue(Holder<ContextIntProvider> value, IntRangePredicate range) static TimeCheck.BuilderTimeCheck.time(Holder<WorldClock> clock, IntRangePredicate value) EntityHasScoreCondition.Builder.withScore(String score, IntRangePredicate bounds) Constructors in net.minecraft.world.level.storage.loot.predicates with parameters of type IntRangePredicateModifierConstructorDescriptionBuilder(Holder<WorldClock> clock, IntRangePredicate value) IntValueCheck(Holder<ContextIntProvider> value, IntRangePredicate range) Creates an instance of aIntValueCheckrecord class.TimeCheck(Holder<WorldClock> clock, Optional<Long> period, IntRangePredicate value) Creates an instance of aTimeCheckrecord class.Constructor parameters in net.minecraft.world.level.storage.loot.predicates with type arguments of type IntRangePredicateModifierConstructorDescriptionEntityHasScoreCondition(Map<String, IntRangePredicate> scores, LootContext.EntityTarget entityTarget) Creates an instance of aEntityHasScoreConditionrecord class.