类 FishingHookPredicate
java.lang.Object
net.minecraft.advancements.critereon.FishingHookPredicate
- 所有已实现的接口:
EntitySubPredicate
-
嵌套类概要
从接口继承的嵌套类/接口 net.minecraft.advancements.critereon.EntitySubPredicate
EntitySubPredicate.Type, EntitySubPredicate.Types
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static FishingHookPredicate
fromJson
(com.google.gson.JsonObject pJson) static FishingHookPredicate
inOpenWater
(boolean pInOpenWater) boolean
matches
(Entity pEntity, ServerLevel pLevel, Vec3 p_219718_) com.google.gson.JsonObject
type()
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraft.advancements.critereon.EntitySubPredicate
serialize
-
字段详细资料
-
ANY
-
IN_OPEN_WATER_KEY
- 另请参阅:
-
inOpenWater
private final boolean inOpenWater
-
-
构造器详细资料
-
FishingHookPredicate
private FishingHookPredicate(boolean pInOpenWater)
-
-
方法详细资料
-
inOpenWater
-
fromJson
-
serializeCustomData
public com.google.gson.JsonObject serializeCustomData()- 指定者:
serializeCustomData
在接口中EntitySubPredicate
-
type
- 指定者:
type
在接口中EntitySubPredicate
-
matches
- 指定者:
matches
在接口中EntitySubPredicate
-