Interface TypeSpecificPredicate

All Known Implementing Classes:
FishingHookPredicate, LightningBoltPredicate, PlayerPredicate, SlimePredicate

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

    • ANY

      static final TypeSpecificPredicate ANY
      Mappings:
      Namespace Name Mixin selector
      official a Lbm;a:Lbm;
      intermediary field_38723 Lnet/minecraft/class_7376;field_38723:Lnet/minecraft/class_7376;
      named ANY Lnet/minecraft/predicate/entity/TypeSpecificPredicate;ANY:Lnet/minecraft/predicate/entity/TypeSpecificPredicate;
  • Method Details

    • fromJson

      Mappings:
      Namespace Name Mixin selector
      official a Lbm;a(Lcom/google/gson/JsonElement;)Lbm;
      intermediary method_43097 Lnet/minecraft/class_7376;method_43097(Lcom/google/gson/JsonElement;)Lnet/minecraft/class_7376;
      named fromJson Lnet/minecraft/predicate/entity/TypeSpecificPredicate;fromJson(Lcom/google/gson/JsonElement;)Lnet/minecraft/predicate/entity/TypeSpecificPredicate;
    • test

      boolean test(Entity entity, ServerWorld world, @Nullable @Nullable Vec3d pos)
      Mappings:
      Namespace Name Mixin selector
      official a Lbm;a(Lbdr;Lahm;Leae;)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
    • typeSpecificToJson

      JsonObject typeSpecificToJson()
      Mappings:
      Namespace Name Mixin selector
      official a Lbm;a()Lcom/google/gson/JsonObject;
      intermediary method_22494 Lnet/minecraft/class_7376;method_22494()Lcom/google/gson/JsonObject;
      named typeSpecificToJson Lnet/minecraft/predicate/entity/TypeSpecificPredicate;typeSpecificToJson()Lcom/google/gson/JsonObject;
    • toJson

      default JsonElement toJson()
      Mappings:
      Namespace Name Mixin selector
      official b Lbm;b()Lcom/google/gson/JsonElement;
      intermediary method_43098 Lnet/minecraft/class_7376;method_43098()Lcom/google/gson/JsonElement;
      named toJson Lnet/minecraft/predicate/entity/TypeSpecificPredicate;toJson()Lcom/google/gson/JsonElement;
    • getDeserializer

      Mappings:
      Namespace Name Mixin selector
      official c Lbm;c()Lbm$a;
      intermediary method_43099 Lnet/minecraft/class_7376;method_43099()Lnet/minecraft/class_7376$class_7377;
      named getDeserializer Lnet/minecraft/predicate/entity/TypeSpecificPredicate;getDeserializer()Lnet/minecraft/predicate/entity/TypeSpecificPredicate$Deserializer;
    • cat

      static TypeSpecificPredicate cat(CatVariant variant)
      Mappings:
      Namespace Name Mixin selector
      official a Lbm;a(Lbps;)Lbm;
      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 Lbm;a(Lbpz;)Lbm;
      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;