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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintage()booleanbound()com.extollit.gaming.ai.path.model.IPathingEntity.Capabilitiescom.extollit.linalg.immutable.Vec3dfloatheight()booleanbooleanbooleanisAvian()booleanbooleanbooleanbooleanbooleanbooleanvoidmoveTo(com.extollit.linalg.immutable.Vec3d position, com.extollit.gaming.ai.path.model.Passibility passibility, com.extollit.gaming.ai.path.model.Gravitation gravitation) floatvoidsetAquaphobic(boolean aquaphobic) voidsetAquatic(boolean aquatic) voidsetAvian(boolean avian) voidsetAvoidsDoorways(boolean avoidsDoorways) voidsetCautious(boolean cautious) voidsetClimber(boolean climber) voidsetFireResistant(boolean fireResistant) voidsetOpensDoors(boolean opensDoors) voidsetSearchRange(float searchRange) Changes the search range of the entityvoidsetSwimmer(boolean swimmer) floatwidth()
-
Constructor Details
-
Method Details
-
age
public int age()- Specified by:
agein interfacecom.extollit.gaming.ai.path.model.IPathingEntity
-
bound
public boolean bound()- Specified by:
boundin interfacecom.extollit.gaming.ai.path.model.IPathingEntity
-
searchRange
public float searchRange()- Specified by:
searchRangein 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:
capabilitiesin 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:
moveToin interfacecom.extollit.gaming.ai.path.model.IPathingEntity
-
coordinates
public com.extollit.linalg.immutable.Vec3d coordinates()- Specified by:
coordinatesin interfacecom.extollit.gaming.ai.path.model.IDynamicMovableObject
-
width
public float width()- Specified by:
widthin interfacecom.extollit.gaming.ai.path.model.IDynamicMovableObject
-
height
public float height()- Specified by:
heightin interfacecom.extollit.gaming.ai.path.model.IDynamicMovableObject
-