Uses of Record Class
net.minecraft.predicate.NumberRange.DoubleRange
Package
Description
-
Uses of NumberRange.DoubleRange in net.minecraft.advancement.criterion
Modifier and TypeFieldDescriptionprivate final NumberRange.DoubleRange
UsedEnderEyeCriterion.Conditions.distance
The field for thedistance
record component.Modifier and TypeMethodDescriptionUsedEnderEyeCriterion.Conditions.distance()
Returns the value of thedistance
record component.ModifierConstructorDescriptionConditions
(Optional<LootContextPredicate> playerPredicate, NumberRange.DoubleRange distance) -
Uses of NumberRange.DoubleRange in net.minecraft.command
Modifier and TypeFieldDescriptionprivate final NumberRange.DoubleRange
EntitySelector.distance
private NumberRange.DoubleRange
EntitySelectorReader.distance
Modifier and TypeMethodDescriptionvoid
EntitySelectorReader.setDistance
(NumberRange.DoubleRange distance) ModifierConstructorDescriptionEntitySelector
(int count, boolean includesNonPlayers, boolean localWorldOnly, Predicate<Entity> basePredicate, NumberRange.DoubleRange distance, Function<Vec3d, Vec3d> positionOffset, @Nullable Box box, BiConsumer<Vec3d, List<? extends Entity>> sorter, boolean senderOnly, @Nullable String playerName, @Nullable UUID uuid, @Nullable EntityType<?> type, boolean usesAt) -
Uses of NumberRange.DoubleRange in net.minecraft.command.argument
Modifier and TypeMethodDescriptionstatic NumberRange.DoubleRange
NumberRangeArgumentType.FloatRangeArgumentType.getRangeArgument
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) NumberRangeArgumentType.FloatRangeArgumentType.parse
(com.mojang.brigadier.StringReader stringReader) -
Uses of NumberRange.DoubleRange in net.minecraft.predicate
Modifier and TypeFieldDescriptionstatic final NumberRange.DoubleRange
NumberRange.DoubleRange.ANY
private NumberRange.DoubleRange
DamagePredicate.Builder.dealt
private final NumberRange.DoubleRange
DamagePredicate.dealt
The field for thedealt
record component.private NumberRange.DoubleRange
DamagePredicate.Builder.taken
private final NumberRange.DoubleRange
DamagePredicate.taken
The field for thetaken
record component.Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<NumberRange.DoubleRange> NumberRange.DoubleRange.CODEC
Modifier and TypeMethodDescriptionstatic NumberRange.DoubleRange
NumberRange.DoubleRange.atLeast
(double value) static NumberRange.DoubleRange
NumberRange.DoubleRange.atMost
(double value) static NumberRange.DoubleRange
NumberRange.DoubleRange.between
(double min, double max) private static NumberRange.DoubleRange
NumberRange.DoubleRange.create
(com.mojang.brigadier.StringReader reader, Optional<Double> min, Optional<Double> max) DamagePredicate.dealt()
Returns the value of thedealt
record component.static NumberRange.DoubleRange
NumberRange.DoubleRange.exactly
(double value) static NumberRange.DoubleRange
NumberRange.DoubleRange.parse
(com.mojang.brigadier.StringReader reader) static NumberRange.DoubleRange
NumberRange.DoubleRange.parse
(com.mojang.brigadier.StringReader reader, Function<Double, Double> mapper) DamagePredicate.taken()
Returns the value of thetaken
record component.Modifier and TypeMethodDescriptionDamagePredicate.Builder.dealt
(NumberRange.DoubleRange dealt) DamagePredicate.Builder.taken
(NumberRange.DoubleRange taken) ModifierConstructorDescriptionDamagePredicate
(NumberRange.DoubleRange dealt, NumberRange.DoubleRange taken, Optional<EntityPredicate> optional, Optional<Boolean> optional2, Optional<DamageSourcePredicate> optional3) -
Uses of NumberRange.DoubleRange in net.minecraft.predicate.entity
Modifier and TypeFieldDescriptionprivate final NumberRange.DoubleRange
DistancePredicate.absolute
The field for theabsolute
record component.private final NumberRange.DoubleRange
DistancePredicate.horizontal
The field for thehorizontal
record component.private final NumberRange.DoubleRange
DistancePredicate.x
The field for thex
record component.private NumberRange.DoubleRange
LocationPredicate.Builder.x
private final NumberRange.DoubleRange
LocationPredicate.PositionRange.x
The field for thex
record component.private final NumberRange.DoubleRange
DistancePredicate.y
The field for they
record component.private NumberRange.DoubleRange
LocationPredicate.Builder.y
private final NumberRange.DoubleRange
LocationPredicate.PositionRange.y
The field for they
record component.private final NumberRange.DoubleRange
DistancePredicate.z
The field for thez
record component.private NumberRange.DoubleRange
LocationPredicate.Builder.z
private final NumberRange.DoubleRange
LocationPredicate.PositionRange.z
The field for thez
record component.Modifier and TypeMethodDescriptionDistancePredicate.absolute()
Returns the value of theabsolute
record component.DistancePredicate.horizontal()
Returns the value of thehorizontal
record component.DistancePredicate.x()
Returns the value of thex
record component.LocationPredicate.PositionRange.x()
Returns the value of thex
record component.DistancePredicate.y()
Returns the value of they
record component.LocationPredicate.PositionRange.y()
Returns the value of they
record component.DistancePredicate.z()
Returns the value of thez
record component.LocationPredicate.PositionRange.z()
Returns the value of thez
record component.Modifier and TypeMethodDescriptionstatic DistancePredicate
DistancePredicate.absolute
(NumberRange.DoubleRange absolute) (package private) static Optional
<LocationPredicate.PositionRange> LocationPredicate.PositionRange.create
(NumberRange.DoubleRange x, NumberRange.DoubleRange y, NumberRange.DoubleRange z) static LocationPredicate.Builder
LocationPredicate.Builder.createY
(NumberRange.DoubleRange y) static DistancePredicate
DistancePredicate.horizontal
(NumberRange.DoubleRange horizontal) LocationPredicate.Builder.x
(NumberRange.DoubleRange x) static DistancePredicate
DistancePredicate.y
(NumberRange.DoubleRange y) LocationPredicate.Builder.y
(NumberRange.DoubleRange y) LocationPredicate.Builder.z
(NumberRange.DoubleRange z) ModifierConstructorDescriptionDistancePredicate
(NumberRange.DoubleRange x, NumberRange.DoubleRange y, NumberRange.DoubleRange z, NumberRange.DoubleRange horizontal, NumberRange.DoubleRange absolute) Creates an instance of aDistancePredicate
record class.private
PositionRange
(NumberRange.DoubleRange doubleRange, NumberRange.DoubleRange doubleRange2, NumberRange.DoubleRange doubleRange3) -
Uses of NumberRange.DoubleRange in net.minecraft.predicate.item
Modifier and TypeFieldDescriptionprivate final NumberRange.DoubleRange
AttributeModifiersPredicate.AttributeModifierPredicate.amount
The field for theamount
record component.Modifier and TypeMethodDescriptionAttributeModifiersPredicate.AttributeModifierPredicate.amount()
Returns the value of theamount
record component.ModifierConstructorDescriptionAttributeModifierPredicate
(Optional<RegistryEntryList<EntityAttribute>> optional, Optional<UUID> optional2, Optional<String> optional3, NumberRange.DoubleRange doubleRange, Optional<EntityAttributeModifier.Operation> optional4, Optional<AttributeModifierSlot> optional5)