Package net.minecraft.predicate.entity
Class FishingHookPredicate
java.lang.Object
net.minecraft.predicate.entity.FishingHookPredicate
public class FishingHookPredicate extends Object
- Mappings:
Namespace Name official bj
intermediary net/minecraft/class_4965
named net/minecraft/predicate/entity/FishingHookPredicate
-
Field Summary
Fields Modifier and Type Field Description static FishingHookPredicate
ANY
private boolean
inOpenWater
-
Constructor Summary
Constructors Modifier Constructor Description private
FishingHookPredicate(boolean inOpenWater)
-
Method Summary
Modifier and Type Method Description static FishingHookPredicate
fromJson(JsonElement json)
static FishingHookPredicate
of(boolean inOpenWater)
boolean
test(Entity entity)
JsonElement
toJson()
-
Field Details
-
ANY
- Mappings:
Namespace Name Mixin selector official a
Lbj;a:Lbj;
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;
-
inOpenWater
private final boolean inOpenWater- Mappings:
Namespace Name Mixin selector official b
Lbj;b: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>
Lbj;<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
Lbj;a(Z)Lbj;
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
Lbj;a(Lcom/google/gson/JsonElement;)Lbj;
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
Lbj;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
Lbj;a(Laqv;)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
-