Uses of Record Class
net.minecraft.advancements.critereon.StatePropertiesPredicate
Package
Description
-
Uses of StatePropertiesPredicate in net.minecraft.advancements.critereon
Modifier 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.Modifier 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.Modifier and TypeMethodDescriptionFluidPredicate.Builder.setProperties
(StatePropertiesPredicate p_151170_) -
Uses of StatePropertiesPredicate in net.minecraft.world.level.storage.loot.predicates
Modifier and TypeFieldDescriptionprivate Optional<StatePropertiesPredicate>
LootItemBlockStatePropertyCondition.Builder.properties
private final Optional<StatePropertiesPredicate>
LootItemBlockStatePropertyCondition.properties
The field for theproperties
record component.Modifier and TypeMethodDescriptionLootItemBlockStatePropertyCondition.properties()
Returns the value of theproperties
record component.ModifierConstructorDescriptionLootItemBlockStatePropertyCondition
(Holder<Block> block, Optional<StatePropertiesPredicate> properties) Creates an instance of aLootItemBlockStatePropertyCondition
record class.