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/AmphibiousPathNodeMaker
intermediary net/minecraft/class_15
official epn
-
Field Summary
Modifier and TypeFieldDescriptionprivate float
private float
private final boolean
Fields inherited from class net.minecraft.entity.ai.pathing.LandPathNodeMaker
Y_OFFSET
Fields inherited from class net.minecraft.entity.ai.pathing.PathNodeMaker
canEnterOpenDoors, canOpenDoors, canSwim, canWalkOverFences, context, entity, entityBlockXSize, entityBlockYSize, entityBlockZSize, pathNodeCache
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
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()
int
getSuccessors
(PathNode[] successors, PathNode node) void
init
(ChunkCache cachedWorld, MobEntity entity) protected boolean
private boolean
isValidAquaticAdjacentSuccessor
(@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, isValidDiagonalSuccessor
Methods 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 penalizeDeepWater
Lnet/minecraft/entity/ai/pathing/AmphibiousPathNodeMaker;penalizeDeepWater:Z
intermediary field_28358
Lnet/minecraft/class_15;field_28358:Z
official l
Lepn;l:Z
-
oldWalkablePenalty
private float oldWalkablePenalty- Mappings:
Namespace Name Mixin selector named oldWalkablePenalty
Lnet/minecraft/entity/ai/pathing/AmphibiousPathNodeMaker;oldWalkablePenalty:F
intermediary field_65
Lnet/minecraft/class_15;field_65:F
official m
Lepn;m:F
-
oldWaterBorderPenalty
private float oldWaterBorderPenalty- Mappings:
Namespace Name Mixin selector named oldWaterBorderPenalty
Lnet/minecraft/entity/ai/pathing/AmphibiousPathNodeMaker;oldWaterBorderPenalty:F
intermediary field_64
Lnet/minecraft/class_15;field_64:F
official n
Lepn;n:F
-
-
Constructor Details
-
AmphibiousPathNodeMaker
public AmphibiousPathNodeMaker(boolean penalizeDeepWater) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/entity/ai/pathing/AmphibiousPathNodeMaker;<init>(Z)V
intermediary <init>
Lnet/minecraft/class_15;<init>(Z)V
official <init>
Lepn;<init>(Z)V
-
-
Method Details
-
init
- Overrides:
init
in classLandPathNodeMaker
- Mappings:
Namespace Name Mixin selector named init
Lnet/minecraft/entity/ai/pathing/PathNodeMaker;init(Lnet/minecraft/world/chunk/ChunkCache;Lnet/minecraft/entity/mob/MobEntity;)V
intermediary method_12
Lnet/minecraft/class_8;method_12(Lnet/minecraft/class_1950;Lnet/minecraft/class_1308;)V
official a
Lepr;a(Lddj;Lbtp;)V
-
clear
public void clear()- Overrides:
clear
in classLandPathNodeMaker
- Mappings:
Namespace Name Mixin selector named clear
Lnet/minecraft/entity/ai/pathing/PathNodeMaker;clear()V
intermediary method_19
Lnet/minecraft/class_8;method_19()V
official b
Lepr;b()V
-
getStart
- Overrides:
getStart
in classLandPathNodeMaker
- Mappings:
Namespace Name Mixin selector named getStart
Lnet/minecraft/entity/ai/pathing/PathNodeMaker;getStart()Lnet/minecraft/entity/ai/pathing/PathNode;
intermediary method_21
Lnet/minecraft/class_8;method_21()Lnet/minecraft/class_9;
official a
Lepr;a()Lepq;
-
getNode
- Overrides:
getNode
in classLandPathNodeMaker
- Mappings:
Namespace Name Mixin selector named getNode
Lnet/minecraft/entity/ai/pathing/PathNodeMaker;getNode(DDD)Lnet/minecraft/entity/ai/pathing/TargetPathNode;
intermediary method_16
Lnet/minecraft/class_8;method_16(DDD)Lnet/minecraft/class_4459;
official a
Lepr;a(DDD)Lepz;
-
getSuccessors
- Overrides:
getSuccessors
in classLandPathNodeMaker
- Mappings:
Namespace Name Mixin selector named getSuccessors
Lnet/minecraft/entity/ai/pathing/PathNodeMaker;getSuccessors([Lnet/minecraft/entity/ai/pathing/PathNode;Lnet/minecraft/entity/ai/pathing/PathNode;)I
intermediary method_18
Lnet/minecraft/class_8;method_18([Lnet/minecraft/class_9;Lnet/minecraft/class_9;)I
official a
Lepr;a([Lepq;Lepq;)I
-
isValidAquaticAdjacentSuccessor
private boolean isValidAquaticAdjacentSuccessor(@Nullable @Nullable PathNode node, PathNode successor) - Mappings:
Namespace Name Mixin selector named isValidAquaticAdjacentSuccessor
Lnet/minecraft/entity/ai/pathing/AmphibiousPathNodeMaker;isValidAquaticAdjacentSuccessor(Lnet/minecraft/entity/ai/pathing/PathNode;Lnet/minecraft/entity/ai/pathing/PathNode;)Z
intermediary method_43413
Lnet/minecraft/class_15;method_43413(Lnet/minecraft/class_9;Lnet/minecraft/class_9;)Z
official b
Lepn;b(Lepq;Lepq;)Z
-
isAmphibious
protected boolean isAmphibious()- Overrides:
isAmphibious
in classLandPathNodeMaker
- Mappings:
Namespace Name Mixin selector named isAmphibious
Lnet/minecraft/entity/ai/pathing/LandPathNodeMaker;isAmphibious()Z
intermediary method_37004
Lnet/minecraft/class_14;method_37004()Z
official c
Leqa;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:
getDefaultNodeType
in classLandPathNodeMaker
- Mappings:
Namespace Name Mixin selector named getDefaultNodeType
Lnet/minecraft/entity/ai/pathing/PathNodeMaker;getDefaultNodeType(Lnet/minecraft/entity/ai/pathing/PathContext;III)Lnet/minecraft/entity/ai/pathing/PathNodeType;
intermediary method_17
Lnet/minecraft/class_8;method_17(Lnet/minecraft/class_9316;III)Lnet/minecraft/class_7;
official a
Lepr;a(Lepx;III)Lepv;
-