Package net.minecraft.predicate.entity
Class FishingHookPredicate
java.lang.Object
net.minecraft.predicate.entity.FishingHookPredicate
- Mappings:
Namespace Name official br
intermediary net/minecraft/class_4965
named net/minecraft/predicate/entity/FishingHookPredicate
-
Field Summary
Modifier and TypeFieldDescriptionstatic final FishingHookPredicate
private static final String
private final boolean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic FishingHookPredicate
fromJson
(@Nullable JsonElement json) static FishingHookPredicate
of
(boolean inOpenWater) boolean
toJson()
-
Field Details
-
ANY
- Mappings:
Namespace Name Mixin selector official a
Lbr;a:Lbr;
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 b
Lbr;b: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 c
Lbr;c: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>
Lbr;<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
Lbr;a(Z)Lbr;
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
Lbr;a(Lcom/google/gson/JsonElement;)Lbr;
intermediary method_26094
Lnet/minecraft/class_4965;method_26094(Lcom/google/gson/JsonElement;)Lnet/minecraft/class_4965;
named fromJson
Lnet/minecraft/predicate/entity/FishingHookPredicate;fromJson(Lcom/google/gson/JsonElement;)Lnet/minecraft/predicate/entity/FishingHookPredicate;
-
toJson
- Mappings:
Namespace Name Mixin selector official a
Lbr;a()Lcom/google/gson/JsonElement;
intermediary method_26092
Lnet/minecraft/class_4965;method_26092()Lcom/google/gson/JsonElement;
named toJson
Lnet/minecraft/predicate/entity/FishingHookPredicate;toJson()Lcom/google/gson/JsonElement;
-
test
- Mappings:
Namespace Name Mixin selector official a
Lbr;a(Lawt;)Z
intermediary method_26093
Lnet/minecraft/class_4965;method_26093(Lnet/minecraft/class_1297;)Z
named test
Lnet/minecraft/predicate/entity/FishingHookPredicate;test(Lnet/minecraft/entity/Entity;)Z
-