类 WaterPathNodeMaker
- java.lang.Object
-
- net.minecraft.entity.ai.pathing.PathNodeMaker
-
- net.minecraft.entity.ai.pathing.WaterPathNodeMaker
-
public class WaterPathNodeMaker extends PathNodeMaker
- Mappings:
Namespace Name official dgdintermediary net/minecraft/class_12named net/minecraft/entity/ai/pathing/WaterPathNodeMaker
-
-
字段概要
字段 修饰符和类型 字段 说明 private booleancanJumpOutOfWater-
从类继承的字段 net.minecraft.entity.ai.pathing.PathNodeMaker
cachedWorld, canEnterOpenDoors, canOpenDoors, canSwim, entity, entityBlockXSize, entityBlockYSize, entityBlockZSize, pathNodeCache
-
-
构造器概要
构造器 构造器 说明 WaterPathNodeMaker(boolean canJumpOutOfWater)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 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 doorsTargetPathNodegetNode(double x, double y, double z)protected @Nullable PathNodegetNode(int x, int y, int z)private PathNodeTypegetNodeType(int x, int y, int z)PathNodeTypegetNodeType(BlockView world, int x, int y, int z, MobEntity mob, int sizeX, int sizeY, int sizeZ, boolean canOpenDoors, boolean canEnterOpenDoors)private @Nullable PathNodegetPathNodeInWater(int x, int y, int z)PathNodegetStart()intgetSuccessors(PathNode[] successors, PathNode node)-
从类继承的方法 net.minecraft.entity.ai.pathing.PathNodeMaker
canEnterOpenDoors, canOpenDoors, canSwim, clear, getNode, init, setCanEnterOpenDoors, setCanOpenDoors, setCanSwim
-
-
-
-
方法详细资料
-
getStart
public PathNode getStart()
- 指定者:
getStart在类中PathNodeMaker- 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在类中PathNodeMaker- 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在类中PathNodeMaker- 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
-
getNodeType
public PathNodeType getNodeType(BlockView world, int x, int y, int z, MobEntity mob, int sizeX, int sizeY, int sizeZ, boolean canOpenDoors, boolean canEnterOpenDoors)
- 指定者:
getNodeType在类中PathNodeMaker- Mappings:
Namespace Name Mixin selector official aLdfz;a(Lbuv;IIILasz;IIIZZ)Ldfw;intermediary method_17Lnet/minecraft/class_8;method_17(Lnet/minecraft/class_1922;IIILnet/minecraft/class_1308;IIIZZ)Lnet/minecraft/class_7;named getNodeTypeLnet/minecraft/entity/ai/pathing/PathNodeMaker;getNodeType(Lnet/minecraft/world/BlockView;IIILnet/minecraft/entity/mob/MobEntity;IIIZZ)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在类中PathNodeMaker- 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;
-
getPathNodeInWater
@Nullable private @Nullable PathNode getPathNodeInWater(int x, int y, int z)
- Mappings:
Namespace Name Mixin selector official bLdgd;b(III)Ldfy;intermediary method_51Lnet/minecraft/class_12;method_51(III)Lnet/minecraft/class_9;named getPathNodeInWaterLnet/minecraft/entity/ai/pathing/WaterPathNodeMaker;getPathNodeInWater(III)Lnet/minecraft/entity/ai/pathing/PathNode;
-
getNode
@Nullable protected @Nullable PathNode getNode(int x, int y, int z)
- 覆盖:
getNode在类中PathNodeMaker- Mappings:
Namespace Name Mixin selector official aLdfz;a(III)Ldfy;intermediary method_13Lnet/minecraft/class_8;method_13(III)Lnet/minecraft/class_9;named getNodeLnet/minecraft/entity/ai/pathing/PathNodeMaker;getNode(III)Lnet/minecraft/entity/ai/pathing/PathNode;
-
getNodeType
private PathNodeType getNodeType(int x, int y, int z)
- Mappings:
Namespace Name Mixin selector official cLdgd;c(III)Ldfw;intermediary method_50Lnet/minecraft/class_12;method_50(III)Lnet/minecraft/class_7;named getNodeTypeLnet/minecraft/entity/ai/pathing/WaterPathNodeMaker;getNodeType(III)Lnet/minecraft/entity/ai/pathing/PathNodeType;
-
-