Uses of Record Class
net.minecraft.predicate.entity.LocationPredicate
Packages that use LocationPredicate
Package
Description
-
Uses of LocationPredicate in net.minecraft.advancement.criterion
Fields in net.minecraft.advancement.criterion with type parameters of type LocationPredicateModifier and TypeFieldDescriptionprivate final Optional<LocationPredicate>
TravelCriterion.Conditions.startPos
-
Uses of LocationPredicate in net.minecraft.loot.condition
Fields in net.minecraft.loot.condition with type parameters of type LocationPredicateModifier and TypeFieldDescriptionprivate final Optional<LocationPredicate>
LocationCheckLootCondition.predicate
The field for thepredicate
record component.Methods in net.minecraft.loot.condition that return types with arguments of type LocationPredicateModifier and TypeMethodDescriptionLocationCheckLootCondition.predicate()
Returns the value of thepredicate
record component.Constructor parameters in net.minecraft.loot.condition with type arguments of type LocationPredicateModifierConstructorDescriptionLocationCheckLootCondition
(Optional<LocationPredicate> optional, BlockPos offset) -
Uses of LocationPredicate in net.minecraft.predicate.entity
Fields in net.minecraft.predicate.entity with type parameters of type LocationPredicateModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<LocationPredicate>
LocationPredicate.field_45760
private Optional<LocationPredicate>
EntityPredicate.Builder.location
private final Optional<LocationPredicate>
EntityPredicate.location
The field for thelocation
record component.private Optional<LocationPredicate>
EntityPredicate.Builder.steppingOn
private final Optional<LocationPredicate>
EntityPredicate.steppingOn
The field for thesteppingOn
record component.Methods in net.minecraft.predicate.entity that return types with arguments of type LocationPredicateModifier and TypeMethodDescriptionLocationPredicate.Builder.build()
static Optional<LocationPredicate>
LocationPredicate.fromJson
(@Nullable JsonElement json) EntityPredicate.location()
Returns the value of thelocation
record component.(package private) static Optional<LocationPredicate>
LocationPredicate.method_53179
(Optional<LocationPredicate.class_8747> optional, Optional<RegistryKey<Biome>> optional2, Optional<RegistryKey<Structure>> optional3, Optional<RegistryKey<World>> optional4, Optional<Boolean> optional5, Optional<LightPredicate> optional6, Optional<BlockPredicate> optional7, Optional<FluidPredicate> optional8) EntityPredicate.steppingOn()
Returns the value of thesteppingOn
record component.