Package net.minecraft.predicate.item
Interface ItemSubPredicate
- All Known Subinterfaces:
ComponentSubPredicate<T>
- All Known Implementing Classes:
CustomDataPredicate
,DamagePredicate
,EnchantmentsPredicate
,EnchantmentsPredicate.Enchantments
,EnchantmentsPredicate.StoredEnchantments
,PotionContentsPredicate
public interface ItemSubPredicate
- Mappings:
Namespace Name official ci
intermediary net/minecraft/class_9360
named net/minecraft/predicate/item/ItemSubPredicate
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final record
ItemSubPredicate.Type<T extends ItemSubPredicate>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<Map<ItemSubPredicate.Type<?>, ItemSubPredicate>> -
Method Summary
-
Field Details
-
PREDICATES_MAP_CODEC
static final com.mojang.serialization.Codec<Map<ItemSubPredicate.Type<?>,ItemSubPredicate>> PREDICATES_MAP_CODEC- Mappings:
Namespace Name Mixin selector official b
Lci;b:Lcom/mojang/serialization/Codec;
intermediary field_49805
Lnet/minecraft/class_9360;field_49805:Lcom/mojang/serialization/Codec;
named PREDICATES_MAP_CODEC
Lnet/minecraft/predicate/item/ItemSubPredicate;PREDICATES_MAP_CODEC:Lcom/mojang/serialization/Codec;
-
-
Method Details
-
test
- Mappings:
Namespace Name Mixin selector official a
Lci;a(Lcsz;)Z
intermediary method_58161
Lnet/minecraft/class_9360;method_58161(Lnet/minecraft/class_1799;)Z
named test
Lnet/minecraft/predicate/item/ItemSubPredicate;test(Lnet/minecraft/item/ItemStack;)Z
-