类 SwimAroundGoal
- java.lang.Object
-
- net.minecraft.entity.ai.goal.Goal
-
- net.minecraft.entity.ai.goal.WanderAroundGoal
-
- net.minecraft.entity.ai.goal.SwimAroundGoal
-
- 直接已知子类:
FishEntity.SwimToRandomPlaceGoal
public class SwimAroundGoal extends WanderAroundGoal
- Mappings:
Namespace Name official aznintermediary net/minecraft/class_1378named net/minecraft/entity/ai/goal/SwimAroundGoal
-
-
嵌套类概要
-
从类继承的嵌套类/接口 net.minecraft.entity.ai.goal.Goal
Goal.Control
-
-
字段概要
-
从类继承的字段 net.minecraft.entity.ai.goal.WanderAroundGoal
chance, field_30226, ignoringChance, mob, speed, targetX, targetY, targetZ
-
-
构造器概要
构造器 构造器 说明 SwimAroundGoal(PathAwareEntity mob, double speed, int chance)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 protected @Nullable Vec3dgetWanderTarget()-
从类继承的方法 net.minecraft.entity.ai.goal.WanderAroundGoal
canStart, ignoreChanceOnce, setChance, shouldContinue, start, stop
-
从类继承的方法 net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, tick, toString
-
-
-
-
构造器详细资料
-
SwimAroundGoal
public SwimAroundGoal(PathAwareEntity mob, double speed, int chance)
- Mappings:
Namespace Name Mixin selector official <init>Lazm;<init>(Latg;DI)Vintermediary <init>Lnet/minecraft/class_1379;<init>(Lnet/minecraft/class_1314;DI)Vnamed <init>Lnet/minecraft/entity/ai/goal/WanderAroundGoal;<init>(Lnet/minecraft/entity/mob/PathAwareEntity;DI)V
-
-
方法详细资料
-
getWanderTarget
@Nullable protected @Nullable Vec3d getWanderTarget()
- 覆盖:
getWanderTarget在类中WanderAroundGoal- Mappings:
Namespace Name Mixin selector official gLazm;g()Ldma;intermediary method_6302Lnet/minecraft/class_1379;method_6302()Lnet/minecraft/class_243;named getWanderTargetLnet/minecraft/entity/ai/goal/WanderAroundGoal;getWanderTarget()Lnet/minecraft/util/math/Vec3d;
-
-