类 AmphibiousPathNodeMaker
- java.lang.Object
-
- net.minecraft.entity.ai.pathing.PathNodeMaker
-
- net.minecraft.entity.ai.pathing.LandPathNodeMaker
-
- net.minecraft.entity.ai.pathing.AmphibiousPathNodeMaker
-
public class AmphibiousPathNodeMaker extends LandPathNodeMaker
- Mappings:
Namespace Name official dfuintermediary net/minecraft/class_15named net/minecraft/entity/ai/pathing/AmphibiousPathNodeMaker
-
-
字段概要
字段 修饰符和类型 字段 说明 private booleanfield_28358private floatoldWalkablePenaltyprivate floatoldWaterBorderPenalty-
从类继承的字段 net.minecraft.entity.ai.pathing.LandPathNodeMaker
field_31809, waterPathNodeTypeWeight
-
从类继承的字段 net.minecraft.entity.ai.pathing.PathNodeMaker
cachedWorld, canEnterOpenDoors, canOpenDoors, canSwim, entity, entityBlockXSize, entityBlockYSize, entityBlockZSize, pathNodeCache
-
-
构造器概要
构造器 构造器 说明 AmphibiousPathNodeMaker(boolean bool)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 protected PathNodeTypeadjustNodeType(BlockView world, boolean canOpenDoors, boolean canEnterOpenDoors, BlockPos pos, PathNodeType type)voidclear()PathNodeTypegetDefaultNodeType(BlockView world, int x, int y, int z)Gets the path node type at the given position without adjusting the node type according to whether the entity can enter or open doorsprivate doublegetFeetY(BlockPos pos)TargetPathNodegetNode(double x, double y, double z)private @Nullable PathNodegetPathNode(int x, int y, int z, int maxYStep, double prevFeetY)PathNodegetStart()intgetSuccessors(PathNode[] successors, PathNode node)voidinit(ChunkCache cachedWorld, MobEntity entity)-
从类继承的方法 net.minecraft.entity.ai.pathing.LandPathNodeMaker
findNearbyNodeTypes, getCommonNodeType, getFeetY, getLandNodeType, getNodeType, getNodeTypeFromNeighbors
-
从类继承的方法 net.minecraft.entity.ai.pathing.PathNodeMaker
canEnterOpenDoors, canOpenDoors, canSwim, getNode, getNode, setCanEnterOpenDoors, setCanOpenDoors, setCanSwim
-
-
-
-
字段详细资料
-
field_28358
private final boolean field_28358
- Mappings:
Namespace Name Mixin selector official lLdfu;l:Zintermediary field_28358Lnet/minecraft/class_15;field_28358:Znamed field_28358Lnet/minecraft/entity/ai/pathing/AmphibiousPathNodeMaker;field_28358:Z
-
oldWalkablePenalty
private float oldWalkablePenalty
- Mappings:
Namespace Name Mixin selector official mLdfu;m:Fintermediary field_65Lnet/minecraft/class_15;field_65:Fnamed oldWalkablePenaltyLnet/minecraft/entity/ai/pathing/AmphibiousPathNodeMaker;oldWalkablePenalty:F
-
oldWaterBorderPenalty
private float oldWaterBorderPenalty
- Mappings:
Namespace Name Mixin selector official nLdfu;n:Fintermediary field_64Lnet/minecraft/class_15;field_64:Fnamed oldWaterBorderPenaltyLnet/minecraft/entity/ai/pathing/AmphibiousPathNodeMaker;oldWaterBorderPenalty:F
-
-
方法详细资料
-
init
public void init(ChunkCache cachedWorld, MobEntity entity)
- 覆盖:
init在类中LandPathNodeMaker- Mappings:
Namespace Name Mixin selector official aLdfz;a(Lbwd;Lasz;)Vintermediary method_12Lnet/minecraft/class_8;method_12(Lnet/minecraft/class_1950;Lnet/minecraft/class_1308;)Vnamed initLnet/minecraft/entity/ai/pathing/PathNodeMaker;init(Lnet/minecraft/world/chunk/ChunkCache;Lnet/minecraft/entity/mob/MobEntity;)V
-
clear
public void clear()
- 覆盖:
clear在类中LandPathNodeMaker- Mappings:
Namespace Name Mixin selector official aLdfz;a()Vintermediary method_19Lnet/minecraft/class_8;method_19()Vnamed clearLnet/minecraft/entity/ai/pathing/PathNodeMaker;clear()V
-
getStart
public PathNode getStart()
- 覆盖:
getStart在类中LandPathNodeMaker- Mappings:
Namespace Name Mixin selector official bLdfz;b()Ldfy;intermediary method_21Lnet/minecraft/class_8;method_21()Lnet/minecraft/class_9;named getStartLnet/minecraft/entity/ai/pathing/PathNodeMaker;getStart()Lnet/minecraft/entity/ai/pathing/PathNode;
-
getNode
public TargetPathNode getNode(double x, double y, double z)
- 覆盖:
getNode在类中LandPathNodeMaker- Mappings:
Namespace Name Mixin selector official aLdfz;a(DDD)Ldge;intermediary method_16Lnet/minecraft/class_8;method_16(DDD)Lnet/minecraft/class_4459;named getNodeLnet/minecraft/entity/ai/pathing/PathNodeMaker;getNode(DDD)Lnet/minecraft/entity/ai/pathing/TargetPathNode;
-
getSuccessors
public int getSuccessors(PathNode[] successors, PathNode node)
- 覆盖:
getSuccessors在类中LandPathNodeMaker- Mappings:
Namespace Name Mixin selector official aLdfz;a([Ldfy;Ldfy;)Iintermediary method_18Lnet/minecraft/class_8;method_18([Lnet/minecraft/class_9;Lnet/minecraft/class_9;)Inamed getSuccessorsLnet/minecraft/entity/ai/pathing/PathNodeMaker;getSuccessors([Lnet/minecraft/entity/ai/pathing/PathNode;Lnet/minecraft/entity/ai/pathing/PathNode;)I
-
getFeetY
private double getFeetY(BlockPos pos)
- Mappings:
Namespace Name Mixin selector official bLdfu;b(Lgb;)Dintermediary method_66Lnet/minecraft/class_15;method_66(Lnet/minecraft/class_2338;)Dnamed getFeetYLnet/minecraft/entity/ai/pathing/AmphibiousPathNodeMaker;getFeetY(Lnet/minecraft/util/math/BlockPos;)D
-
getPathNode
@Nullable private @Nullable PathNode getPathNode(int x, int y, int z, int maxYStep, double prevFeetY)
- Mappings:
Namespace Name Mixin selector official aLdfu;a(IIIID)Ldfy;intermediary method_65Lnet/minecraft/class_15;method_65(IIIID)Lnet/minecraft/class_9;named getPathNodeLnet/minecraft/entity/ai/pathing/AmphibiousPathNodeMaker;getPathNode(IIIID)Lnet/minecraft/entity/ai/pathing/PathNode;
-
adjustNodeType
protected PathNodeType adjustNodeType(BlockView world, boolean canOpenDoors, boolean canEnterOpenDoors, BlockPos pos, PathNodeType type)
- 覆盖:
adjustNodeType在类中LandPathNodeMaker- Mappings:
Namespace Name Mixin selector official aLdgf;a(Lbuv;ZZLgb;Ldfw;)Ldfw;intermediary method_61Lnet/minecraft/class_14;method_61(Lnet/minecraft/class_1922;ZZLnet/minecraft/class_2338;Lnet/minecraft/class_7;)Lnet/minecraft/class_7;named adjustNodeTypeLnet/minecraft/entity/ai/pathing/LandPathNodeMaker;adjustNodeType(Lnet/minecraft/world/BlockView;ZZLnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/ai/pathing/PathNodeType;)Lnet/minecraft/entity/ai/pathing/PathNodeType;
-
getDefaultNodeType
public PathNodeType getDefaultNodeType(BlockView world, int x, int y, int z)
Gets the path node type at the given position without adjusting the node type according to whether the entity can enter or open doors- 覆盖:
getDefaultNodeType在类中LandPathNodeMaker- Mappings:
Namespace Name Mixin selector official aLdfz;a(Lbuv;III)Ldfw;intermediary method_25Lnet/minecraft/class_8;method_25(Lnet/minecraft/class_1922;III)Lnet/minecraft/class_7;named getDefaultNodeTypeLnet/minecraft/entity/ai/pathing/PathNodeMaker;getDefaultNodeType(Lnet/minecraft/world/BlockView;III)Lnet/minecraft/entity/ai/pathing/PathNodeType;
-
-