Uses of Class
net.minecraft.loot.operator.BoundedIntUnaryOperator
Package
Description
-
Uses of BoundedIntUnaryOperator in net.minecraft.loot.condition
Modifier and TypeFieldDescriptionprivate final BoundedIntUnaryOperator
ValueCheckLootCondition.range
The field for therange
record component.private final BoundedIntUnaryOperator
TimeCheckLootCondition.Builder.value
private final BoundedIntUnaryOperator
TimeCheckLootCondition.value
The field for thevalue
record component.Modifier and TypeFieldDescriptionprivate final ImmutableMap.Builder<String,
BoundedIntUnaryOperator> EntityScoresLootCondition.Builder.scores
private final Map<String,
BoundedIntUnaryOperator> EntityScoresLootCondition.scores
The field for thescores
record component.Modifier and TypeMethodDescriptionValueCheckLootCondition.range()
Returns the value of therange
record component.TimeCheckLootCondition.value()
Returns the value of thevalue
record component.Modifier and TypeMethodDescriptionEntityScoresLootCondition.scores()
Returns the value of thescores
record component.Modifier and TypeMethodDescriptionstatic LootCondition.Builder
ValueCheckLootCondition.builder
(LootNumberProvider value, BoundedIntUnaryOperator range) TimeCheckLootCondition.create
(BoundedIntUnaryOperator value) protected boolean
EntityScoresLootCondition.entityScoreIsInRange
(LootContext context, Entity entity, Scoreboard scoreboard, String objectiveName, BoundedIntUnaryOperator range) EntityScoresLootCondition.Builder.score
(String name, BoundedIntUnaryOperator value) ModifierConstructorDescriptionBuilder
(BoundedIntUnaryOperator value) TimeCheckLootCondition
(Optional<Long> optional, BoundedIntUnaryOperator value) ValueCheckLootCondition
(LootNumberProvider value, BoundedIntUnaryOperator range) Creates an instance of aValueCheckLootCondition
record class.ModifierConstructorDescriptionEntityScoresLootCondition
(Map<String, BoundedIntUnaryOperator> scores, LootContext.EntityTarget target) -
Uses of BoundedIntUnaryOperator in net.minecraft.loot.function
Modifier and TypeFieldDescriptionprivate final BoundedIntUnaryOperator
LimitCountLootFunction.limit
Modifier and TypeMethodDescriptionstatic ConditionalLootFunction.Builder<?>
LimitCountLootFunction.builder
(BoundedIntUnaryOperator limit) ModifierConstructorDescriptionprivate
LimitCountLootFunction
(List<LootCondition> conditions, BoundedIntUnaryOperator limit) -
Uses of BoundedIntUnaryOperator in net.minecraft.loot.operator
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<BoundedIntUnaryOperator>
BoundedIntUnaryOperator.CODEC
private static final com.mojang.serialization.Codec<BoundedIntUnaryOperator>
BoundedIntUnaryOperator.OPERATOR_CODEC
Modifier and TypeMethodDescriptionstatic BoundedIntUnaryOperator
BoundedIntUnaryOperator.create
(int value) static BoundedIntUnaryOperator
BoundedIntUnaryOperator.create
(int min, int max) static BoundedIntUnaryOperator
BoundedIntUnaryOperator.createMax
(int max) static BoundedIntUnaryOperator
BoundedIntUnaryOperator.createMin
(int min)