Uses of Record Class
net.minecraft.predicate.StatePredicate
Package
Description
-
Uses of StatePredicate in net.minecraft.advancement.criterion
Modifier and TypeFieldDescriptionprivate final Optional<StatePredicate>
EnterBlockCriterion.Conditions.state
private final Optional<StatePredicate>
SlideDownBlockCriterion.Conditions.state
-
Uses of StatePredicate in net.minecraft.loot.condition
Modifier and TypeFieldDescriptionprivate final Optional<StatePredicate>
BlockStatePropertyLootCondition.properties
The field for theproperties
record component.private Optional<StatePredicate>
BlockStatePropertyLootCondition.Builder.propertyValues
Modifier and TypeMethodDescriptionBlockStatePropertyLootCondition.properties()
Returns the value of theproperties
record component.ModifierConstructorDescriptionBlockStatePropertyLootCondition
(RegistryEntry<Block> registryEntry, Optional<StatePredicate> optional) -
Uses of StatePredicate in net.minecraft.predicate
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<StatePredicate>
StatePredicate.CODEC
private Optional<StatePredicate>
BlockPredicate.Builder.state
private final Optional<StatePredicate>
BlockPredicate.state
The field for thestate
record component.private Optional<StatePredicate>
FluidPredicate.Builder.state
private final Optional<StatePredicate>
FluidPredicate.state
The field for thestate
record component.Modifier and TypeMethodDescriptionStatePredicate.Builder.build()
static Optional<StatePredicate>
StatePredicate.fromJson
(@Nullable JsonElement json) BlockPredicate.state()
Returns the value of thestate
record component.FluidPredicate.state()
Returns the value of thestate
record component.