Uses of Record Class
net.minecraft.advancements.critereon.StatePropertiesPredicate
Packages that use StatePropertiesPredicate
Package
Description
-
Uses of StatePropertiesPredicate in net.minecraft.advancements.critereon
Fields in net.minecraft.advancements.critereon with type parameters of type StatePropertiesPredicateModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<StatePropertiesPredicate> StatePropertiesPredicate.CODEC
private Optional
<StatePropertiesPredicate> BlockPredicate.Builder.properties
private final Optional
<StatePropertiesPredicate> BlockPredicate.properties
The field for theproperties
record component.private Optional
<StatePropertiesPredicate> FluidPredicate.Builder.properties
private final Optional
<StatePropertiesPredicate> FluidPredicate.properties
The field for theproperties
record component.private final Optional
<StatePropertiesPredicate> EnterBlockTrigger.TriggerInstance.state
The field for thestate
record component.private final Optional
<StatePropertiesPredicate> SlideDownBlockTrigger.TriggerInstance.state
The field for thestate
record component.static final StreamCodec
<io.netty.buffer.ByteBuf, StatePropertiesPredicate> StatePropertiesPredicate.STREAM_CODEC
Methods in net.minecraft.advancements.critereon that return types with arguments of type StatePropertiesPredicateModifier and TypeMethodDescriptionStatePropertiesPredicate.Builder.build()
BlockPredicate.properties()
Returns the value of theproperties
record component.FluidPredicate.properties()
Returns the value of theproperties
record component.EnterBlockTrigger.TriggerInstance.state()
Returns the value of thestate
record component.SlideDownBlockTrigger.TriggerInstance.state()
Returns the value of thestate
record component.Methods in net.minecraft.advancements.critereon with parameters of type StatePropertiesPredicateModifier and TypeMethodDescriptionFluidPredicate.Builder.setProperties
(StatePropertiesPredicate p_151170_) -
Uses of StatePropertiesPredicate in net.minecraft.world.level.storage.loot.predicates
Fields in net.minecraft.world.level.storage.loot.predicates with type parameters of type StatePropertiesPredicateModifier and TypeFieldDescriptionprivate Optional
<StatePropertiesPredicate> LootItemBlockStatePropertyCondition.Builder.properties
private final Optional
<StatePropertiesPredicate> LootItemBlockStatePropertyCondition.properties
The field for theproperties
record component.Methods in net.minecraft.world.level.storage.loot.predicates that return types with arguments of type StatePropertiesPredicateModifier and TypeMethodDescriptionLootItemBlockStatePropertyCondition.properties()
Returns the value of theproperties
record component.Constructor parameters in net.minecraft.world.level.storage.loot.predicates with type arguments of type StatePropertiesPredicateModifierConstructorDescriptionLootItemBlockStatePropertyCondition
(Holder<Block> block, Optional<StatePropertiesPredicate> properties) Creates an instance of aLootItemBlockStatePropertyCondition
record class.