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.private final MinMaxBounds.Doubles
ItemAttributeModifiersPredicate.EntryPredicate.amount
The field for theamount
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
MovementPredicate.fallDistance
The field for thefallDistance
record component.private final MinMaxBounds.Doubles
DistancePredicate.horizontal
The field for thehorizontal
record component.private final MinMaxBounds.Doubles
MovementPredicate.horizontalSpeed
The field for thehorizontalSpeed
record component.private final MinMaxBounds.Doubles
MovementPredicate.speed
The field for thespeed
record component.private MinMaxBounds.Doubles
DamagePredicate.Builder.takenDamage
private final MinMaxBounds.Doubles
DamagePredicate.takenDamage
The field for thetakenDamage
record component.private final MinMaxBounds.Doubles
MovementPredicate.verticalSpeed
The field for theverticalSpeed
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
MovementPredicate.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
MovementPredicate.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.private final MinMaxBounds.Doubles
MovementPredicate.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.ItemAttributeModifiersPredicate.EntryPredicate.amount()
Returns the value of theamount
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_) MovementPredicate.fallDistance()
Returns the value of thefallDistance
record component.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.MovementPredicate.horizontalSpeed()
Returns the value of thehorizontalSpeed
record component.MovementPredicate.speed()
Returns the value of thespeed
record component.DamagePredicate.takenDamage()
Returns the value of thetakenDamage
record component.MovementPredicate.verticalSpeed()
Returns the value of theverticalSpeed
record component.DistancePredicate.x()
Returns the value of thex
record component.LocationPredicate.PositionPredicate.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.PositionPredicate.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.PositionPredicate.z()
Returns the value of thez
record component.MovementPredicate.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 MovementPredicate
MovementPredicate.fallDistance
(MinMaxBounds.Doubles p_344924_) static DistancePredicate
DistancePredicate.horizontal
(MinMaxBounds.Doubles p_148837_) static MovementPredicate
MovementPredicate.horizontalSpeed
(MinMaxBounds.Doubles p_345197_) (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_) static MovementPredicate
MovementPredicate.speed
(MinMaxBounds.Doubles p_345901_) DamagePredicate.Builder.takenDamage
(MinMaxBounds.Doubles p_148148_) static DistancePredicate
DistancePredicate.vertical
(MinMaxBounds.Doubles p_148839_) static MovementPredicate
MovementPredicate.verticalSpeed
(MinMaxBounds.Doubles p_345809_) 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.EntryPredicate
(Optional<HolderSet<Attribute>> attribute, Optional<ResourceLocation> id, MinMaxBounds.Doubles amount, Optional<AttributeModifier.Operation> operation, Optional<EquipmentSlotGroup> slot) Creates an instance of aEntryPredicate
record class.MovementPredicate
(MinMaxBounds.Doubles x, MinMaxBounds.Doubles y, MinMaxBounds.Doubles z, MinMaxBounds.Doubles speed, MinMaxBounds.Doubles horizontalSpeed, MinMaxBounds.Doubles verticalSpeed, MinMaxBounds.Doubles fallDistance) Creates an instance of aMovementPredicate
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_, List<Predicate<Entity>> p_352913_, 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_)