Class PFPathingEntity
java.lang.Object
net.minestom.server.entity.pathfinding.PFPathingEntity
- All Implemented Interfaces:
com.extollit.gaming.ai.path.model.IDynamicMovableObject
,com.extollit.gaming.ai.path.model.IPathingEntity
@Internal
public final class PFPathingEntity
extends Object
implements com.extollit.gaming.ai.path.model.IPathingEntity
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.extollit.gaming.ai.path.model.IPathingEntity
com.extollit.gaming.ai.path.model.IPathingEntity.Capabilities
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
age()
boolean
bound()
com.extollit.gaming.ai.path.model.IPathingEntity.Capabilities
com.extollit.linalg.immutable.Vec3d
float
height()
boolean
boolean
boolean
isAvian()
boolean
boolean
boolean
boolean
boolean
boolean
void
moveTo
(com.extollit.linalg.immutable.Vec3d position, com.extollit.gaming.ai.path.model.Passibility passibility, com.extollit.gaming.ai.path.model.Gravitation gravitation) float
void
setAquaphobic
(boolean aquaphobic) void
setAquatic
(boolean aquatic) void
setAvian
(boolean avian) void
setAvoidsDoorways
(boolean avoidsDoorways) void
setCautious
(boolean cautious) void
setClimber
(boolean climber) void
setFireResistant
(boolean fireResistant) void
setOpensDoors
(boolean opensDoors) void
setSearchRange
(float searchRange) Changes the search range of the entityvoid
setSwimmer
(boolean swimmer) float
width()
-
Constructor Details
-
Method Details
-
age
public int age()- Specified by:
age
in interfacecom.extollit.gaming.ai.path.model.IPathingEntity
-
bound
public boolean bound()- Specified by:
bound
in interfacecom.extollit.gaming.ai.path.model.IPathingEntity
-
searchRange
public float searchRange()- Specified by:
searchRange
in interfacecom.extollit.gaming.ai.path.model.IPathingEntity
-
setSearchRange
public void setSearchRange(float searchRange) Changes the search range of the entity- Parameters:
searchRange
- the new entity's search range
-
isFireResistant
public boolean isFireResistant() -
setFireResistant
public void setFireResistant(boolean fireResistant) -
isCautious
public boolean isCautious() -
setCautious
public void setCautious(boolean cautious) -
isClimber
public boolean isClimber() -
setClimber
public void setClimber(boolean climber) -
isSwimmer
public boolean isSwimmer() -
setSwimmer
public void setSwimmer(boolean swimmer) -
isAquatic
public boolean isAquatic() -
setAquatic
public void setAquatic(boolean aquatic) -
isAvian
public boolean isAvian() -
setAvian
public void setAvian(boolean avian) -
isAquaphobic
public boolean isAquaphobic() -
setAquaphobic
public void setAquaphobic(boolean aquaphobic) -
isAvoidsDoorways
public boolean isAvoidsDoorways() -
setAvoidsDoorways
public void setAvoidsDoorways(boolean avoidsDoorways) -
isOpensDoors
public boolean isOpensDoors() -
setOpensDoors
public void setOpensDoors(boolean opensDoors) -
capabilities
public com.extollit.gaming.ai.path.model.IPathingEntity.Capabilities capabilities()- Specified by:
capabilities
in interfacecom.extollit.gaming.ai.path.model.IPathingEntity
-
moveTo
public void moveTo(com.extollit.linalg.immutable.Vec3d position, com.extollit.gaming.ai.path.model.Passibility passibility, com.extollit.gaming.ai.path.model.Gravitation gravitation) - Specified by:
moveTo
in interfacecom.extollit.gaming.ai.path.model.IPathingEntity
-
coordinates
public com.extollit.linalg.immutable.Vec3d coordinates()- Specified by:
coordinates
in interfacecom.extollit.gaming.ai.path.model.IDynamicMovableObject
-
width
public float width()- Specified by:
width
in interfacecom.extollit.gaming.ai.path.model.IDynamicMovableObject
-
height
public float height()- Specified by:
height
in interfacecom.extollit.gaming.ai.path.model.IDynamicMovableObject
-