Package net.minecraft.predicate.item
Interface ComponentSubPredicate<T>
- All Superinterfaces:
ItemSubPredicate
- All Known Implementing Classes:
AttributeModifiersPredicate,BundleContentsPredicate,ContainerPredicate,DamagePredicate,EnchantmentsPredicate,EnchantmentsPredicate.Enchantments,EnchantmentsPredicate.StoredEnchantments,FireworkExplosionPredicate,FireworksPredicate,JukeboxPlayablePredicate,PotionContentsPredicate,TrimPredicate,WritableBookContentPredicate,WrittenBookContentPredicate
- Mappings:
Namespace Name named net/minecraft/predicate/item/ComponentSubPredicateintermediary net/minecraft/class_9365official dw
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.predicate.item.ItemSubPredicate
ItemSubPredicate.Type<T extends ItemSubPredicate> -
Field Summary
Fields inherited from interface net.minecraft.predicate.item.ItemSubPredicate
PREDICATES_MAP_CODEC -
Method Summary
Modifier and TypeMethodDescriptiondefault booleanboolean
-
Method Details
-
test
- Specified by:
testin interfaceItemSubPredicate- Mappings:
Namespace Name Mixin selector named testLnet/minecraft/predicate/item/ItemSubPredicate;test(Lnet/minecraft/item/ItemStack;)Zintermediary method_58161Lnet/minecraft/class_9360;method_58161(Lnet/minecraft/class_1799;)Zofficial aLct;a(Lcuq;)Z
-
getComponentType
ComponentType<T> getComponentType()- Mappings:
Namespace Name Mixin selector named getComponentTypeLnet/minecraft/predicate/item/ComponentSubPredicate;getComponentType()Lnet/minecraft/component/ComponentType;intermediary method_58163Lnet/minecraft/class_9365;method_58163()Lnet/minecraft/class_9331;official aLdw;a()Lkp;
-
test
- Mappings:
Namespace Name Mixin selector named testLnet/minecraft/predicate/item/ComponentSubPredicate;test(Lnet/minecraft/item/ItemStack;Ljava/lang/Object;)Zintermediary method_58167Lnet/minecraft/class_9365;method_58167(Lnet/minecraft/class_1799;Ljava/lang/Object;)Zofficial aLdw;a(Lcuq;Ljava/lang/Object;)Z
-