Class PathfinderClimbPowderedSnow
java.lang.Object
me.gamercoder215.mobchip.ai.goal.Pathfinder
me.gamercoder215.mobchip.ai.goal.PathfinderClimbPowderedSnow
- All Implemented Interfaces:
PathfinderInfo, WorldSpecific
Represents a Pathfinder to climb on Powdered Snow
-
Nested Class Summary
Nested classes/interfaces inherited from class Pathfinder
Pathfinder.PathfinderFlag -
Field Summary
Fields inherited from class Pathfinder
entityFields inherited from interface WorldSpecific
WORLD_NULL -
Constructor Summary
ConstructorsConstructorDescriptionPathfinderClimbPowderedSnow(@NotNull Mob m) Constructs a PathfinderClimbPowderedSnow with the current world.PathfinderClimbPowderedSnow(@NotNull Mob m, @NotNull World w) Constructs a PathfinderClimbPowderedSnow. -
Method Summary
Modifier and TypeMethodDescription@NotNull Pathfinder.PathfinderFlag[]getFlags()Fetches an Array of Flags that this Pathfinder has.Returns the pathfinder's internal name.@NotNull WorldgetWorld()Get the world of this WorldSpecific.voidSets the world of this WorldSpecific.Methods inherited from class Pathfinder
getEntityMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface PathfinderInfo
getName
-
Constructor Details
-
PathfinderClimbPowderedSnow
Constructs a PathfinderClimbPowderedSnow with the current world.- Parameters:
m- Mob to use
-
PathfinderClimbPowderedSnow
public PathfinderClimbPowderedSnow(@NotNull @NotNull Mob m, @NotNull @NotNull World w) throws IllegalArgumentException Constructs a PathfinderClimbPowderedSnow.- Parameters:
m- Mob to usew- World to use- Throws:
IllegalArgumentException- if world is null
-
-
Method Details
-
getWorld
Description copied from interface:WorldSpecificGet the world of this WorldSpecific.- Specified by:
getWorldin interfaceWorldSpecific- Returns:
- World
-
setWorld
Description copied from interface:WorldSpecificSets the world of this WorldSpecific.- Specified by:
setWorldin interfaceWorldSpecific- Parameters:
w- World to set- Throws:
IllegalArgumentException- if world is null
-
getFlags
Description copied from class:PathfinderFetches an Array of Flags that this Pathfinder has.
- Specified by:
getFlagsin classPathfinder- Returns:
- Array of Pathfinder Flags
-
getInternalName
Description copied from interface:PathfinderInfoReturns the pathfinder's internal name. This may match the actual NMS name of the pathfinder, but it may not.- Specified by:
getInternalNamein interfacePathfinderInfo- Returns:
- Internal Name
-