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
- Mappings:
Namespace Name official dhs
intermediary net/minecraft/class_15
named net/minecraft/entity/ai/pathing/AmphibiousPathNodeMaker
-
Field Summary
Modifier and TypeFieldDescriptionprivate float
private float
private final boolean
Fields inherited from class net.minecraft.entity.ai.pathing.LandPathNodeMaker
waterPathNodeTypeWeight, Y_OFFSET
Fields inherited from class net.minecraft.entity.ai.pathing.PathNodeMaker
cachedWorld, canEnterOpenDoors, canOpenDoors, canSwim, entity, entityBlockXSize, entityBlockYSize, entityBlockZSize, pathNodeCache
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
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()
int
getSuccessors
(PathNode[] successors, PathNode node) void
init
(ChunkCache cachedWorld, MobEntity entity) protected double
method_37003
(BlockPos blockPos) protected boolean
Methods inherited from class net.minecraft.entity.ai.pathing.LandPathNodeMaker
adjustNodeType, findNearbyNodeTypes, getCommonNodeType, getFeetY, getLandNodeType, getNodeType, getNodeType, getNodeTypeFromNeighbors, getPathNode, inflictsFireDamage, isValidAdjacentSuccessor, isValidDiagonalSuccessor
Methods inherited from class net.minecraft.entity.ai.pathing.PathNodeMaker
canEnterOpenDoors, canOpenDoors, canSwim, getNode, getNode, setCanEnterOpenDoors, setCanOpenDoors, setCanSwim
-
Field Details
-
penaliseDeepWater
private final boolean penaliseDeepWater- Mappings:
Namespace Name Mixin selector official l
Ldhs;l:Z
intermediary field_28358
Lnet/minecraft/class_15;field_28358:Z
named penaliseDeepWater
Lnet/minecraft/entity/ai/pathing/AmphibiousPathNodeMaker;penaliseDeepWater:Z
-
oldWalkablePenalty
private float oldWalkablePenalty- Mappings:
Namespace Name Mixin selector official m
Ldhs;m:F
intermediary field_65
Lnet/minecraft/class_15;field_65:F
named oldWalkablePenalty
Lnet/minecraft/entity/ai/pathing/AmphibiousPathNodeMaker;oldWalkablePenalty:F
-
oldWaterBorderPenalty
private float oldWaterBorderPenalty- Mappings:
Namespace Name Mixin selector official n
Ldhs;n:F
intermediary field_64
Lnet/minecraft/class_15;field_64:F
named oldWaterBorderPenalty
Lnet/minecraft/entity/ai/pathing/AmphibiousPathNodeMaker;oldWaterBorderPenalty:F
-
-
Constructor Details
-
AmphibiousPathNodeMaker
public AmphibiousPathNodeMaker(boolean penaliseDeepWater) - Mappings:
Namespace Name Mixin selector official <init>
Ldhs;<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:
init
in classLandPathNodeMaker
- Mappings:
Namespace Name Mixin selector official a
Ldhx;a(Lcaj;Laxc;)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
-
clear
public void clear()- Overrides:
clear
in classLandPathNodeMaker
- Mappings:
Namespace Name Mixin selector official a
Ldhx;a()V
intermediary method_19
Lnet/minecraft/class_8;method_19()V
named clear
Lnet/minecraft/entity/ai/pathing/PathNodeMaker;clear()V
-
getStart
- Overrides:
getStart
in classLandPathNodeMaker
- Mappings:
Namespace Name Mixin selector official b
Ldhx;b()Ldhw;
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:
getNode
in classLandPathNodeMaker
- Mappings:
Namespace Name Mixin selector official a
Ldhx;a(DDD)Ldic;
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:
getSuccessors
in classLandPathNodeMaker
- Mappings:
Namespace Name Mixin selector official a
Ldhx;a([Ldhw;Ldhw;)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
-
method_37003
- Overrides:
method_37003
in classLandPathNodeMaker
- Mappings:
Namespace Name Mixin selector official a
Ldid;a(Lgh;)D
intermediary method_37003
Lnet/minecraft/class_14;method_37003(Lnet/minecraft/class_2338;)D
named method_37003
Lnet/minecraft/entity/ai/pathing/LandPathNodeMaker;method_37003(Lnet/minecraft/util/math/BlockPos;)D
-
method_37004
protected boolean method_37004()- Overrides:
method_37004
in classLandPathNodeMaker
- Mappings:
Namespace Name Mixin selector official c
Ldid;c()Z
intermediary method_37004
Lnet/minecraft/class_14;method_37004()Z
named method_37004
Lnet/minecraft/entity/ai/pathing/LandPathNodeMaker;method_37004()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 official a
Ldhx;a(Lbzc;III)Ldhu;
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;
-