Package me.gamercoder215.mobchip.ai.goal
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 me.gamercoder215.mobchip.ai.goal.Pathfinder
Pathfinder.PathfinderFlag
-
Field Summary
Fields inherited from class me.gamercoder215.mobchip.ai.goal.Pathfinder
entity
Fields inherited from interface me.gamercoder215.mobchip.ai.goal.WorldSpecific
WORLD_NULL
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a PathfinderClimbPowderedSnow with the current world.Constructs a PathfinderClimbPowderedSnow. -
Method Summary
Methods inherited from class me.gamercoder215.mobchip.ai.goal.Pathfinder
getEntity
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface me.gamercoder215.mobchip.ai.goal.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:WorldSpecific
Get the world of this WorldSpecific.- Specified by:
getWorld
in interfaceWorldSpecific
- Returns:
- World
-
setWorld
Description copied from interface:WorldSpecific
Sets the world of this WorldSpecific.- Specified by:
setWorld
in interfaceWorldSpecific
- Parameters:
w
- World to set- Throws:
IllegalArgumentException
- if world is null
-
getFlags
Description copied from class:Pathfinder
Fetches an Array of Flags that this Pathfinder has.
- Specified by:
getFlags
in classPathfinder
- Returns:
- Array of Pathfinder Flags
-
getInternalName
Description copied from interface:PathfinderInfo
Returns the NMS Internal Name.- Specified by:
getInternalName
in interfacePathfinderInfo
- Returns:
- Internal Name
-