Uses of Record Class
net.minecraft.predicate.entity.LocationPredicate
Package
Description
-
Uses of LocationPredicate in net.minecraft.advancement.criterion
Modifier and TypeFieldDescriptionprivate final Optional<LocationPredicate>
TravelCriterion.Conditions.startPos
-
Uses of LocationPredicate in net.minecraft.loot.condition
Modifier and TypeFieldDescriptionprivate final Optional<LocationPredicate>
LocationCheckLootCondition.predicate
The field for thepredicate
record component.Modifier and TypeMethodDescriptionLocationCheckLootCondition.predicate()
Returns the value of thepredicate
record component.ModifierConstructorDescriptionLocationCheckLootCondition
(Optional<LocationPredicate> optional, BlockPos offset) -
Uses of LocationPredicate in net.minecraft.predicate.entity
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<LocationPredicate>
LocationPredicate.CODEC
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.Modifier and TypeMethodDescriptionprivate static Optional<LocationPredicate>
LocationPredicate.create
(Optional<LocationPredicate.PositionRange> position, Optional<RegistryKey<Biome>> biome, Optional<RegistryKey<Structure>> structure, Optional<RegistryKey<World>> dimension, Optional<Boolean> smokey, Optional<LightPredicate> light, Optional<BlockPredicate> block, Optional<FluidPredicate> fluid) static Optional<LocationPredicate>
LocationPredicate.fromJson
(@Nullable com.google.gson.JsonElement json) EntityPredicate.location()
Returns the value of thelocation
record component.EntityPredicate.steppingOn()
Returns the value of thesteppingOn
record component.