Interface ItemAdventurePredicate.Builder
- All Superinterfaces:
- DataComponentBuilder<ItemAdventurePredicate>
- Enclosing interface:
- ItemAdventurePredicate
@Experimental
@NonExtendable
public static interface ItemAdventurePredicate.Builder
extends DataComponentBuilder<ItemAdventurePredicate>
Builder for 
ItemAdventurePredicate.- 
Method SummaryModifier and TypeMethodDescriptionaddPredicate(BlockPredicate predicate) Adds a block predicate to this builder.addPredicates(List<BlockPredicate> predicates) Adds block predicates to this builder.Methods inherited from interface io.papermc.paper.datacomponent.DataComponentBuilderbuild
- 
Method Details- 
addPredicate@Contract(value="_ -> this", mutates="this") ItemAdventurePredicate.Builder addPredicate(BlockPredicate predicate) Adds a block predicate to this builder.- Parameters:
- predicate- predicate
- Returns:
- the builder for chaining
- See Also:
 
- 
addPredicates@Contract(value="_ -> this", mutates="this") ItemAdventurePredicate.Builder addPredicates(List<BlockPredicate> predicates) Adds block predicates to this builder.- Parameters:
- predicates- predicates
- Returns:
- the builder for chaining
- See Also:
 
 
-