Package net.minecraft.predicate.entity
Class EntitySubPredicateTypes.VariantType<V>
java.lang.Object
net.minecraft.predicate.entity.EntitySubPredicateTypes.VariantType<V>
- Enclosing class:
EntitySubPredicateTypes
- Mappings:
Namespace Name named net/minecraft/predicate/entity/EntitySubPredicateTypes$VariantType
intermediary net/minecraft/class_7378$class_7380
official by$b
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate class
-
Field Summary
Modifier and TypeFieldDescription(package private) final com.mojang.serialization.MapCodec
<EntitySubPredicateTypes.VariantType<V>.VariantPredicate> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <V> EntitySubPredicateTypes.VariantType
<V> static <V> EntitySubPredicateTypes.VariantType
<V> createPredicate
(V variant)
-
Field Details
-
codec
final com.mojang.serialization.MapCodec<EntitySubPredicateTypes.VariantType<V>.VariantPredicate> codec- Mappings:
Namespace Name Mixin selector named codec
Lnet/minecraft/predicate/entity/EntitySubPredicateTypes$VariantType;codec:Lcom/mojang/serialization/MapCodec;
intermediary field_49794
Lnet/minecraft/class_7378$class_7380;field_49794:Lcom/mojang/serialization/MapCodec;
official a
Lby$b;a:Lcom/mojang/serialization/MapCodec;
-
variantGetter
- Mappings:
Namespace Name Mixin selector named variantGetter
Lnet/minecraft/predicate/entity/EntitySubPredicateTypes$VariantType;variantGetter:Ljava/util/function/Function;
intermediary field_38741
Lnet/minecraft/class_7378$class_7380;field_38741:Ljava/util/function/Function;
official b
Lby$b;b:Ljava/util/function/Function;
-
-
Constructor Details
-
VariantType
public VariantType(com.mojang.serialization.Codec<V> variantCodec, Function<Entity, Optional<V>> variantGetter) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/predicate/entity/EntitySubPredicateTypes$VariantType;<init>(Lcom/mojang/serialization/Codec;Ljava/util/function/Function;)V
intermediary <init>
Lnet/minecraft/class_7378$class_7380;<init>(Lcom/mojang/serialization/Codec;Ljava/util/function/Function;)V
official <init>
Lby$b;<init>(Lcom/mojang/serialization/Codec;Ljava/util/function/Function;)V
-
-
Method Details
-
create
public static <V> EntitySubPredicateTypes.VariantType<V> create(Registry<V> registry, Function<Entity, Optional<V>> variantGetter) - Mappings:
Namespace Name Mixin selector named create
Lnet/minecraft/predicate/entity/EntitySubPredicateTypes$VariantType;create(Lnet/minecraft/registry/Registry;Ljava/util/function/Function;)Lnet/minecraft/predicate/entity/EntitySubPredicateTypes$VariantType;
intermediary method_43116
Lnet/minecraft/class_7378$class_7380;method_43116(Lnet/minecraft/class_2378;Ljava/util/function/Function;)Lnet/minecraft/class_7378$class_7380;
official a
Lby$b;a(Lkd;Ljava/util/function/Function;)Lby$b;
-
create
public static <V> EntitySubPredicateTypes.VariantType<V> create(com.mojang.serialization.Codec<V> codec, Function<Entity, Optional<V>> variantGetter) - Mappings:
Namespace Name Mixin selector named create
Lnet/minecraft/predicate/entity/EntitySubPredicateTypes$VariantType;create(Lcom/mojang/serialization/Codec;Ljava/util/function/Function;)Lnet/minecraft/predicate/entity/EntitySubPredicateTypes$VariantType;
intermediary method_47840
Lnet/minecraft/class_7378$class_7380;method_47840(Lcom/mojang/serialization/Codec;Ljava/util/function/Function;)Lnet/minecraft/class_7378$class_7380;
official a
Lby$b;a(Lcom/mojang/serialization/Codec;Ljava/util/function/Function;)Lby$b;
-
createPredicate
- Mappings:
Namespace Name Mixin selector named createPredicate
Lnet/minecraft/predicate/entity/EntitySubPredicateTypes$VariantType;createPredicate(Ljava/lang/Object;)Lnet/minecraft/predicate/entity/EntitySubPredicate;
intermediary method_43117
Lnet/minecraft/class_7378$class_7380;method_43117(Ljava/lang/Object;)Lnet/minecraft/class_7376;
official a
Lby$b;a(Ljava/lang/Object;)Lbx;
-