Package net.minecraft.predicate.entity
Class VariantPredicates<V>
java.lang.Object
net.minecraft.predicate.entity.VariantPredicates<V>
- Mappings:
Namespace Name official bt
intermediary net/minecraft/class_7380
named net/minecraft/predicate/entity/VariantPredicates
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <V> VariantPredicates<V>
static <V> VariantPredicates<V>
createPredicate
(V variant)
-
Field Details
-
variantGetter
- Mappings:
Namespace Name Mixin selector official a
Lbt;a: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 b
Lbt;b:Lbr$a;
intermediary field_38742
Lnet/minecraft/class_7380;field_38742:Lnet/minecraft/class_7376$class_8745;
named deserializer
Lnet/minecraft/predicate/entity/VariantPredicates;deserializer:Lnet/minecraft/predicate/entity/TypeSpecificPredicate$Type;
-
-
Constructor Details
-
VariantPredicates
private VariantPredicates(com.mojang.serialization.Codec<V> codec, Function<Entity, Optional<V>> variantGetter) - Mappings:
Namespace Name Mixin selector official <init>
Lbt;<init>(Lcom/mojang/serialization/Codec;Ljava/util/function/Function;)V
intermediary <init>
Lnet/minecraft/class_7380;<init>(Lcom/mojang/serialization/Codec;Ljava/util/function/Function;)V
named <init>
Lnet/minecraft/predicate/entity/VariantPredicates;<init>(Lcom/mojang/serialization/Codec;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
Lbt;a(Lhq;Ljava/util/function/Function;)Lbt;
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/registry/Registry;Ljava/util/function/Function;)Lnet/minecraft/predicate/entity/VariantPredicates;
-
create
public static <V> VariantPredicates<V> create(com.mojang.serialization.Codec<V> codec, Function<Entity, Optional<V>> variantGetter) - Mappings:
Namespace Name Mixin selector official a
Lbt;a(Lcom/mojang/serialization/Codec;Ljava/util/function/Function;)Lbt;
intermediary method_47840
Lnet/minecraft/class_7380;method_47840(Lcom/mojang/serialization/Codec;Ljava/util/function/Function;)Lnet/minecraft/class_7380;
named create
Lnet/minecraft/predicate/entity/VariantPredicates;create(Lcom/mojang/serialization/Codec;Ljava/util/function/Function;)Lnet/minecraft/predicate/entity/VariantPredicates;
-
getDeserializer
- Mappings:
Namespace Name Mixin selector official a
Lbt;a()Lbr$a;
intermediary method_43114
Lnet/minecraft/class_7380;method_43114()Lnet/minecraft/class_7376$class_8745;
named getDeserializer
Lnet/minecraft/predicate/entity/VariantPredicates;getDeserializer()Lnet/minecraft/predicate/entity/TypeSpecificPredicate$Type;
-
createPredicate
- Mappings:
Namespace Name Mixin selector official a
Lbt;a(Ljava/lang/Object;)Lbt$a;
intermediary method_43117
Lnet/minecraft/class_7380;method_43117(Ljava/lang/Object;)Lnet/minecraft/class_7380$class_8746;
named createPredicate
Lnet/minecraft/predicate/entity/VariantPredicates;createPredicate(Ljava/lang/Object;)Lnet/minecraft/predicate/entity/VariantPredicates$Predicate;
-