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 named net/minecraft/entity/ai/pathing/AmphibiousPathNodeMakerintermediary net/minecraft/class_15official epn
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate floatprivate floatprivate final booleanFields inherited from class net.minecraft.entity.ai.pathing.LandPathNodeMaker
Y_OFFSETFields inherited from class net.minecraft.entity.ai.pathing.PathNodeMaker
canEnterOpenDoors, canOpenDoors, canSwim, canWalkOverFences, context, entity, entityBlockXSize, entityBlockYSize, entityBlockZSize, pathNodeCache -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()getDefaultNodeType(PathContext context, 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.LandPathNodeMaker
canPathThrough, getCollidingNodeTypes, getCommonNodeType, getFeetY, getFeetY, getLandNodeType, getLandNodeType, getNodeType, getNodeType, getNodeTypeFromNeighbors, getPathNode, getStart, isValidAdjacentSuccessor, isValidDiagonalSuccessor, isValidDiagonalSuccessorMethods inherited from class net.minecraft.entity.ai.pathing.PathNodeMaker
canEnterOpenDoors, canOpenDoors, canSwim, canWalkOverFences, createNode, getDefaultNodeType, getNode, getNode, isFireDamaging, setCanEnterOpenDoors, setCanOpenDoors, setCanSwim, setCanWalkOverFences
-
Field Details
-
penalizeDeepWater
private final boolean penalizeDeepWater- Mappings:
Namespace Name Mixin selector named penalizeDeepWaterLnet/minecraft/entity/ai/pathing/AmphibiousPathNodeMaker;penalizeDeepWater:Zintermediary field_28358Lnet/minecraft/class_15;field_28358:Zofficial lLepn;l:Z
-
oldWalkablePenalty
private float oldWalkablePenalty- Mappings:
Namespace Name Mixin selector named oldWalkablePenaltyLnet/minecraft/entity/ai/pathing/AmphibiousPathNodeMaker;oldWalkablePenalty:Fintermediary field_65Lnet/minecraft/class_15;field_65:Fofficial mLepn;m:F
-
oldWaterBorderPenalty
private float oldWaterBorderPenalty- Mappings:
Namespace Name Mixin selector named oldWaterBorderPenaltyLnet/minecraft/entity/ai/pathing/AmphibiousPathNodeMaker;oldWaterBorderPenalty:Fintermediary field_64Lnet/minecraft/class_15;field_64:Fofficial nLepn;n:F
-
-
Constructor Details
-
AmphibiousPathNodeMaker
public AmphibiousPathNodeMaker(boolean penalizeDeepWater) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/entity/ai/pathing/AmphibiousPathNodeMaker;<init>(Z)Vintermediary <init>Lnet/minecraft/class_15;<init>(Z)Vofficial <init>Lepn;<init>(Z)V
-
-
Method Details
-
init
- Overrides:
initin classLandPathNodeMaker- Mappings:
Namespace Name Mixin selector named initLnet/minecraft/entity/ai/pathing/PathNodeMaker;init(Lnet/minecraft/world/chunk/ChunkCache;Lnet/minecraft/entity/mob/MobEntity;)Vintermediary method_12Lnet/minecraft/class_8;method_12(Lnet/minecraft/class_1950;Lnet/minecraft/class_1308;)Vofficial aLepr;a(Lddj;Lbtp;)V
-
clear
public void clear()- Overrides:
clearin classLandPathNodeMaker- Mappings:
Namespace Name Mixin selector named clearLnet/minecraft/entity/ai/pathing/PathNodeMaker;clear()Vintermediary method_19Lnet/minecraft/class_8;method_19()Vofficial bLepr;b()V
-
getStart
- Overrides:
getStartin classLandPathNodeMaker- Mappings:
Namespace Name Mixin selector named getStartLnet/minecraft/entity/ai/pathing/PathNodeMaker;getStart()Lnet/minecraft/entity/ai/pathing/PathNode;intermediary method_21Lnet/minecraft/class_8;method_21()Lnet/minecraft/class_9;official aLepr;a()Lepq;
-
getNode
- Overrides:
getNodein classLandPathNodeMaker- Mappings:
Namespace Name Mixin selector named getNodeLnet/minecraft/entity/ai/pathing/PathNodeMaker;getNode(DDD)Lnet/minecraft/entity/ai/pathing/TargetPathNode;intermediary method_16Lnet/minecraft/class_8;method_16(DDD)Lnet/minecraft/class_4459;official aLepr;a(DDD)Lepz;
-
getSuccessors
- Overrides:
getSuccessorsin classLandPathNodeMaker- Mappings:
Namespace Name Mixin selector named getSuccessorsLnet/minecraft/entity/ai/pathing/PathNodeMaker;getSuccessors([Lnet/minecraft/entity/ai/pathing/PathNode;Lnet/minecraft/entity/ai/pathing/PathNode;)Iintermediary method_18Lnet/minecraft/class_8;method_18([Lnet/minecraft/class_9;Lnet/minecraft/class_9;)Iofficial aLepr;a([Lepq;Lepq;)I
-
isValidAquaticAdjacentSuccessor
private boolean isValidAquaticAdjacentSuccessor(@Nullable @Nullable PathNode node, PathNode successor) - Mappings:
Namespace Name Mixin selector named isValidAquaticAdjacentSuccessorLnet/minecraft/entity/ai/pathing/AmphibiousPathNodeMaker;isValidAquaticAdjacentSuccessor(Lnet/minecraft/entity/ai/pathing/PathNode;Lnet/minecraft/entity/ai/pathing/PathNode;)Zintermediary method_43413Lnet/minecraft/class_15;method_43413(Lnet/minecraft/class_9;Lnet/minecraft/class_9;)Zofficial bLepn;b(Lepq;Lepq;)Z
-
isAmphibious
protected boolean isAmphibious()- Overrides:
isAmphibiousin classLandPathNodeMaker- Mappings:
Namespace Name Mixin selector named isAmphibiousLnet/minecraft/entity/ai/pathing/LandPathNodeMaker;isAmphibious()Zintermediary method_37004Lnet/minecraft/class_14;method_37004()Zofficial cLeqa;c()Z
-
getDefaultNodeType
Gets 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 classLandPathNodeMaker- Mappings:
Namespace Name Mixin selector named getDefaultNodeTypeLnet/minecraft/entity/ai/pathing/PathNodeMaker;getDefaultNodeType(Lnet/minecraft/entity/ai/pathing/PathContext;III)Lnet/minecraft/entity/ai/pathing/PathNodeType;intermediary method_17Lnet/minecraft/class_8;method_17(Lnet/minecraft/class_9316;III)Lnet/minecraft/class_7;official aLepr;a(Lepx;III)Lepv;
-