类 FollowOwnerGoal
- java.lang.Object
-
- net.minecraft.entity.ai.goal.Goal
-
- net.minecraft.entity.ai.goal.FollowOwnerGoal
-
public class FollowOwnerGoal extends Goal
- Mappings:
Namespace Name official ayointermediary net/minecraft/class_1350named net/minecraft/entity/ai/goal/FollowOwnerGoal
-
-
嵌套类概要
-
从类继承的嵌套类/接口 net.minecraft.entity.ai.goal.Goal
Goal.Control
-
-
字段概要
字段 修饰符和类型 字段 说明 static intfield_30205private static intfield_30206private static intfield_30207private static intfield_30208private booleanleavesAllowedprivate floatmaxDistanceprivate floatminDistanceprivate EntityNavigationnavigationprivate floatoldWaterPathfindingPenaltyprivate LivingEntityownerprivate doublespeedprivate TameableEntitytameableprivate intupdateCountdownTicksprivate WorldViewworld
-
构造器概要
构造器 构造器 说明 FollowOwnerGoal(TameableEntity tameable, double speed, float minDistance, float maxDistance, boolean leavesAllowed)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 booleancanStart()private booleancanTeleportTo(BlockPos pos)private intgetRandomInt(int min, int max)booleanshouldContinue()voidstart()voidstop()voidtick()private voidtryTeleport()private booleantryTeleportTo(int x, int y, int z)-
从类继承的方法 net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, toString
-
-
-
-
字段详细资料
-
field_30205
public static final int field_30205
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official aLayo;a:Iintermediary field_30205Lnet/minecraft/class_1350;field_30205:Inamed field_30205Lnet/minecraft/entity/ai/goal/FollowOwnerGoal;field_30205:I
-
field_30206
private static final int field_30206
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official bLayo;b:Iintermediary field_30206Lnet/minecraft/class_1350;field_30206:Inamed field_30206Lnet/minecraft/entity/ai/goal/FollowOwnerGoal;field_30206:I
-
field_30207
private static final int field_30207
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official cLayo;c:Iintermediary field_30207Lnet/minecraft/class_1350;field_30207:Inamed field_30207Lnet/minecraft/entity/ai/goal/FollowOwnerGoal;field_30207:I
-
field_30208
private static final int field_30208
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official dLayo;d:Iintermediary field_30208Lnet/minecraft/class_1350;field_30208:Inamed field_30208Lnet/minecraft/entity/ai/goal/FollowOwnerGoal;field_30208:I
-
tameable
private final TameableEntity tameable
- Mappings:
Namespace Name Mixin selector official eLayo;e:Latr;intermediary field_6448Lnet/minecraft/class_1350;field_6448:Lnet/minecraft/class_1321;named tameableLnet/minecraft/entity/ai/goal/FollowOwnerGoal;tameable:Lnet/minecraft/entity/passive/TameableEntity;
-
owner
private LivingEntity owner
- Mappings:
Namespace Name Mixin selector official fLayo;f:Lasy;intermediary field_6444Lnet/minecraft/class_1350;field_6444:Lnet/minecraft/class_1309;named ownerLnet/minecraft/entity/ai/goal/FollowOwnerGoal;owner:Lnet/minecraft/entity/LivingEntity;
-
world
private final WorldView world
- Mappings:
Namespace Name Mixin selector official gLayo;g:Lbvu;intermediary field_6445Lnet/minecraft/class_1350;field_6445:Lnet/minecraft/class_4538;named worldLnet/minecraft/entity/ai/goal/FollowOwnerGoal;world:Lnet/minecraft/world/WorldView;
-
speed
private final double speed
- Mappings:
Namespace Name Mixin selector official hLayo;h:Dintermediary field_6442Lnet/minecraft/class_1350;field_6442:Dnamed speedLnet/minecraft/entity/ai/goal/FollowOwnerGoal;speed:D
-
navigation
private final EntityNavigation navigation
- Mappings:
Namespace Name Mixin selector official iLayo;i:Lbbb;intermediary field_6446Lnet/minecraft/class_1350;field_6446:Lnet/minecraft/class_1408;named navigationLnet/minecraft/entity/ai/goal/FollowOwnerGoal;navigation:Lnet/minecraft/entity/ai/pathing/EntityNavigation;
-
updateCountdownTicks
private int updateCountdownTicks
- Mappings:
Namespace Name Mixin selector official jLayo;j:Iintermediary field_6443Lnet/minecraft/class_1350;field_6443:Inamed updateCountdownTicksLnet/minecraft/entity/ai/goal/FollowOwnerGoal;updateCountdownTicks:I
-
maxDistance
private final float maxDistance
- Mappings:
Namespace Name Mixin selector official kLayo;k:Fintermediary field_6450Lnet/minecraft/class_1350;field_6450:Fnamed maxDistanceLnet/minecraft/entity/ai/goal/FollowOwnerGoal;maxDistance:F
-
minDistance
private final float minDistance
- Mappings:
Namespace Name Mixin selector official lLayo;l:Fintermediary field_6449Lnet/minecraft/class_1350;field_6449:Fnamed minDistanceLnet/minecraft/entity/ai/goal/FollowOwnerGoal;minDistance:F
-
oldWaterPathfindingPenalty
private float oldWaterPathfindingPenalty
- Mappings:
Namespace Name Mixin selector official mLayo;m:Fintermediary field_6447Lnet/minecraft/class_1350;field_6447:Fnamed oldWaterPathfindingPenaltyLnet/minecraft/entity/ai/goal/FollowOwnerGoal;oldWaterPathfindingPenalty:F
-
leavesAllowed
private final boolean leavesAllowed
- Mappings:
Namespace Name Mixin selector official nLayo;n:Zintermediary field_21078Lnet/minecraft/class_1350;field_21078:Znamed leavesAllowedLnet/minecraft/entity/ai/goal/FollowOwnerGoal;leavesAllowed:Z
-
-
构造器详细资料
-
FollowOwnerGoal
public FollowOwnerGoal(TameableEntity tameable, double speed, float minDistance, float maxDistance, boolean leavesAllowed)
- Mappings:
Namespace Name Mixin selector official <init>Layo;<init>(Latr;DFFZ)Vintermediary <init>Lnet/minecraft/class_1350;<init>(Lnet/minecraft/class_1321;DFFZ)Vnamed <init>Lnet/minecraft/entity/ai/goal/FollowOwnerGoal;<init>(Lnet/minecraft/entity/passive/TameableEntity;DFFZ)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
-
start
public void start()
-
stop
public void stop()
-
tick
public void tick()
-
tryTeleport
private void tryTeleport()
- Mappings:
Namespace Name Mixin selector official gLayo;g()Vintermediary method_23345Lnet/minecraft/class_1350;method_23345()Vnamed tryTeleportLnet/minecraft/entity/ai/goal/FollowOwnerGoal;tryTeleport()V
-
tryTeleportTo
private boolean tryTeleportTo(int x, int y, int z)- Mappings:
Namespace Name Mixin selector official aLayo;a(III)Zintermediary method_23343Lnet/minecraft/class_1350;method_23343(III)Znamed tryTeleportToLnet/minecraft/entity/ai/goal/FollowOwnerGoal;tryTeleportTo(III)Z
-
canTeleportTo
private boolean canTeleportTo(BlockPos pos)
- Mappings:
Namespace Name Mixin selector official aLayo;a(Lgb;)Zintermediary method_23344Lnet/minecraft/class_1350;method_23344(Lnet/minecraft/class_2338;)Znamed canTeleportToLnet/minecraft/entity/ai/goal/FollowOwnerGoal;canTeleportTo(Lnet/minecraft/util/math/BlockPos;)Z
-
getRandomInt
private int getRandomInt(int min, int max)- Mappings:
Namespace Name Mixin selector official aLayo;a(II)Iintermediary method_23342Lnet/minecraft/class_1350;method_23342(II)Inamed getRandomIntLnet/minecraft/entity/ai/goal/FollowOwnerGoal;getRandomInt(II)I
-
-