类 BirdPathNodeMaker
- java.lang.Object
-
- net.minecraft.entity.ai.pathing.PathNodeMaker
-
- net.minecraft.entity.ai.pathing.LandPathNodeMaker
-
- net.minecraft.entity.ai.pathing.BirdPathNodeMaker
-
public class BirdPathNodeMaker extends LandPathNodeMaker
- Mappings:
Namespace Name official dfxintermediary net/minecraft/class_6named net/minecraft/entity/ai/pathing/BirdPathNodeMaker
-
-
字段概要
字段 修饰符和类型 字段 说明 private Long2ObjectMap<PathNodeType>field_27341-
从类继承的字段 net.minecraft.entity.ai.pathing.LandPathNodeMaker
field_31809, waterPathNodeTypeWeight
-
从类继承的字段 net.minecraft.entity.ai.pathing.PathNodeMaker
cachedWorld, canEnterOpenDoors, canOpenDoors, canSwim, entity, entityBlockXSize, entityBlockYSize, entityBlockZSize, pathNodeCache
-
-
构造器概要
构造器 构造器 说明 BirdPathNodeMaker()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 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 doorsTargetPathNodegetNode(double x, double y, double z)protected @Nullable PathNodegetNode(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)PathNodegetStart()intgetSuccessors(PathNode[] successors, PathNode node)voidinit(ChunkCache cachedWorld, MobEntity entity)private booleanisPassable(@Nullable PathNode node)private PathNodeTypemethod_31932(int int2, int int3, int int4)private booleanunvisited(@Nullable PathNode node)-
从类继承的方法 net.minecraft.entity.ai.pathing.LandPathNodeMaker
adjustNodeType, findNearbyNodeTypes, getCommonNodeType, getFeetY, getLandNodeType, getNodeTypeFromNeighbors
-
从类继承的方法 net.minecraft.entity.ai.pathing.PathNodeMaker
canEnterOpenDoors, canOpenDoors, canSwim, getNode, setCanEnterOpenDoors, setCanOpenDoors, setCanSwim
-
-
-
-
字段详细资料
-
field_27341
private final Long2ObjectMap<PathNodeType> field_27341
- Mappings:
Namespace Name Mixin selector official lLdfx;l:Lit/unimi/dsi/fastutil/longs/Long2ObjectMap;intermediary field_27341Lnet/minecraft/class_6;field_27341:Lit/unimi/dsi/fastutil/longs/Long2ObjectMap;named field_27341Lnet/minecraft/entity/ai/pathing/BirdPathNodeMaker;field_27341:Lit/unimi/dsi/fastutil/longs/Long2ObjectMap;
-
-
方法详细资料
-
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
-
isPassable
private boolean isPassable(@Nullable @Nullable PathNode node)
- Mappings:
Namespace Name Mixin selector official aLdfx;a(Ldfy;)Zintermediary method_22877Lnet/minecraft/class_6;method_22877(Lnet/minecraft/class_9;)Znamed isPassableLnet/minecraft/entity/ai/pathing/BirdPathNodeMaker;isPassable(Lnet/minecraft/entity/ai/pathing/PathNode;)Z
-
unvisited
private boolean unvisited(@Nullable @Nullable PathNode node)
- Mappings:
Namespace Name Mixin selector official bLdfx;b(Ldfy;)Zintermediary method_22878Lnet/minecraft/class_6;method_22878(Lnet/minecraft/class_9;)Znamed unvisitedLnet/minecraft/entity/ai/pathing/BirdPathNodeMaker;unvisited(Lnet/minecraft/entity/ai/pathing/PathNode;)Z
-
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;
-
method_31932
private PathNodeType method_31932(int int2, int int3, int int4)
- Mappings:
Namespace Name Mixin selector official bLdfx;b(III)Ldfw;intermediary method_31932Lnet/minecraft/class_6;method_31932(III)Lnet/minecraft/class_7;named method_31932Lnet/minecraft/entity/ai/pathing/BirdPathNodeMaker;method_31932(III)Lnet/minecraft/entity/ai/pathing/PathNodeType;
-
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在类中LandPathNodeMaker- 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在类中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;
-
-