Package net.minecraft.predicate.entity
Class FishingHookPredicate
java.lang.Object
net.minecraft.predicate.entity.FishingHookPredicate
- All Implemented Interfaces:
TypeSpecificPredicate
- Mappings:
Namespace Name official bt
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
Lbt;b:Lbt;
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
Lbt;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
Lbt;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>
Lbt;<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
Lbt;a(Z)Lbt;
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
Lbt;a(Lcom/google/gson/JsonObject;)Lbt;
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
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;
-
getDeserializer
- Specified by:
getDeserializer
in interfaceTypeSpecificPredicate
- 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;
-
test
- Specified by:
test
in interfaceTypeSpecificPredicate
- Mappings:
Namespace Name Mixin selector official a
Lbp;a(Lbbn;Lagg;Ldwq;)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
-