Package net.minecraft.predicate.item
Class ItemSubPredicateTypes
java.lang.Object
net.minecraft.predicate.item.ItemSubPredicateTypes
- Mappings:
Namespace Name official cj
intermediary net/minecraft/class_9361
named net/minecraft/predicate/item/ItemSubPredicateTypes
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ItemSubPredicate.Type
<CustomDataPredicate> static final ItemSubPredicate.Type
<DamagePredicate> static final ItemSubPredicate.Type
<EnchantmentsPredicate.Enchantments> static final ItemSubPredicate.Type
<PotionContentsPredicate> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ItemSubPredicate.Type
<?> getDefault
(Registry<ItemSubPredicate.Type<?>> registry) private static <T extends ItemSubPredicate>
ItemSubPredicate.Type<T>
-
Field Details
-
DAMAGE
- Mappings:
Namespace Name Mixin selector official a
Lcj;a:Lci$a;
intermediary field_49806
Lnet/minecraft/class_9361;field_49806:Lnet/minecraft/class_9360$class_8745;
named DAMAGE
Lnet/minecraft/predicate/item/ItemSubPredicateTypes;DAMAGE:Lnet/minecraft/predicate/item/ItemSubPredicate$Type;
-
ENCHANTMENTS
- Mappings:
Namespace Name Mixin selector official b
Lcj;b:Lci$a;
intermediary field_49807
Lnet/minecraft/class_9361;field_49807:Lnet/minecraft/class_9360$class_8745;
named ENCHANTMENTS
Lnet/minecraft/predicate/item/ItemSubPredicateTypes;ENCHANTMENTS:Lnet/minecraft/predicate/item/ItemSubPredicate$Type;
-
STORED_ENCHANTMENTS
public static final ItemSubPredicate.Type<EnchantmentsPredicate.StoredEnchantments> STORED_ENCHANTMENTS- Mappings:
Namespace Name Mixin selector official c
Lcj;c:Lci$a;
intermediary field_49808
Lnet/minecraft/class_9361;field_49808:Lnet/minecraft/class_9360$class_8745;
named STORED_ENCHANTMENTS
Lnet/minecraft/predicate/item/ItemSubPredicateTypes;STORED_ENCHANTMENTS:Lnet/minecraft/predicate/item/ItemSubPredicate$Type;
-
POTION_CONTENTS
- Mappings:
Namespace Name Mixin selector official d
Lcj;d:Lci$a;
intermediary field_49809
Lnet/minecraft/class_9361;field_49809:Lnet/minecraft/class_9360$class_8745;
named POTION_CONTENTS
Lnet/minecraft/predicate/item/ItemSubPredicateTypes;POTION_CONTENTS:Lnet/minecraft/predicate/item/ItemSubPredicate$Type;
-
CUSTOM_DATA
- Mappings:
Namespace Name Mixin selector official e
Lcj;e:Lci$a;
intermediary field_49810
Lnet/minecraft/class_9361;field_49810:Lnet/minecraft/class_9360$class_8745;
named CUSTOM_DATA
Lnet/minecraft/predicate/item/ItemSubPredicateTypes;CUSTOM_DATA:Lnet/minecraft/predicate/item/ItemSubPredicate$Type;
-
-
Constructor Details
-
ItemSubPredicateTypes
public ItemSubPredicateTypes()
-
-
Method Details
-
register
private static <T extends ItemSubPredicate> ItemSubPredicate.Type<T> register(String id, com.mojang.serialization.Codec<T> codec) - Mappings:
Namespace Name Mixin selector official a
Lcj;a(Ljava/lang/String;Lcom/mojang/serialization/Codec;)Lci$a;
intermediary method_58180
Lnet/minecraft/class_9361;method_58180(Ljava/lang/String;Lcom/mojang/serialization/Codec;)Lnet/minecraft/class_9360$class_8745;
named register
Lnet/minecraft/predicate/item/ItemSubPredicateTypes;register(Ljava/lang/String;Lcom/mojang/serialization/Codec;)Lnet/minecraft/predicate/item/ItemSubPredicate$Type;
-
getDefault
- Mappings:
Namespace Name Mixin selector official a
Lcj;a(Ljj;)Lci$a;
intermediary method_58181
Lnet/minecraft/class_9361;method_58181(Lnet/minecraft/class_2378;)Lnet/minecraft/class_9360$class_8745;
named getDefault
Lnet/minecraft/predicate/item/ItemSubPredicateTypes;getDefault(Lnet/minecraft/registry/Registry;)Lnet/minecraft/predicate/item/ItemSubPredicate$Type;
-