类 PathNodeMaker
- java.lang.Object
-
- net.minecraft.entity.ai.pathing.PathNodeMaker
-
- 直接已知子类:
LandPathNodeMaker,WaterPathNodeMaker
public abstract class PathNodeMaker extends Object
- Mappings:
Namespace Name official dfzintermediary net/minecraft/class_8named net/minecraft/entity/ai/pathing/PathNodeMaker
-
-
字段概要
字段 修饰符和类型 字段 说明 protected ChunkCachecachedWorldprotected booleancanEnterOpenDoorsprotected booleancanOpenDoorsprotected booleancanSwimprotected MobEntityentityprotected intentityBlockXSizeprotected intentityBlockYSizeprotected intentityBlockZSizeprotected Int2ObjectMap<PathNode>pathNodeCache
-
构造器概要
构造器 构造器 说明 PathNodeMaker()
-
方法概要
所有方法 实例方法 抽象方法 具体方法 修饰符和类型 方法 说明 booleancanEnterOpenDoors()booleancanOpenDoors()booleancanSwim()voidclear()abstract 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 doorsabstract TargetPathNodegetNode(double x, double y, double z)protected PathNodegetNode(int x, int y, int z)protected PathNodegetNode(BlockPos pos)abstract PathNodeTypegetNodeType(BlockView world, int x, int y, int z, MobEntity mob, int sizeX, int sizeY, int sizeZ, boolean canOpenDoors, boolean canEnterOpenDoors)abstract PathNodegetStart()abstract intgetSuccessors(PathNode[] successors, PathNode node)voidinit(ChunkCache cachedWorld, MobEntity entity)voidsetCanEnterOpenDoors(boolean canEnterOpenDoors)voidsetCanOpenDoors(boolean canOpenDoors)voidsetCanSwim(boolean canSwim)
-
-
-
字段详细资料
-
cachedWorld
protected ChunkCache cachedWorld
- Mappings:
Namespace Name Mixin selector official aLdfz;a:Lbwd;intermediary field_20622Lnet/minecraft/class_8;field_20622:Lnet/minecraft/class_1950;named cachedWorldLnet/minecraft/entity/ai/pathing/PathNodeMaker;cachedWorld:Lnet/minecraft/world/chunk/ChunkCache;
-
entity
protected MobEntity entity
- Mappings:
Namespace Name Mixin selector official bLdfz;b:Lasz;intermediary field_33Lnet/minecraft/class_8;field_33:Lnet/minecraft/class_1308;named entityLnet/minecraft/entity/ai/pathing/PathNodeMaker;entity:Lnet/minecraft/entity/mob/MobEntity;
-
pathNodeCache
protected final Int2ObjectMap<PathNode> pathNodeCache
- Mappings:
Namespace Name Mixin selector official cLdfz;c:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;intermediary field_32Lnet/minecraft/class_8;field_32:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;named pathNodeCacheLnet/minecraft/entity/ai/pathing/PathNodeMaker;pathNodeCache:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
-
entityBlockXSize
protected int entityBlockXSize
- Mappings:
Namespace Name Mixin selector official dLdfz;d:Iintermediary field_31Lnet/minecraft/class_8;field_31:Inamed entityBlockXSizeLnet/minecraft/entity/ai/pathing/PathNodeMaker;entityBlockXSize:I
-
entityBlockYSize
protected int entityBlockYSize
- Mappings:
Namespace Name Mixin selector official eLdfz;e:Iintermediary field_30Lnet/minecraft/class_8;field_30:Inamed entityBlockYSizeLnet/minecraft/entity/ai/pathing/PathNodeMaker;entityBlockYSize:I
-
entityBlockZSize
protected int entityBlockZSize
- Mappings:
Namespace Name Mixin selector official fLdfz;f:Iintermediary field_28Lnet/minecraft/class_8;field_28:Inamed entityBlockZSizeLnet/minecraft/entity/ai/pathing/PathNodeMaker;entityBlockZSize:I
-
canEnterOpenDoors
protected boolean canEnterOpenDoors
- Mappings:
Namespace Name Mixin selector official gLdfz;g:Zintermediary field_29Lnet/minecraft/class_8;field_29:Znamed canEnterOpenDoorsLnet/minecraft/entity/ai/pathing/PathNodeMaker;canEnterOpenDoors:Z
-
canOpenDoors
protected boolean canOpenDoors
- Mappings:
Namespace Name Mixin selector official hLdfz;h:Zintermediary field_27Lnet/minecraft/class_8;field_27:Znamed canOpenDoorsLnet/minecraft/entity/ai/pathing/PathNodeMaker;canOpenDoors:Z
-
canSwim
protected boolean canSwim
- Mappings:
Namespace Name Mixin selector official iLdfz;i:Zintermediary field_25Lnet/minecraft/class_8;field_25:Znamed canSwimLnet/minecraft/entity/ai/pathing/PathNodeMaker;canSwim:Z
-
-
方法详细资料
-
init
public void init(ChunkCache cachedWorld, MobEntity entity)
- 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()
- 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
-
getNode
protected PathNode getNode(BlockPos pos)
- Mappings:
Namespace Name Mixin selector official aLdfz;a(Lgb;)Ldfy;intermediary method_27137Lnet/minecraft/class_8;method_27137(Lnet/minecraft/class_2338;)Lnet/minecraft/class_9;named getNodeLnet/minecraft/entity/ai/pathing/PathNodeMaker;getNode(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/entity/ai/pathing/PathNode;
-
getNode
protected PathNode getNode(int x, int y, int z)
- 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;
-
getStart
public abstract PathNode getStart()
- 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 abstract TargetPathNode getNode(double x, double y, double z)
- 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 abstract int getSuccessors(PathNode[] successors, PathNode node)
- 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 abstract PathNodeType getNodeType(BlockView world, int x, int y, int z, MobEntity mob, int sizeX, int sizeY, int sizeZ, boolean canOpenDoors, boolean canEnterOpenDoors)
- 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 abstract 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- 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;
-
setCanEnterOpenDoors
public void setCanEnterOpenDoors(boolean canEnterOpenDoors)
- Mappings:
Namespace Name Mixin selector official aLdfz;a(Z)Vintermediary method_15Lnet/minecraft/class_8;method_15(Z)Vnamed setCanEnterOpenDoorsLnet/minecraft/entity/ai/pathing/PathNodeMaker;setCanEnterOpenDoors(Z)V
-
setCanOpenDoors
public void setCanOpenDoors(boolean canOpenDoors)
- Mappings:
Namespace Name Mixin selector official bLdfz;b(Z)Vintermediary method_20Lnet/minecraft/class_8;method_20(Z)Vnamed setCanOpenDoorsLnet/minecraft/entity/ai/pathing/PathNodeMaker;setCanOpenDoors(Z)V
-
setCanSwim
public void setCanSwim(boolean canSwim)
- Mappings:
Namespace Name Mixin selector official cLdfz;c(Z)Vintermediary method_14Lnet/minecraft/class_8;method_14(Z)Vnamed setCanSwimLnet/minecraft/entity/ai/pathing/PathNodeMaker;setCanSwim(Z)V
-
canEnterOpenDoors
public boolean canEnterOpenDoors()
- Mappings:
Namespace Name Mixin selector official cLdfz;c()Zintermediary method_23Lnet/minecraft/class_8;method_23()Znamed canEnterOpenDoorsLnet/minecraft/entity/ai/pathing/PathNodeMaker;canEnterOpenDoors()Z
-
canOpenDoors
public boolean canOpenDoors()
- Mappings:
Namespace Name Mixin selector official dLdfz;d()Zintermediary method_24Lnet/minecraft/class_8;method_24()Znamed canOpenDoorsLnet/minecraft/entity/ai/pathing/PathNodeMaker;canOpenDoors()Z
-
canSwim
public boolean canSwim()
- Mappings:
Namespace Name Mixin selector official eLdfz;e()Zintermediary method_22Lnet/minecraft/class_8;method_22()Znamed canSwimLnet/minecraft/entity/ai/pathing/PathNodeMaker;canSwim()Z
-
-