Interface EntitySubPredicate

All Known Implementing Classes:
EntitySubPredicateTypes.DynamicVariantType.DynamicPredicate, EntitySubPredicateTypes.VariantType.VariantPredicate, FishingHookPredicate, LightningBoltPredicate, PlayerPredicate, RaiderPredicate, SlimePredicate

public interface EntitySubPredicate
Mappings:
Namespace Name
named net/minecraft/predicate/entity/EntitySubPredicate
intermediary net/minecraft/class_7376
official bv
  • Field Details

    • CODEC

      static final com.mojang.serialization.Codec<EntitySubPredicate> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/predicate/entity/EntitySubPredicate;CODEC:Lcom/mojang/serialization/Codec;
      intermediary field_45747 Lnet/minecraft/class_7376;field_45747:Lcom/mojang/serialization/Codec;
      official a Lbv;a:Lcom/mojang/serialization/Codec;
  • Method Details

    • getCodec

      com.mojang.serialization.MapCodec<? extends EntitySubPredicate> getCodec()
      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

      boolean test(Entity entity, ServerWorld world, @Nullable @Nullable Vec3d pos)
      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