Uses of Record Class
net.minecraft.predicate.StatePredicate
Packages that use StatePredicate
Package
Description
-
Uses of StatePredicate in net.minecraft.advancement.criterion
Fields in net.minecraft.advancement.criterion with type parameters of type StatePredicateModifier and TypeFieldDescriptionprivate final Optional<StatePredicate>
EnterBlockCriterion.Conditions.state
The field for thestate
record component.private final Optional<StatePredicate>
SlideDownBlockCriterion.Conditions.state
The field for thestate
record component.Methods in net.minecraft.advancement.criterion that return types with arguments of type StatePredicate -
Uses of StatePredicate in net.minecraft.loot.condition
Fields in net.minecraft.loot.condition with type parameters of type StatePredicateModifier and TypeFieldDescriptionprivate final Optional<StatePredicate>
BlockStatePropertyLootCondition.properties
The field for theproperties
record component.private Optional<StatePredicate>
BlockStatePropertyLootCondition.Builder.propertyValues
Methods in net.minecraft.loot.condition that return types with arguments of type StatePredicateModifier and TypeMethodDescriptionBlockStatePropertyLootCondition.properties()
Returns the value of theproperties
record component.Constructor parameters in net.minecraft.loot.condition with type arguments of type StatePredicateModifierConstructorDescriptionBlockStatePropertyLootCondition
(RegistryEntry<Block> registryEntry, Optional<StatePredicate> optional) -
Uses of StatePredicate in net.minecraft.predicate
Fields in net.minecraft.predicate with type parameters of type StatePredicateModifier 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.Methods in net.minecraft.predicate that return types with arguments of type StatePredicateModifier and TypeMethodDescriptionStatePredicate.Builder.build()
BlockPredicate.state()
Returns the value of thestate
record component.FluidPredicate.state()
Returns the value of thestate
record component.Methods in net.minecraft.predicate with parameters of type StatePredicate