is Blocked By Entities Return Crystal
fun BlockPos.isBlockedByEntitiesReturnCrystal(except: Entity? = null, box: AABB = FULL_BOX, excludeIds: IntCollection? = null, buildingOnly: Boolean = true): BooleanObjectPair<EndCrystal?>
Checks whether the position is blocked for placing a block and returns a blocking end crystal if present.
Return
[blocked, crystal?]
Parameters
building Only
when true (default) only entities that block building (Entity.blocksBuilding) count, matching vanilla block placement; when false every entity counts, matching vanilla end crystal placement.