Class EntitySubPredicateTypes.DynamicVariantType.DynamicPredicate

java.lang.Object
net.minecraft.predicate.entity.EntitySubPredicateTypes.DynamicVariantType.DynamicPredicate
All Implemented Interfaces:
EntitySubPredicate
Enclosing class:
EntitySubPredicateTypes.DynamicVariantType<V>

private class EntitySubPredicateTypes.DynamicVariantType.DynamicPredicate extends Object implements EntitySubPredicate
Mappings:
Namespace Name
named net/minecraft/predicate/entity/EntitySubPredicateTypes$DynamicVariantType$DynamicPredicate
intermediary net/minecraft/class_7378$class_9419$class_9420
official bx$a$a
  • Field Details

    • variants

      final RegistryEntryList<V> variants
      Mappings:
      Namespace Name Mixin selector
      named variants Lnet/minecraft/predicate/entity/EntitySubPredicateTypes$DynamicVariantType$DynamicPredicate;variants:Lnet/minecraft/registry/entry/RegistryEntryList;
      intermediary field_49977 Lnet/minecraft/class_7378$class_9419$class_9420;field_49977:Lnet/minecraft/class_6885;
      official c Lbx$a$a;c:Ljq;
  • Constructor Details

    • DynamicPredicate

      DynamicPredicate(RegistryEntryList<V> variants)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/predicate/entity/EntitySubPredicateTypes$DynamicVariantType$DynamicPredicate;<init>(Lnet/minecraft/predicate/entity/EntitySubPredicateTypes$DynamicVariantType;Lnet/minecraft/registry/entry/RegistryEntryList;)V
      intermediary <init> Lnet/minecraft/class_7378$class_9419$class_9420;<init>(Lnet/minecraft/class_7378$class_9419;Lnet/minecraft/class_6885;)V
      official <init> Lbx$a$a;<init>(Lbx$a;Ljq;)V
  • Method Details

    • getCodec

      public com.mojang.serialization.MapCodec<EntitySubPredicateTypes.DynamicVariantType<V>.DynamicPredicate> getCodec()
      Specified by:
      getCodec in interface EntitySubPredicate
      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 Lbw;a()Lcom/mojang/serialization/MapCodec;
    • test

      public boolean test(Entity entity, ServerWorld world, @Nullable @Nullable Vec3d pos)
      Specified by:
      test in interface EntitySubPredicate
      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 Lbw;a(Lbsq;Laqt;Leww;)Z