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.stateThe field for thestaterecord component.private final Optional<StatePredicate>SlideDownBlockCriterion.Conditions.stateThe field for thestaterecord 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.propertiesThe field for thepropertiesrecord component.private Optional<StatePredicate>BlockStatePropertyLootCondition.Builder.propertyValuesMethods in net.minecraft.loot.condition that return types with arguments of type StatePredicateModifier and TypeMethodDescriptionBlockStatePropertyLootCondition.properties()Returns the value of thepropertiesrecord 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.CODECprivate Optional<StatePredicate>BlockPredicate.Builder.stateprivate final Optional<StatePredicate>BlockPredicate.stateThe field for thestaterecord component.private Optional<StatePredicate>FluidPredicate.Builder.stateprivate final Optional<StatePredicate>FluidPredicate.stateThe field for thestaterecord component.Methods in net.minecraft.predicate that return types with arguments of type StatePredicateModifier and TypeMethodDescriptionStatePredicate.Builder.build()BlockPredicate.state()Returns the value of thestaterecord component.FluidPredicate.state()Returns the value of thestaterecord component.Methods in net.minecraft.predicate with parameters of type StatePredicate