Class PFBlock
java.lang.Object
net.minestom.server.entity.pathfinding.PFBlock
- All Implemented Interfaces:
com.extollit.gaming.ai.path.model.IBlockDescription,com.extollit.gaming.ai.path.model.IBlockObject
@Internal
public final class PFBlock
extends Object
implements com.extollit.gaming.ai.path.model.IBlockDescription, com.extollit.gaming.ai.path.model.IBlockObject
-
Method Details
-
get
Gets thePFBlocklinked to the block state id.Cache the result if it is not already.
- Parameters:
block- the block- Returns:
- the
PFBlocklinked toblockStateId
-
bounds
public com.extollit.linalg.immutable.AxisAlignedBBox bounds()- Specified by:
boundsin interfacecom.extollit.gaming.ai.path.model.IBlockObject
-
isFenceLike
public boolean isFenceLike()- Specified by:
isFenceLikein interfacecom.extollit.gaming.ai.path.model.IBlockDescription
-
isClimbable
public boolean isClimbable()- Specified by:
isClimbablein interfacecom.extollit.gaming.ai.path.model.IBlockDescription
-
isDoor
public boolean isDoor()- Specified by:
isDoorin interfacecom.extollit.gaming.ai.path.model.IBlockDescription
-
isIntractable
public boolean isIntractable()- Specified by:
isIntractablein interfacecom.extollit.gaming.ai.path.model.IBlockDescription
-
isImpeding
public boolean isImpeding()- Specified by:
isImpedingin interfacecom.extollit.gaming.ai.path.model.IBlockDescription
-
isFullyBounded
public boolean isFullyBounded()- Specified by:
isFullyBoundedin interfacecom.extollit.gaming.ai.path.model.IBlockDescription
-
isLiquid
public boolean isLiquid()- Specified by:
isLiquidin interfacecom.extollit.gaming.ai.path.model.IBlockDescription
-
isIncinerating
public boolean isIncinerating()- Specified by:
isIncineratingin interfacecom.extollit.gaming.ai.path.model.IBlockDescription
-