Package net.minecraft.predicate.entity
Class EntitySubPredicateTypes.VariantType.VariantPredicate
java.lang.Object
net.minecraft.predicate.entity.EntitySubPredicateTypes.VariantType.VariantPredicate
- All Implemented Interfaces:
EntitySubPredicate
- Enclosing class:
EntitySubPredicateTypes.VariantType<V>
private class EntitySubPredicateTypes.VariantType.VariantPredicate
extends Object
implements EntitySubPredicate
- Mappings:
Namespace Name named net/minecraft/predicate/entity/EntitySubPredicateTypes$VariantType$VariantPredicate
intermediary net/minecraft/class_7378$class_7380$class_9353
official by$b$a
-
Field Summary
Fields inherited from interface net.minecraft.predicate.entity.EntitySubPredicate
CODEC
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.mojang.serialization.MapCodec
<EntitySubPredicateTypes.VariantType<V>.VariantPredicate> getCodec()
boolean
test
(Entity entity, ServerWorld world, @Nullable Vec3d pos)
-
Field Details
-
variant
- Mappings:
Namespace Name Mixin selector named variant
Lnet/minecraft/predicate/entity/EntitySubPredicateTypes$VariantType$VariantPredicate;variant:Ljava/lang/Object;
intermediary field_49796
Lnet/minecraft/class_7378$class_7380$class_9353;field_49796:Ljava/lang/Object;
official c
Lby$b$a;c:Ljava/lang/Object;
-
-
Constructor Details
-
VariantPredicate
VariantPredicate(V variant) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/predicate/entity/EntitySubPredicateTypes$VariantType$VariantPredicate;<init>(Lnet/minecraft/predicate/entity/EntitySubPredicateTypes$VariantType;Ljava/lang/Object;)V
intermediary <init>
Lnet/minecraft/class_7378$class_7380$class_9353;<init>(Lnet/minecraft/class_7378$class_7380;Ljava/lang/Object;)V
official <init>
Lby$b$a;<init>(Lby$b;Ljava/lang/Object;)V
-
-
Method Details
-
getCodec
public com.mojang.serialization.MapCodec<EntitySubPredicateTypes.VariantType<V>.VariantPredicate> getCodec()- Specified by:
getCodec
in interfaceEntitySubPredicate
- Mappings:
Namespace Name Mixin selector named getCodec
Lnet/minecraft/predicate/entity/EntitySubPredicate;getCodec()Lcom/mojang/serialization/MapCodec;
intermediary method_58152
Lnet/minecraft/class_7376;method_58152()Lcom/mojang/serialization/MapCodec;
official a
Lbx;a()Lcom/mojang/serialization/MapCodec;
-
test
- Specified by:
test
in interfaceEntitySubPredicate
- Mappings:
Namespace Name Mixin selector named test
Lnet/minecraft/predicate/entity/EntitySubPredicate;test(Lnet/minecraft/entity/Entity;Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/Vec3d;)Z
intermediary method_22497
Lnet/minecraft/class_7376;method_22497(Lnet/minecraft/class_1297;Lnet/minecraft/class_3218;Lnet/minecraft/class_243;)Z
official a
Lbx;a(Lbvj;Lash;Lfbx;)Z
-