Package net.minecraft.entity.ai.pathing
Class AmphibiousPathNodeMaker
java.lang.Object
net.minecraft.entity.ai.pathing.PathNodeMaker
net.minecraft.entity.ai.pathing.LandPathNodeMaker
net.minecraft.entity.ai.pathing.AmphibiousPathNodeMaker
- Direct Known Subclasses:
- FrogEntity.FrogSwimPathNodeMaker
- Mappings:
- Namespace - Name - official - dxn- intermediary - net/minecraft/class_15- named - net/minecraft/entity/ai/pathing/AmphibiousPathNodeMaker
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate floatprivate floatprivate final booleanFields inherited from class net.minecraft.entity.ai.pathing.LandPathNodeMakerY_OFFSETFields inherited from class net.minecraft.entity.ai.pathing.PathNodeMakercachedWorld, canEnterOpenDoors, canOpenDoors, canSwim, canWalkOverFences, entity, entityBlockXSize, entityBlockYSize, entityBlockZSize, pathNodeCache
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidclear()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 doorsgetNode(double x, double y, double z) getStart()intgetSuccessors(PathNode[] successors, PathNode node) voidinit(ChunkCache cachedWorld, MobEntity entity) protected booleanprivate booleanisValidAquaticAdjacentSuccessor(@Nullable PathNode node, PathNode successor) Methods inherited from class net.minecraft.entity.ai.pathing.LandPathNodeMakeradjustNodeType, canPathThrough, findNearbyNodeTypes, getCommonNodeType, getFeetY, getFeetY, getLandNodeType, getNodeType, getNodeType, getNodeType, getNodeTypeFromNeighbors, getPathNode, getStart, inflictsFireDamage, isValidAdjacentSuccessor, isValidDiagonalSuccessorMethods inherited from class net.minecraft.entity.ai.pathing.PathNodeMakerasTargetPathNode, canEnterOpenDoors, canOpenDoors, canSwim, canWalkOverFences, getNode, getNode, setCanEnterOpenDoors, setCanOpenDoors, setCanSwim, setCanWalkOverFences
- 
Field Details- 
penalizeDeepWaterprivate final boolean penalizeDeepWater- Mappings:
- Namespace - Name - Mixin selector - official - l- Ldxn;l:Z- intermediary - field_28358- Lnet/minecraft/class_15;field_28358:Z- named - penalizeDeepWater- Lnet/minecraft/entity/ai/pathing/AmphibiousPathNodeMaker;penalizeDeepWater:Z
 
- 
oldWalkablePenaltyprivate float oldWalkablePenalty- Mappings:
- Namespace - Name - Mixin selector - official - m- Ldxn;m:F- intermediary - field_65- Lnet/minecraft/class_15;field_65:F- named - oldWalkablePenalty- Lnet/minecraft/entity/ai/pathing/AmphibiousPathNodeMaker;oldWalkablePenalty:F
 
- 
oldWaterBorderPenaltyprivate float oldWaterBorderPenalty- Mappings:
- Namespace - Name - Mixin selector - official - n- Ldxn;n:F- intermediary - field_64- Lnet/minecraft/class_15;field_64:F- named - oldWaterBorderPenalty- Lnet/minecraft/entity/ai/pathing/AmphibiousPathNodeMaker;oldWaterBorderPenalty:F
 
 
- 
- 
Constructor Details- 
AmphibiousPathNodeMakerpublic AmphibiousPathNodeMaker(boolean penalizeDeepWater) - Mappings:
- Namespace - Name - Mixin selector - official - <init>- Ldxn;<init>(Z)V- intermediary - <init>- Lnet/minecraft/class_15;<init>(Z)V- named - <init>- Lnet/minecraft/entity/ai/pathing/AmphibiousPathNodeMaker;<init>(Z)V
 
 
- 
- 
Method Details- 
init- Overrides:
- initin class- LandPathNodeMaker
- Mappings:
- Namespace - Name - Mixin selector - official - a- Ldxs;a(Lcmz;Lbgb;)V- intermediary - method_12- Lnet/minecraft/class_8;method_12(Lnet/minecraft/class_1950;Lnet/minecraft/class_1308;)V- named - init- Lnet/minecraft/entity/ai/pathing/PathNodeMaker;init(Lnet/minecraft/world/chunk/ChunkCache;Lnet/minecraft/entity/mob/MobEntity;)V
 
