Uses of Enum Class
net.minecraft.world.level.pathfinder.BlockPathTypes
Package
Description
-
Uses of BlockPathTypes in net.minecraft.world.entity
Modifier and TypeMethodDescriptionfloat
Mob.getPathfindingMalus
(BlockPathTypes p_21440_) void
Mob.setPathfindingMalus
(BlockPathTypes p_21442_, float p_21443_) -
Uses of BlockPathTypes in net.minecraft.world.entity.animal.frog
Modifier and TypeMethodDescriptionFrog.FrogNodeEvaluator.getBlockPathType
(BlockGetter p_218551_, int p_218552_, int p_218553_, int p_218554_) Modifier and TypeMethodDescriptionboolean
Frog.FrogPathNavigation.canCutCorner
(BlockPathTypes p_265335_) -
Uses of BlockPathTypes in net.minecraft.world.entity.monster
Modifier and TypeMethodDescriptionprotected boolean
Strider.StriderPathNavigation.hasValidPathType
(BlockPathTypes p_33974_) -
Uses of BlockPathTypes in net.minecraft.world.level.pathfinder
Modifier and TypeFieldDescriptionprivate final it.unimi.dsi.fastutil.longs.Long2ObjectMap<BlockPathTypes>
FlyNodeEvaluator.pathTypeByPosCache
private final it.unimi.dsi.fastutil.longs.Long2ObjectMap<BlockPathTypes>
SwimNodeEvaluator.pathTypesByPosCache
private final it.unimi.dsi.fastutil.longs.Long2ObjectMap<BlockPathTypes>
WalkNodeEvaluator.pathTypesByPosCache
Modifier and TypeMethodDescriptionstatic BlockPathTypes
WalkNodeEvaluator.checkNeighbourBlocks
(BlockGetter p_77608_, BlockPos.MutableBlockPos p_77609_, BlockPathTypes p_77610_) static BlockPathTypes
protected BlockPathTypes
WalkNodeEvaluator.evaluateBlockPathType
(BlockGetter p_265305_, BlockPos p_265350_, BlockPathTypes p_265551_) AmphibiousNodeEvaluator.getBlockPathType
(BlockGetter p_164666_, int p_164667_, int p_164668_, int p_164669_) FlyNodeEvaluator.getBlockPathType
(BlockGetter p_77245_, int p_77246_, int p_77247_, int p_77248_) FlyNodeEvaluator.getBlockPathType
(BlockGetter p_265753_, int p_265243_, int p_265376_, int p_265253_, Mob p_265367_) abstract BlockPathTypes
NodeEvaluator.getBlockPathType
(BlockGetter p_77333_, int p_77334_, int p_77335_, int p_77336_) abstract BlockPathTypes
NodeEvaluator.getBlockPathType
(BlockGetter p_77337_, int p_77338_, int p_77339_, int p_77340_, Mob p_77341_) SwimNodeEvaluator.getBlockPathType
(BlockGetter p_77467_, int p_77468_, int p_77469_, int p_77470_) SwimNodeEvaluator.getBlockPathType
(BlockGetter p_77472_, int p_77473_, int p_77474_, int p_77475_, Mob p_77476_) protected BlockPathTypes
WalkNodeEvaluator.getBlockPathType
(Mob p_77573_, BlockPos p_77574_) WalkNodeEvaluator.getBlockPathType
(BlockGetter p_77576_, int p_77577_, int p_77578_, int p_77579_) WalkNodeEvaluator.getBlockPathType
(BlockGetter p_265141_, int p_265661_, int p_265757_, int p_265716_, Mob p_265398_) protected static BlockPathTypes
WalkNodeEvaluator.getBlockPathTypeRaw
(BlockGetter p_77644_, BlockPos p_77645_) WalkNodeEvaluator.getBlockPathTypes
(BlockGetter p_265227_, int p_265066_, int p_265537_, int p_265771_, EnumSet<BlockPathTypes> p_265263_, BlockPathTypes p_265458_, BlockPos p_265515_) static BlockPathTypes
WalkNodeEvaluator.getBlockPathTypeStatic
(BlockGetter p_77605_, BlockPos.MutableBlockPos p_77606_) private BlockPathTypes
FlyNodeEvaluator.getCachedBlockPathType
(int p_164694_, int p_164695_, int p_164696_) protected BlockPathTypes
SwimNodeEvaluator.getCachedBlockType
(int p_192968_, int p_192969_, int p_192970_) protected BlockPathTypes
WalkNodeEvaluator.getCachedBlockType
(Mob p_77568_, int p_77569_, int p_77570_, int p_77571_) @Nullable BlockPathTypes
BlockPathTypes.getDanger()
static BlockPathTypes
Returns the enum constant of this class with the specified name.static BlockPathTypes[]
BlockPathTypes.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionstatic BlockPathTypes
WalkNodeEvaluator.checkNeighbourBlocks
(BlockGetter p_77608_, BlockPos.MutableBlockPos p_77609_, BlockPathTypes p_77610_) private static boolean
WalkNodeEvaluator.doesBlockHavePartialCollision
(BlockPathTypes p_230626_) protected BlockPathTypes
WalkNodeEvaluator.evaluateBlockPathType
(BlockGetter p_265305_, BlockPos p_265350_, BlockPathTypes p_265551_) protected Node
WalkNodeEvaluator.findAcceptedNode
(int p_164726_, int p_164727_, int p_164728_, int p_164729_, double p_164730_, Direction p_164731_, BlockPathTypes p_164732_) WalkNodeEvaluator.getBlockPathTypes
(BlockGetter p_265227_, int p_265066_, int p_265537_, int p_265771_, EnumSet<BlockPathTypes> p_265263_, BlockPathTypes p_265458_, BlockPos p_265515_) private Node
WalkNodeEvaluator.getNodeAndUpdateCostToMax
(int p_230620_, int p_230621_, int p_230622_, BlockPathTypes p_230623_, float p_230624_) Modifier and TypeMethodDescriptionWalkNodeEvaluator.getBlockPathTypes
(BlockGetter p_265227_, int p_265066_, int p_265537_, int p_265771_, EnumSet<BlockPathTypes> p_265263_, BlockPathTypes p_265458_, BlockPos p_265515_) -
Uses of BlockPathTypes in net.neoforged.neoforge.common.extensions
Modifier and TypeMethodDescriptiondefault @Nullable BlockPathTypes
IBlockExtension.getAdjacentBlockPathType
(BlockState state, BlockGetter level, BlockPos pos, @Nullable Mob mob, BlockPathTypes originalType) Gets the path type of the adjacent block to a pathfinding entity.default @Nullable BlockPathTypes
IBlockStateExtension.getAdjacentBlockPathType
(BlockGetter level, BlockPos pos, @Nullable Mob mob, BlockPathTypes originalType) Gets the path type of the adjacent block to a pathfinding entity.default @Nullable BlockPathTypes
IFluidExtension.getAdjacentBlockPathType
(FluidState state, BlockGetter level, BlockPos pos, @Nullable Mob mob, BlockPathTypes originalType) Gets the path type of the adjacent fluid to a pathfinding entity.default @Nullable BlockPathTypes
IFluidStateExtension.getAdjacentBlockPathType
(BlockGetter level, BlockPos pos, @Nullable Mob mob, BlockPathTypes originalType) Gets the path type of the adjacent fluid to a pathfinding entity.default @Nullable BlockPathTypes
IBlockExtension.getBlockPathType
(BlockState state, BlockGetter level, BlockPos pos, @Nullable Mob mob) Gets the path type of this block when an entity is pathfinding.default @Nullable BlockPathTypes
IBlockStateExtension.getBlockPathType
(BlockGetter level, BlockPos pos, @Nullable Mob mob) Gets the path type of this block when an entity is pathfinding.default @Nullable BlockPathTypes
IFluidExtension.getBlockPathType
(FluidState state, BlockGetter level, BlockPos pos, @Nullable Mob mob, boolean canFluidLog) Gets the path type of this fluid when an entity is pathfinding.default @Nullable BlockPathTypes
IFluidStateExtension.getBlockPathType
(BlockGetter level, BlockPos pos, @Nullable Mob mob, boolean canFluidLog) Gets the path type of this fluid when an entity is pathfinding.Modifier and TypeMethodDescriptiondefault @Nullable BlockPathTypes
IBlockExtension.getAdjacentBlockPathType
(BlockState state, BlockGetter level, BlockPos pos, @Nullable Mob mob, BlockPathTypes originalType) Gets the path type of the adjacent block to a pathfinding entity.default @Nullable BlockPathTypes
IBlockStateExtension.getAdjacentBlockPathType
(BlockGetter level, BlockPos pos, @Nullable Mob mob, BlockPathTypes originalType) Gets the path type of the adjacent block to a pathfinding entity.default @Nullable BlockPathTypes
IFluidExtension.getAdjacentBlockPathType
(FluidState state, BlockGetter level, BlockPos pos, @Nullable Mob mob, BlockPathTypes originalType) Gets the path type of the adjacent fluid to a pathfinding entity.default @Nullable BlockPathTypes
IFluidStateExtension.getAdjacentBlockPathType
(BlockGetter level, BlockPos pos, @Nullable Mob mob, BlockPathTypes originalType) Gets the path type of the adjacent fluid to a pathfinding entity. -
Uses of BlockPathTypes in net.neoforged.neoforge.fluids
Modifier and TypeFieldDescriptionprivate final @Nullable BlockPathTypes
FluidType.adjacentPathType
private @Nullable BlockPathTypes
FluidType.Properties.adjacentPathType
private final @Nullable BlockPathTypes
FluidType.pathType
private @Nullable BlockPathTypes
FluidType.Properties.pathType
Modifier and TypeMethodDescription@Nullable BlockPathTypes
FluidType.getAdjacentBlockPathType
(FluidState state, BlockGetter level, BlockPos pos, @Nullable Mob mob, BlockPathTypes originalType) Gets the path type of the adjacent fluid to a pathfinding entity.@Nullable BlockPathTypes
FluidType.getBlockPathType
(FluidState state, BlockGetter level, BlockPos pos, @Nullable Mob mob, boolean canFluidLog) Gets the path type of this fluid when an entity is pathfinding.Modifier and TypeMethodDescriptionFluidType.Properties.adjacentPathType
(@Nullable BlockPathTypes adjacentPathType) Sets the path type of the adjacent fluid.@Nullable BlockPathTypes
FluidType.getAdjacentBlockPathType
(FluidState state, BlockGetter level, BlockPos pos, @Nullable Mob mob, BlockPathTypes originalType) Gets the path type of the adjacent fluid to a pathfinding entity.FluidType.Properties.pathType
(@Nullable BlockPathTypes pathType) Sets the path type of this fluid.