类 RabbitEntity.EatCarrotCropGoal
- java.lang.Object
-
- net.minecraft.entity.ai.goal.Goal
-
- net.minecraft.entity.ai.goal.MoveToTargetPosGoal
-
- net.minecraft.entity.passive.RabbitEntity.EatCarrotCropGoal
-
- 封闭类:
- RabbitEntity
static class RabbitEntity.EatCarrotCropGoal extends MoveToTargetPosGoal
- Mappings:
Namespace Name official bdr$gintermediary net/minecraft/class_1463$class_1470named net/minecraft/entity/passive/RabbitEntity$EatCarrotCropGoal
-
-
嵌套类概要
-
从类继承的嵌套类/接口 net.minecraft.entity.ai.goal.Goal
Goal.Control
-
-
字段概要
字段 修饰符和类型 字段 说明 private booleanhasTargetprivate RabbitEntityrabbitprivate booleanwantsCarrots-
从类继承的字段 net.minecraft.entity.ai.goal.MoveToTargetPosGoal
cooldown, lowestY, mob, speed, targetPos, tryingTime
-
-
构造器概要
构造器 构造器 说明 EatCarrotCropGoal(RabbitEntity rabbit)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 booleancanStart()protected booleanisTargetPos(WorldView world, BlockPos pos)booleanshouldContinue()voidtick()-
从类继承的方法 net.minecraft.entity.ai.goal.MoveToTargetPosGoal
findTargetPos, getDesiredSquaredDistanceToTarget, getInterval, getTargetPos, hasReached, shouldResetPath, start, startMovingToTarget
-
从类继承的方法 net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, stop, toString
-
-
-
-
字段详细资料
-
rabbit
private final RabbitEntity rabbit
- Mappings:
Namespace Name Mixin selector official gLbdr$g;g:Lbdr;intermediary field_6863Lnet/minecraft/class_1463$class_1470;field_6863:Lnet/minecraft/class_1463;named rabbitLnet/minecraft/entity/passive/RabbitEntity$EatCarrotCropGoal;rabbit:Lnet/minecraft/entity/passive/RabbitEntity;
-
wantsCarrots
private boolean wantsCarrots
- Mappings:
Namespace Name Mixin selector official hLbdr$g;h:Zintermediary field_6862Lnet/minecraft/class_1463$class_1470;field_6862:Znamed wantsCarrotsLnet/minecraft/entity/passive/RabbitEntity$EatCarrotCropGoal;wantsCarrots:Z
-
hasTarget
private boolean hasTarget
- Mappings:
Namespace Name Mixin selector official iLbdr$g;i:Zintermediary field_6861Lnet/minecraft/class_1463$class_1470;field_6861:Znamed hasTargetLnet/minecraft/entity/passive/RabbitEntity$EatCarrotCropGoal;hasTarget:Z
-
-
构造器详细资料
-
EatCarrotCropGoal
public EatCarrotCropGoal(RabbitEntity rabbit)
- Mappings:
Namespace Name Mixin selector official <init>Lbdr$g;<init>(Lbdr;)Vintermediary <init>Lnet/minecraft/class_1463$class_1470;<init>(Lnet/minecraft/class_1463;)Vnamed <init>Lnet/minecraft/entity/passive/RabbitEntity$EatCarrotCropGoal;<init>(Lnet/minecraft/entity/passive/RabbitEntity;)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
-
shouldContinue
public boolean shouldContinue()
- 覆盖:
shouldContinue在类中MoveToTargetPosGoal- Mappings:
Namespace Name Mixin selector official bLayq;b()Zintermediary method_6266Lnet/minecraft/class_1352;method_6266()Znamed shouldContinueLnet/minecraft/entity/ai/goal/Goal;shouldContinue()Z
-
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
-
-