- 
clearpublic void clear()- Overrides:
- clearin class- LandPathNodeMaker
- Mappings:
- Namespace - Name - Mixin selector - official - b- Ldxs;b()V- intermediary - method_19- Lnet/minecraft/class_8;method_19()V- named - clear- Lnet/minecraft/entity/ai/pathing/PathNodeMaker;clear()V
 
- 
getStart- Overrides:
- getStartin class- LandPathNodeMaker
- Mappings:
- Namespace - Name - Mixin selector - official - a- Ldxs;a()Ldxr;- intermediary - method_21- Lnet/minecraft/class_8;method_21()Lnet/minecraft/class_9;- named - getStart- Lnet/minecraft/entity/ai/pathing/PathNodeMaker;getStart()Lnet/minecraft/entity/ai/pathing/PathNode;
 
- 
getNode- Overrides:
- getNodein class- LandPathNodeMaker
- Mappings:
- Namespace - Name - Mixin selector - official - a- Ldxs;a(DDD)Ldxx;- intermediary - method_16- Lnet/minecraft/class_8;method_16(DDD)Lnet/minecraft/class_4459;- named - getNode- Lnet/minecraft/entity/ai/pathing/PathNodeMaker;getNode(DDD)Lnet/minecraft/entity/ai/pathing/TargetPathNode;
 
- 
getSuccessors- Overrides:
- getSuccessorsin class- LandPathNodeMaker
- Mappings:
- Namespace - Name - Mixin selector - official - a- Ldxs;a([Ldxr;Ldxr;)I- intermediary - method_18- Lnet/minecraft/class_8;method_18([Lnet/minecraft/class_9;Lnet/minecraft/class_9;)I- named - getSuccessors- Lnet/minecraft/entity/ai/pathing/PathNodeMaker;getSuccessors([Lnet/minecraft/entity/ai/pathing/PathNode;Lnet/minecraft/entity/ai/pathing/PathNode;)I
 
- 
isValidAquaticAdjacentSuccessorprivate boolean isValidAquaticAdjacentSuccessor(@Nullable @Nullable PathNode node, PathNode successor) - Mappings:
- Namespace - Name - Mixin selector - official - b- Ldxn;b(Ldxr;Ldxr;)Z- intermediary - method_43413- Lnet/minecraft/class_15;method_43413(Lnet/minecraft/class_9;Lnet/minecraft/class_9;)Z- named - isValidAquaticAdjacentSuccessor- Lnet/minecraft/entity/ai/pathing/AmphibiousPathNodeMaker;isValidAquaticAdjacentSuccessor(Lnet/minecraft/entity/ai/pathing/PathNode;Lnet/minecraft/entity/ai/pathing/PathNode;)Z
 
- 
isAmphibiousprotected boolean isAmphibious()- Overrides:
- isAmphibiousin class- LandPathNodeMaker
- Mappings:
- Namespace - Name - Mixin selector - official - c- Ldxy;c()Z- intermediary - method_37004- Lnet/minecraft/class_14;method_37004()Z- named - isAmphibious- Lnet/minecraft/entity/ai/pathing/LandPathNodeMaker;isAmphibious()Z
 
- 
getDefaultNodeTypeGets the path node type at the given position without adjusting the node type according to whether the entity can enter or open doors- Overrides:
- getDefaultNodeTypein class- LandPathNodeMaker
- Mappings:
- Namespace - Name - Mixin selector - official - a- Ldxs;a(Lcls;III)Ldxp;- intermediary - method_17- Lnet/minecraft/class_8;method_17(Lnet/minecraft/class_1922;III)Lnet/minecraft/class_7;- named - getDefaultNodeType- Lnet/minecraft/entity/ai/pathing/PathNodeMaker;getDefaultNodeType(Lnet/minecraft/world/BlockView;III)Lnet/minecraft/entity/ai/pathing/PathNodeType;
 
 
-