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 bw$b$a
  • Field Details

    • variant

      final V 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 Lbw$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> Lbw$b$a;<init>(Lbw$b;Ljava/lang/Object;)V
  • Method Details

    • getCodec

      public com.mojang.serialization.MapCodec<EntitySubPredicateTypes.VariantType<V>.VariantPredicate> 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