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
MovementPredicate.fallDistance
The field for thefallDistance
record component.private final NumberRange.DoubleRange
DistancePredicate.horizontal
The field for thehorizontal
record component.private final NumberRange.DoubleRange
MovementPredicate.horizontalSpeed
The field for thehorizontalSpeed
record component.private final NumberRange.DoubleRange
MovementPredicate.speed
The field for thespeed
record component.private final NumberRange.DoubleRange
MovementPredicate.verticalSpeed
The field for theverticalSpeed
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
MovementPredicate.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
MovementPredicate.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.private final NumberRange.DoubleRange
MovementPredicate.z
The field for thez
record component.Modifier and TypeMethodDescriptionDistancePredicate.absolute()
Returns the value of theabsolute
record component.MovementPredicate.fallDistance()
Returns the value of thefallDistance
record component.DistancePredicate.horizontal()
Returns the value of thehorizontal
record component.MovementPredicate.horizontalSpeed()
Returns the value of thehorizontalSpeed
record component.MovementPredicate.speed()
Returns the value of thespeed
record component.MovementPredicate.verticalSpeed()
Returns the value of theverticalSpeed
record component.DistancePredicate.x()
Returns the value of thex
record component.LocationPredicate.PositionRange.x()
Returns the value of thex
record component.MovementPredicate.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.MovementPredicate.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.MovementPredicate.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 MovementPredicate
MovementPredicate.fallDistance
(NumberRange.DoubleRange fallDistance) static DistancePredicate
DistancePredicate.horizontal
(NumberRange.DoubleRange horizontal) static MovementPredicate
MovementPredicate.horizontalSpeed
(NumberRange.DoubleRange horizontalSpeed) static MovementPredicate
MovementPredicate.speed
(NumberRange.DoubleRange speed) static MovementPredicate
MovementPredicate.verticalSpeed
(NumberRange.DoubleRange verticalSpeed) 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.MovementPredicate
(NumberRange.DoubleRange doubleRange, NumberRange.DoubleRange doubleRange2, NumberRange.DoubleRange doubleRange3, NumberRange.DoubleRange doubleRange4, NumberRange.DoubleRange doubleRange5, NumberRange.DoubleRange doubleRange6, NumberRange.DoubleRange doubleRange7) 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)