类 BreatheAirGoal
- java.lang.Object
-
- net.minecraft.entity.ai.goal.Goal
-
- net.minecraft.entity.ai.goal.BreatheAirGoal
-
public class BreatheAirGoal extends Goal
- Mappings:
Namespace Name official aycintermediary net/minecraft/class_1342named net/minecraft/entity/ai/goal/BreatheAirGoal
-
-
嵌套类概要
-
从类继承的嵌套类/接口 net.minecraft.entity.ai.goal.Goal
Goal.Control
-
-
字段概要
字段 修饰符和类型 字段 说明 private PathAwareEntitymob
-
构造器概要
构造器 构造器 说明 BreatheAirGoal(PathAwareEntity mob)
-
-
-
字段详细资料
-
mob
private final PathAwareEntity mob
- Mappings:
Namespace Name Mixin selector official aLayc;a:Latg;intermediary field_6408Lnet/minecraft/class_1342;field_6408:Lnet/minecraft/class_1314;named mobLnet/minecraft/entity/ai/goal/BreatheAirGoal;mob:Lnet/minecraft/entity/mob/PathAwareEntity;
-
-
构造器详细资料
-
BreatheAirGoal
public BreatheAirGoal(PathAwareEntity mob)
- Mappings:
Namespace Name Mixin selector official <init>Layc;<init>(Latg;)Vintermediary <init>Lnet/minecraft/class_1342;<init>(Lnet/minecraft/class_1314;)Vnamed <init>Lnet/minecraft/entity/ai/goal/BreatheAirGoal;<init>(Lnet/minecraft/entity/mob/PathAwareEntity;)V
-
-
方法详细资料
-
canStart
public boolean canStart()
-
shouldContinue
public boolean shouldContinue()
- 覆盖:
shouldContinue在类中Goal- 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
-
canStop
public boolean canStop()
-
start
public void start()
-
moveToAir
private void moveToAir()
- Mappings:
Namespace Name Mixin selector official gLayc;g()Vintermediary method_6252Lnet/minecraft/class_1342;method_6252()Vnamed moveToAirLnet/minecraft/entity/ai/goal/BreatheAirGoal;moveToAir()V
-
tick
public void tick()
-
isAirPos
private boolean isAirPos(WorldView world, BlockPos pos)
- Mappings:
Namespace Name Mixin selector official aLayc;a(Lbvu;Lgb;)Zintermediary method_6253Lnet/minecraft/class_1342;method_6253(Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;)Znamed isAirPosLnet/minecraft/entity/ai/goal/BreatheAirGoal;isAirPos(Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;)Z
-
-