Package net.minecraft.predicate.entity
Class FishingHookPredicate
java.lang.Object
net.minecraft.predicate.entity.FishingHookPredicate
- All Implemented Interfaces:
class_7376
- 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.class_7376
class_7376.class_7377, class_7376.class_7378
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final FishingHookPredicate
private static final String
private final boolean
Fields inherited from interface net.minecraft.class_7376
field_38723
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic FishingHookPredicate
fromJson
(JsonObject jsonObject) static FishingHookPredicate
of
(boolean inOpenWater) boolean
test
(Entity entity, ServerWorld serverWorld, @Nullable Vec3d vec3d) toJson()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.class_7376
method_43098
-
Field Details
-
ANY
- Mappings:
Namespace Name Mixin selector official b
Lbt;b:Lbt;
intermediary field_23137
Lnet/minecraft/class_4965;field_23137:Lnet/minecraft/class_4965;
named ANY
Lnet/minecraft/predicate/entity/FishingHookPredicate;ANY: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;
-
toJson
- Specified by:
toJson
in interfaceclass_7376
- 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 toJson
Lnet/minecraft/class_7376;toJson()Lcom/google/gson/JsonObject;
-
method_43099
- Specified by:
method_43099
in interfaceclass_7376
- 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 method_43099
Lnet/minecraft/class_7376;method_43099()Lnet/minecraft/class_7376$class_7377;
-
test
- Specified by:
test
in interfaceclass_7376
- Mappings:
Namespace Name Mixin selector official a
Lbp;a(Lays;Laej;Ldtf;)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/class_7376;test(Lnet/minecraft/entity/Entity;Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/Vec3d;)Z
-