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 bw$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 Lbw$a$a;c:Ljm;
  • 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> Lbw$a$a;<init>(Lbw$a;Ljm;)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 Lbv;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 Lbv;a(Lbsv;Larf;Levs;)Z