Package net.minecraft.predicate.entity
Class VariantPredicates<V>
java.lang.Object
net.minecraft.predicate.entity.VariantPredicates<V>
- Mappings:
Namespace Name official br
intermediary net/minecraft/class_7380
named net/minecraft/predicate/entity/VariantPredicates
-
Field Summary
Modifier and TypeFieldDescription(package private) final TypeSpecificPredicate.Deserializer
private static final String
-
Constructor Summary
-
Method Summary
-
Field Details
-
VARIANT_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lbr;a:Ljava/lang/String;
intermediary field_38739
Lnet/minecraft/class_7380;field_38739:Ljava/lang/String;
named VARIANT_KEY
Lnet/minecraft/predicate/entity/VariantPredicates;VARIANT_KEY:Ljava/lang/String;
-
registry
- Mappings:
Namespace Name Mixin selector official b
Lbr;b:Lhm;
intermediary field_38740
Lnet/minecraft/class_7380;field_38740:Lnet/minecraft/class_2378;
named registry
Lnet/minecraft/predicate/entity/VariantPredicates;registry:Lnet/minecraft/util/registry/Registry;
-
variantGetter
- Mappings:
Namespace Name Mixin selector official c
Lbr;c:Ljava/util/function/Function;
intermediary field_38741
Lnet/minecraft/class_7380;field_38741:Ljava/util/function/Function;
named variantGetter
Lnet/minecraft/predicate/entity/VariantPredicates;variantGetter:Ljava/util/function/Function;
-
deserializer
- Mappings:
Namespace Name Mixin selector official d
Lbr;d:Lbp$a;
intermediary field_38742
Lnet/minecraft/class_7380;field_38742:Lnet/minecraft/class_7376$class_7377;
named deserializer
Lnet/minecraft/predicate/entity/VariantPredicates;deserializer:Lnet/minecraft/predicate/entity/TypeSpecificPredicate$Deserializer;
-
-
Constructor Details
-
VariantPredicates
- Mappings:
Namespace Name Mixin selector official <init>
Lbr;<init>(Lhm;Ljava/util/function/Function;)V
intermediary <init>
Lnet/minecraft/class_7380;<init>(Lnet/minecraft/class_2378;Ljava/util/function/Function;)V
named <init>
Lnet/minecraft/predicate/entity/VariantPredicates;<init>(Lnet/minecraft/util/registry/Registry;Ljava/util/function/Function;)V
-
-
Method Details
-
create
public static <V> VariantPredicates<V> create(Registry<V> registry, Function<Entity, Optional<V>> variantGetter) - Mappings:
Namespace Name Mixin selector official a
Lbr;a(Lhm;Ljava/util/function/Function;)Lbr;
intermediary method_43116
Lnet/minecraft/class_7380;method_43116(Lnet/minecraft/class_2378;Ljava/util/function/Function;)Lnet/minecraft/class_7380;
named create
Lnet/minecraft/predicate/entity/VariantPredicates;create(Lnet/minecraft/util/registry/Registry;Ljava/util/function/Function;)Lnet/minecraft/predicate/entity/VariantPredicates;
-
getDeserializer
- Mappings:
Namespace Name Mixin selector official a
Lbr;a()Lbp$a;
intermediary method_43114
Lnet/minecraft/class_7380;method_43114()Lnet/minecraft/class_7376$class_7377;
named getDeserializer
Lnet/minecraft/predicate/entity/VariantPredicates;getDeserializer()Lnet/minecraft/predicate/entity/TypeSpecificPredicate$Deserializer;
-
createPredicate
- Mappings:
Namespace Name Mixin selector official a
Lbr;a(Ljava/lang/Object;)Lbp;
intermediary method_43117
Lnet/minecraft/class_7380;method_43117(Ljava/lang/Object;)Lnet/minecraft/class_7376;
named createPredicate
Lnet/minecraft/predicate/entity/VariantPredicates;createPredicate(Ljava/lang/Object;)Lnet/minecraft/predicate/entity/TypeSpecificPredicate;
-