Uses of Record Class
net.minecraft.advancements.critereon.MinMaxBounds.Doubles
Package
Description
-
Uses of MinMaxBounds.Doubles in net.minecraft.advancements.critereon
Modifier and TypeFieldDescriptionprivate final MinMaxBounds.Doubles
DistancePredicate.absolute
The field for theabsolute
record component.static final MinMaxBounds.Doubles
MinMaxBounds.Doubles.ANY
private MinMaxBounds.Doubles
DamagePredicate.Builder.dealtDamage
private final MinMaxBounds.Doubles
DamagePredicate.dealtDamage
The field for thedealtDamage
record component.private final MinMaxBounds.Doubles
UsedEnderEyeTrigger.TriggerInstance.distance
The field for thedistance
record component.private final MinMaxBounds.Doubles
DistancePredicate.horizontal
The field for thehorizontal
record component.private MinMaxBounds.Doubles
DamagePredicate.Builder.takenDamage
private final MinMaxBounds.Doubles
DamagePredicate.takenDamage
The field for thetakenDamage
record component.private final MinMaxBounds.Doubles
DistancePredicate.x
The field for thex
record component.private MinMaxBounds.Doubles
LocationPredicate.Builder.x
private final MinMaxBounds.Doubles
LocationPredicate.PositionPredicate.x
The field for thex
record component.private final MinMaxBounds.Doubles
DistancePredicate.y
The field for they
record component.private MinMaxBounds.Doubles
LocationPredicate.Builder.y
private final MinMaxBounds.Doubles
LocationPredicate.PositionPredicate.y
The field for they
record component.private final MinMaxBounds.Doubles
DistancePredicate.z
The field for thez
record component.private MinMaxBounds.Doubles
LocationPredicate.Builder.z
private final MinMaxBounds.Doubles
LocationPredicate.PositionPredicate.z
The field for thez
record component.Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<MinMaxBounds.Doubles>
MinMaxBounds.Doubles.CODEC
Modifier and TypeMethodDescriptionDistancePredicate.absolute()
Returns the value of theabsolute
record component.static MinMaxBounds.Doubles
MinMaxBounds.Doubles.atLeast
(double p_154805_) static MinMaxBounds.Doubles
MinMaxBounds.Doubles.atMost
(double p_154809_) static MinMaxBounds.Doubles
MinMaxBounds.Doubles.between
(double p_154789_, double p_154790_) private static MinMaxBounds.Doubles
MinMaxBounds.Doubles.create
(com.mojang.brigadier.StringReader p_154796_, Optional<Double> p_298478_, Optional<Double> p_298476_) DamagePredicate.dealtDamage()
Returns the value of thedealtDamage
record component.UsedEnderEyeTrigger.TriggerInstance.distance()
Returns the value of thedistance
record component.static MinMaxBounds.Doubles
MinMaxBounds.Doubles.exactly
(double p_154787_) static MinMaxBounds.Doubles
MinMaxBounds.Doubles.fromReader
(com.mojang.brigadier.StringReader p_154794_) static MinMaxBounds.Doubles
MinMaxBounds.Doubles.fromReader
(com.mojang.brigadier.StringReader p_154800_, Function<Double, Double> p_154801_) DistancePredicate.horizontal()
Returns the value of thehorizontal
record component.DamagePredicate.takenDamage()
Returns the value of thetakenDamage
record component.DistancePredicate.x()
Returns the value of thex
record component.LocationPredicate.PositionPredicate.x()
Returns the value of thex
record component.DistancePredicate.y()
Returns the value of they
record component.LocationPredicate.PositionPredicate.y()
Returns the value of they
record component.DistancePredicate.z()
Returns the value of thez
record component.LocationPredicate.PositionPredicate.z()
Returns the value of thez
record component.Modifier and TypeMethodDescriptionstatic DistancePredicate
DistancePredicate.absolute
(MinMaxBounds.Doubles p_148841_) static LocationPredicate.Builder
LocationPredicate.Builder.atYLocation
(MinMaxBounds.Doubles p_298783_) DamagePredicate.Builder.dealtDamage
(MinMaxBounds.Doubles p_148146_) static DistancePredicate
DistancePredicate.horizontal
(MinMaxBounds.Doubles p_148837_) (package private) static Optional<LocationPredicate.PositionPredicate>
LocationPredicate.PositionPredicate.of
(MinMaxBounds.Doubles p_298771_, MinMaxBounds.Doubles p_298418_, MinMaxBounds.Doubles p_299133_) LocationPredicate.Builder.setX
(MinMaxBounds.Doubles p_153971_) LocationPredicate.Builder.setY
(MinMaxBounds.Doubles p_153975_) LocationPredicate.Builder.setZ
(MinMaxBounds.Doubles p_153979_) DamagePredicate.Builder.takenDamage
(MinMaxBounds.Doubles p_148148_) static DistancePredicate
DistancePredicate.vertical
(MinMaxBounds.Doubles p_148839_) ModifierConstructorDescriptionDamagePredicate
(MinMaxBounds.Doubles dealtDamage, MinMaxBounds.Doubles takenDamage, Optional<EntityPredicate> sourceEntity, Optional<Boolean> blocked, Optional<DamageSourcePredicate> type) Creates an instance of aDamagePredicate
record class.DistancePredicate
(MinMaxBounds.Doubles x, MinMaxBounds.Doubles y, MinMaxBounds.Doubles z, MinMaxBounds.Doubles horizontal, MinMaxBounds.Doubles absolute) Creates an instance of aDistancePredicate
record class.(package private)
Creates an instance of aPositionPredicate
record class.TriggerInstance
(Optional<ContextAwarePredicate> player, MinMaxBounds.Doubles distance) Creates an instance of aTriggerInstance
record class. -
Uses of MinMaxBounds.Doubles in net.minecraft.commands.arguments
Modifier and TypeMethodDescriptionstatic MinMaxBounds.Doubles
RangeArgument.Floats.getRange
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_170805_, String p_170806_) RangeArgument.Floats.parse
(com.mojang.brigadier.StringReader p_170803_) -
Uses of MinMaxBounds.Doubles in net.minecraft.commands.arguments.selector
Modifier and TypeFieldDescriptionprivate MinMaxBounds.Doubles
EntitySelectorParser.distance
private final MinMaxBounds.Doubles
EntitySelector.range
Modifier and TypeMethodDescriptionvoid
EntitySelectorParser.setDistance
(MinMaxBounds.Doubles p_175128_) ModifierConstructorDescriptionEntitySelector
(int p_121125_, boolean p_121126_, boolean p_121127_, Predicate<Entity> p_121128_, MinMaxBounds.Doubles p_121129_, Function<Vec3, Vec3> p_121130_, AABB p_121131_, BiConsumer<Vec3, List<? extends Entity>> p_121132_, boolean p_121133_, String p_121134_, UUID p_121135_, EntityType<?> p_121136_, boolean p_121137_)