Interface TypeSpecificPredicate

All Known Implementing Classes:
FishingHookPredicate, LightningBoltPredicate, PlayerPredicate, SlimePredicate, VariantPredicates.Predicate

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

    • CODEC

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

    • test

      boolean test(Entity entity, ServerWorld world, @Nullable @Nullable Vec3d pos)
      Mappings:
      Namespace Name Mixin selector
      official a Lbq;a(Lblv;Land;Lelt;)Z
      intermediary method_22497 Lnet/minecraft/class_7376;method_22497(Lnet/minecraft/class_1297;Lnet/minecraft/class_3218;Lnet/minecraft/class_243;)Z
      named test Lnet/minecraft/predicate/entity/TypeSpecificPredicate;test(Lnet/minecraft/entity/Entity;Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/Vec3d;)Z
    • type

      Mappings:
      Namespace Name Mixin selector
      official a Lbq;a()Lbq$a;
      intermediary comp_1776 Lnet/minecraft/class_7376;comp_1776()Lnet/minecraft/class_7376$class_8745;
      named type Lnet/minecraft/predicate/entity/TypeSpecificPredicate;type()Lnet/minecraft/predicate/entity/TypeSpecificPredicate$Type;
    • cat

      static TypeSpecificPredicate cat(CatVariant variant)
      Mappings:
      Namespace Name Mixin selector
      official a Lbq;a(Lbyc;)Lbq;
      intermediary method_43095 Lnet/minecraft/class_7376;method_43095(Lnet/minecraft/class_7375;)Lnet/minecraft/class_7376;
      named cat Lnet/minecraft/predicate/entity/TypeSpecificPredicate;cat(Lnet/minecraft/entity/passive/CatVariant;)Lnet/minecraft/predicate/entity/TypeSpecificPredicate;
    • frog

      static TypeSpecificPredicate frog(FrogVariant variant)
      Mappings:
      Namespace Name Mixin selector
      official a Lbq;a(Lbyj;)Lbq;
      intermediary method_43096 Lnet/minecraft/class_7376;method_43096(Lnet/minecraft/class_7106;)Lnet/minecraft/class_7376;
      named frog Lnet/minecraft/predicate/entity/TypeSpecificPredicate;frog(Lnet/minecraft/entity/passive/FrogVariant;)Lnet/minecraft/predicate/entity/TypeSpecificPredicate;