类 CatSitOnBlockGoal
- java.lang.Object
-
- net.minecraft.entity.ai.goal.Goal
-
- net.minecraft.entity.ai.goal.MoveToTargetPosGoal
-
- net.minecraft.entity.ai.goal.CatSitOnBlockGoal
-
public class CatSitOnBlockGoal extends MoveToTargetPosGoal
- Mappings:
Namespace Name official ayfintermediary net/minecraft/class_1373named net/minecraft/entity/ai/goal/CatSitOnBlockGoal
-
-
嵌套类概要
-
从类继承的嵌套类/接口 net.minecraft.entity.ai.goal.Goal
Goal.Control
-
-
字段概要
字段 修饰符和类型 字段 说明 private CatEntitycat-
从类继承的字段 net.minecraft.entity.ai.goal.MoveToTargetPosGoal
cooldown, lowestY, mob, speed, targetPos, tryingTime
-
-
构造器概要
构造器 构造器 说明 CatSitOnBlockGoal(CatEntity cat, double speed)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 booleancanStart()protected booleanisTargetPos(WorldView world, BlockPos pos)voidstart()voidstop()voidtick()-
从类继承的方法 net.minecraft.entity.ai.goal.MoveToTargetPosGoal
findTargetPos, getDesiredSquaredDistanceToTarget, getInterval, getTargetPos, hasReached, shouldContinue, shouldResetPath, startMovingToTarget
-
从类继承的方法 net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, toString
-
-
-
-
字段详细资料
-
cat
private final CatEntity cat
- Mappings:
Namespace Name Mixin selector official gLayf;g:Lbdc;intermediary field_6545Lnet/minecraft/class_1373;field_6545:Lnet/minecraft/class_1451;named catLnet/minecraft/entity/ai/goal/CatSitOnBlockGoal;cat:Lnet/minecraft/entity/passive/CatEntity;
-
-
构造器详细资料
-
CatSitOnBlockGoal
public CatSitOnBlockGoal(CatEntity cat, double speed)
- Mappings:
Namespace Name Mixin selector official <init>Layf;<init>(Lbdc;D)Vintermediary <init>Lnet/minecraft/class_1373;<init>(Lnet/minecraft/class_1451;D)Vnamed <init>Lnet/minecraft/entity/ai/goal/CatSitOnBlockGoal;<init>(Lnet/minecraft/entity/passive/CatEntity;D)V
-
-
方法详细资料
-
canStart
public boolean canStart()
- 覆盖:
canStart在类中MoveToTargetPosGoal- Mappings:
Namespace Name Mixin selector official aLayq;a()Zintermediary method_6264Lnet/minecraft/class_1352;method_6264()Znamed canStartLnet/minecraft/entity/ai/goal/Goal;canStart()Z
-
start
public void start()
- 覆盖:
start在类中MoveToTargetPosGoal- Mappings:
Namespace Name Mixin selector official cLayq;c()Vintermediary method_6269Lnet/minecraft/class_1352;method_6269()Vnamed startLnet/minecraft/entity/ai/goal/Goal;start()V
-
stop
public void stop()
-
tick
public void tick()
- 覆盖:
tick在类中MoveToTargetPosGoal- Mappings:
Namespace Name Mixin selector official eLayq;e()Vintermediary method_6268Lnet/minecraft/class_1352;method_6268()Vnamed tickLnet/minecraft/entity/ai/goal/Goal;tick()V
-
isTargetPos
protected boolean isTargetPos(WorldView world, BlockPos pos)
- 指定者:
isTargetPos在类中MoveToTargetPosGoal- Mappings:
Namespace Name Mixin selector official aLazd;a(Lbvu;Lgb;)Zintermediary method_6296Lnet/minecraft/class_1367;method_6296(Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;)Znamed isTargetPosLnet/minecraft/entity/ai/goal/MoveToTargetPosGoal;isTargetPos(Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;)Z
-
-