类 PolarBearEntity.AttackGoal
- java.lang.Object
-
- net.minecraft.entity.ai.goal.Goal
-
- net.minecraft.entity.ai.goal.MeleeAttackGoal
-
- net.minecraft.entity.passive.PolarBearEntity.AttackGoal
-
- 封闭类:
- PolarBearEntity
class PolarBearEntity.AttackGoal extends MeleeAttackGoal
- Mappings:
Namespace Name official bdp$cintermediary net/minecraft/class_1456$class_1460named net/minecraft/entity/passive/PolarBearEntity$AttackGoal
-
-
嵌套类概要
-
从类继承的嵌套类/接口 net.minecraft.entity.ai.goal.Goal
Goal.Control
-
-
字段概要
-
从类继承的字段 net.minecraft.entity.ai.goal.MeleeAttackGoal
mob
-
-
构造器概要
构造器 构造器 说明 AttackGoal()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 protected voidattack(LivingEntity target, double squaredDistance)protected doublegetSquaredMaxAttackDistance(LivingEntity entity)voidstop()-
从类继承的方法 net.minecraft.entity.ai.goal.MeleeAttackGoal
canStart, getCooldown, getMaxCooldown, isCooledDown, setMaxCooldown, shouldContinue, start, tick
-
从类继承的方法 net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, toString
-
-
-
-
方法详细资料
-
attack
protected void attack(LivingEntity target, double squaredDistance)
- 覆盖:
attack在类中MeleeAttackGoal- Mappings:
Namespace Name Mixin selector official aLaza;a(Lasy;D)Vintermediary method_6288Lnet/minecraft/class_1366;method_6288(Lnet/minecraft/class_1309;D)Vnamed attackLnet/minecraft/entity/ai/goal/MeleeAttackGoal;attack(Lnet/minecraft/entity/LivingEntity;D)V
-
stop
public void stop()
- 覆盖:
stop在类中MeleeAttackGoal- Mappings:
Namespace Name Mixin selector official dLayq;d()Vintermediary method_6270Lnet/minecraft/class_1352;method_6270()Vnamed stopLnet/minecraft/entity/ai/goal/Goal;stop()V
-
getSquaredMaxAttackDistance
protected double getSquaredMaxAttackDistance(LivingEntity entity)
- 覆盖:
getSquaredMaxAttackDistance在类中MeleeAttackGoal- Mappings:
Namespace Name Mixin selector official aLaza;a(Lasy;)Dintermediary method_6289Lnet/minecraft/class_1366;method_6289(Lnet/minecraft/class_1309;)Dnamed getSquaredMaxAttackDistanceLnet/minecraft/entity/ai/goal/MeleeAttackGoal;getSquaredMaxAttackDistance(Lnet/minecraft/entity/LivingEntity;)D
-
-