Package net.minecraft.predicate.entity
Class FishingHookPredicate
java.lang.Object
net.minecraft.predicate.entity.FishingHookPredicate
- Mappings:
Namespace Name official bp
intermediary net/minecraft/class_4965
named net/minecraft/predicate/entity/FishingHookPredicate
-
Field Summary
Modifier and TypeFieldDescriptionstatic FishingHookPredicate
private static String
private 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
Lbp;a:Lbp;
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:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official b
Lbp;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
Lbp;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>
Lbp;<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
Lbp;a(Z)Lbp;
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
Lbp;a(Lcom/google/gson/JsonElement;)Lbp;
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
Lbp;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
Lbp;a(Latf;)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
-