Package net.minecraft.entity.ai
Class NavigationConditions
java.lang.Object
net.minecraft.entity.ai.NavigationConditions
public class NavigationConditions extends Object
- Mappings:
Namespace Name official bbjintermediary net/minecraft/class_5493named net/minecraft/entity/ai/NavigationConditions
-
Constructor Summary
Constructors Constructor Description NavigationConditions() -
Method Summary
Modifier and Type Method Description static booleanhasMobNavigation(MobEntity entity)static booleanhasPathfindingPenalty(PathAwareEntity entity, BlockPos pos)static booleanisHeightInvalid(BlockPos pos, PathAwareEntity entity)static booleanisInvalidPosition(EntityNavigation navigation, BlockPos pos)static booleanisPositionTargetInRange(PathAwareEntity entity, int extraDistance)static booleanisPositionTargetOutOfWalkRange(boolean posTargetInRange, PathAwareEntity entity, BlockPos pos)static booleanisSolidAt(PathAwareEntity entity, BlockPos pos)static booleanisWaterAt(PathAwareEntity entity, BlockPos pos)
-
Constructor Details
-
NavigationConditions
public NavigationConditions()
-
-
Method Details
-
isPositionTargetInRange
- Mappings:
Namespace Name Mixin selector official aLbbj;a(Lasj;I)Zintermediary method_31517Lnet/minecraft/class_5493;method_31517(Lnet/minecraft/class_1314;I)Znamed isPositionTargetInRangeLnet/minecraft/entity/ai/NavigationConditions;isPositionTargetInRange(Lnet/minecraft/entity/mob/PathAwareEntity;I)Z
-
isHeightInvalid
- Mappings:
Namespace Name Mixin selector official aLbbj;a(Lfx;Lasj;)Zintermediary method_31520Lnet/minecraft/class_5493;method_31520(Lnet/minecraft/class_2338;Lnet/minecraft/class_1314;)Znamed isHeightInvalidLnet/minecraft/entity/ai/NavigationConditions;isHeightInvalid(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/mob/PathAwareEntity;)Z
-
isPositionTargetOutOfWalkRange
public static boolean isPositionTargetOutOfWalkRange(boolean posTargetInRange, PathAwareEntity entity, BlockPos pos)- Mappings:
Namespace Name Mixin selector official aLbbj;a(ZLasj;Lfx;)Zintermediary method_31521Lnet/minecraft/class_5493;method_31521(ZLnet/minecraft/class_1314;Lnet/minecraft/class_2338;)Znamed isPositionTargetOutOfWalkRangeLnet/minecraft/entity/ai/NavigationConditions;isPositionTargetOutOfWalkRange(ZLnet/minecraft/entity/mob/PathAwareEntity;Lnet/minecraft/util/math/BlockPos;)Z
-
isWaterAt
- Mappings:
Namespace Name Mixin selector official aLbbj;a(Lasj;Lfx;)Zintermediary method_31518Lnet/minecraft/class_5493;method_31518(Lnet/minecraft/class_1314;Lnet/minecraft/class_2338;)Znamed isWaterAtLnet/minecraft/entity/ai/NavigationConditions;isWaterAt(Lnet/minecraft/entity/mob/PathAwareEntity;Lnet/minecraft/util/math/BlockPos;)Z
-
hasPathfindingPenalty
- Mappings:
Namespace Name Mixin selector official bLbbj;b(Lasj;Lfx;)Zintermediary method_31522Lnet/minecraft/class_5493;method_31522(Lnet/minecraft/class_1314;Lnet/minecraft/class_2338;)Znamed hasPathfindingPenaltyLnet/minecraft/entity/ai/NavigationConditions;hasPathfindingPenalty(Lnet/minecraft/entity/mob/PathAwareEntity;Lnet/minecraft/util/math/BlockPos;)Z
-
isSolidAt
- Mappings:
Namespace Name Mixin selector official cLbbj;c(Lasj;Lfx;)Zintermediary method_31523Lnet/minecraft/class_5493;method_31523(Lnet/minecraft/class_1314;Lnet/minecraft/class_2338;)Znamed isSolidAtLnet/minecraft/entity/ai/NavigationConditions;isSolidAt(Lnet/minecraft/entity/mob/PathAwareEntity;Lnet/minecraft/util/math/BlockPos;)Z