Package net.minecraft.predicate.entity
Interface TypeSpecificPredicate
- All Known Implementing Classes:
FishingHookPredicate
,LightningBoltPredicate
,PlayerPredicate
,SlimePredicate
public interface TypeSpecificPredicate
- Mappings:
Namespace Name official bp
intermediary net/minecraft/class_7376
named net/minecraft/predicate/entity/TypeSpecificPredicate
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
static final class
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic TypeSpecificPredicate
cat
(CatVariant variant) static TypeSpecificPredicate
frog
(FrogVariant variant) static TypeSpecificPredicate
fromJson
(@Nullable JsonElement json) boolean
test
(Entity entity, ServerWorld world, @Nullable Vec3d pos) default JsonElement
toJson()
-
Field Details
-
ANY
- Mappings:
Namespace Name Mixin selector official a
Lbp;a:Lbp;
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
Lbp;a(Lcom/google/gson/JsonElement;)Lbp;
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
- Mappings:
Namespace Name Mixin selector official a
Lbp;a(Lbfj;Laif;Leei;)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
Lbp;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
- Mappings:
Namespace Name Mixin selector official b
Lbp;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
TypeSpecificPredicate.Deserializer getDeserializer()- Mappings:
Namespace Name Mixin selector official c
Lbp;c()Lbp$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
- Mappings:
Namespace Name Mixin selector official a
Lbp;a(Lbrp;)Lbp;
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
- Mappings:
Namespace Name Mixin selector official a
Lbp;a(Lbrw;)Lbp;
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;
-