Package net.minecraft.predicate.item
Interface ItemSubPredicate
- All Known Subinterfaces:
ComponentSubPredicate<T>
- All Known Implementing Classes:
AttributeModifiersPredicate
,BundleContentsPredicate
,ContainerPredicate
,CustomDataPredicate
,DamagePredicate
,EnchantmentsPredicate
,EnchantmentsPredicate.Enchantments
,EnchantmentsPredicate.StoredEnchantments
,FireworkExplosionPredicate
,FireworksPredicate
,PotionContentsPredicate
,TrimPredicate
,WritableBookContentPredicate
,WrittenBookContentPredicate
public interface ItemSubPredicate
- Mappings:
Namespace Name named net/minecraft/predicate/item/ItemSubPredicate
intermediary net/minecraft/class_9360
official cq
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final record
ItemSubPredicate.Type<T extends ItemSubPredicate>
-
Field Summary
Modifier 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 named PREDICATES_MAP_CODEC
Lnet/minecraft/predicate/item/ItemSubPredicate;PREDICATES_MAP_CODEC:Lcom/mojang/serialization/Codec;
intermediary field_49805
Lnet/minecraft/class_9360;field_49805:Lcom/mojang/serialization/Codec;
official b
Lcq;b:Lcom/mojang/serialization/Codec;
-
-
Method Details
-
test
- Mappings:
Namespace Name Mixin selector named test
Lnet/minecraft/predicate/item/ItemSubPredicate;test(Lnet/minecraft/item/ItemStack;)Z
intermediary method_58161
Lnet/minecraft/class_9360;method_58161(Lnet/minecraft/class_1799;)Z
official a
Lcq;a(Lcud;)Z
-