Interface SingleComponentItemPredicate<T>
- All Superinterfaces:
DataComponentPredicate
- All Known Implementing Classes:
AttributeModifiersPredicate
,BundlePredicate
,ContainerPredicate
,EnchantmentsPredicate
,EnchantmentsPredicate.Enchantments
,EnchantmentsPredicate.StoredEnchantments
,FireworkExplosionPredicate
,FireworksPredicate
,JukeboxPlayablePredicate
,PotionsPredicate
,TrimPredicate
,WritableBookPredicate
,WrittenBookPredicate
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.core.component.predicates.DataComponentPredicate
DataComponentPredicate.Single<T extends DataComponentPredicate>, DataComponentPredicate.Type<T extends DataComponentPredicate>
-
Field Summary
Fields inherited from interface net.minecraft.core.component.predicates.DataComponentPredicate
CODEC, SINGLE_STREAM_CODEC, STREAM_CODEC
-
Method Summary
Modifier and TypeMethodDescriptiondefault boolean
matches
(DataComponentGetter pComponentGetter) boolean
-
Method Details
-
matches
- Specified by:
matches
in interfaceDataComponentPredicate
-
componentType
DataComponentType<T> componentType() -
matches
-