Package net.minecraft.predicate.entity
Class FishingHookPredicate
java.lang.Object
net.minecraft.predicate.entity.FishingHookPredicate
- All Implemented Interfaces:
TypeSpecificPredicate
- Mappings:
Namespace Name official bs
intermediary net/minecraft/class_4965
named net/minecraft/predicate/entity/FishingHookPredicate
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.predicate.entity.TypeSpecificPredicate
TypeSpecificPredicate.Deserializer, TypeSpecificPredicate.Deserializers
-
Field Summary
Modifier and TypeFieldDescriptionstatic final FishingHookPredicate
private static final String
private final boolean
Fields inherited from interface net.minecraft.predicate.entity.TypeSpecificPredicate
ANY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic FishingHookPredicate
fromJson
(JsonObject json) static FishingHookPredicate
of
(boolean inOpenWater) boolean
test
(Entity entity, ServerWorld world, @Nullable Vec3d pos) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.predicate.entity.TypeSpecificPredicate
toJson
-
Field Details
-
ALL
- Mappings:
Namespace Name Mixin selector official b
Lbs;b:Lbs;
intermediary field_23137
Lnet/minecraft/class_4965;field_23137:Lnet/minecraft/class_4965;
named ALL
Lnet/minecraft/predicate/entity/FishingHookPredicate;ALL:Lnet/minecraft/predicate/entity/FishingHookPredicate;
-
IN_OPEN_WATER
- See Also:
- Mappings:
Namespace Name Mixin selector official c
Lbs;c:Ljava/lang/String;
intermediary field_30854
Lnet/minecraft/class_4965;field_30854:Ljava/lang/String;
named IN_OPEN_WATER
Lnet/minecraft/predicate/entity/FishingHookPredicate;IN_OPEN_WATER:Ljava/lang/String;
-
inOpenWater
private final boolean inOpenWater- Mappings:
Namespace Name Mixin selector official d
Lbs;d:Z
intermediary field_23138
Lnet/minecraft/class_4965;field_23138:Z
named inOpenWater
Lnet/minecraft/predicate/entity/FishingHookPredicate;inOpenWater:Z
-
-
Constructor Details
-
FishingHookPredicate
private FishingHookPredicate(boolean inOpenWater) - Mappings:
Namespace Name Mixin selector official <init>
Lbs;<init>(Z)V
intermediary <init>
Lnet/minecraft/class_4965;<init>(Z)V
named <init>
Lnet/minecraft/predicate/entity/FishingHookPredicate;<init>(Z)V
-
-
Method Details
-
of
- Mappings:
Namespace Name Mixin selector official a
Lbs;a(Z)Lbs;
intermediary method_26095
Lnet/minecraft/class_4965;method_26095(Z)Lnet/minecraft/class_4965;
named of
Lnet/minecraft/predicate/entity/FishingHookPredicate;of(Z)Lnet/minecraft/predicate/entity/FishingHookPredicate;
-
fromJson
- Mappings:
Namespace Name Mixin selector official a
Lbs;a(Lcom/google/gson/JsonObject;)Lbs;
intermediary method_26094
Lnet/minecraft/class_4965;method_26094(Lcom/google/gson/JsonObject;)Lnet/minecraft/class_4965;
named fromJson
Lnet/minecraft/predicate/entity/FishingHookPredicate;fromJson(Lcom/google/gson/JsonObject;)Lnet/minecraft/predicate/entity/FishingHookPredicate;
-
typeSpecificToJson
- Specified by:
typeSpecificToJson
in interfaceTypeSpecificPredicate
- Mappings:
Namespace Name Mixin selector official a
Lbo;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;
-
getDeserializer
- Specified by:
getDeserializer
in interfaceTypeSpecificPredicate
- Mappings:
Namespace Name Mixin selector official c
Lbo;c()Lbo$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;
-
test
- Specified by:
test
in interfaceTypeSpecificPredicate
- Mappings:
Namespace Name Mixin selector official a
Lbo;a(Lbfh;Laip;Lede;)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
-